如何在随机树的一个节点中设置多个决策规则?
例如:
简单节点有: petallength< 2.45:Iris-setosa(50/0)
我想改变这个: petallength< 2.45,petalwidth< 1.75,......:Iris-setosa(50/0) ...
我在文件随机树中找到了一些代码:
此功能打印树:
protected String toString(int level) {
...
// this contain the name attribute for simple node
m_Info.attribute(m_Attribute).name();
}