【发布时间】:2018-09-13 22:43:59
【问题描述】:
我正在使用 h2o-genmodel 来解析 Mojo 模型。
但是我对生成的 shareTreeNode CLASS 中的一些参数有些困惑。我查询了API文档(http://docs.h2o.ai/h2o/latest-stable/h2o-genmodel/javadoc/index.html)和源码,没有任何参数的文字说明。
我真的需要所有参数的解释,因为我需要将其更改为我在我的项目中定义的参数作为另一种格式。
这里是SharedTreeNode中的参数,像colName这样的一些参数我自己可以理解。但是inclusiveNa之类的参数我真的不知道。
public class SharedTreeNode {
final SharedTreeNode parent;
final int subgraphNumber;
int nodeNumber;
float weight;
final int depth;
int colId;
String colName;
boolean leftward;
boolean naVsRest;
float splitValue = 0.0F / 0.0;
String[] domainValues;
GenmodelBitSet bs;
float predValue = 0.0F / 0.0;
float squaredError = 0.0F / 0.0;
SharedTreeNode leftChild;
public SharedTreeNode rightChild;
private boolean inclusiveNa;
private BitSet inclusiveLevels;
}
这是我的代码。
【问题讨论】:
标签: h2o