[英]WEKA, how to set several decision rules in one node of random tree?
如何在随机树的一个节点中设置几个决策规则?
例如:
简单节点具有:花瓣长度<2.45:鸢尾花(50/0)
我想将其更改为:花瓣长度<2.45,花瓣宽度<1.75,...:鸢尾花(50/0)...
我在随机树文件中找到了一些代码:
此函数打印树:
protected String toString(int level) {
...
// this contain the name attribute for simple node
m_Info.attribute(m_Attribute).name();
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.