h2o-genmodel中SharedTreeNode的详细参数说明在哪里?

问题描述 投票:0回答:1

我正在使用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;
}

这是我的代码。

enter image description here

h2o
1个回答
1
投票

inclusiveNa和inclusiveLevels用于计算树形可视化。从父节点到子节点的弧显示NA值行进的位置以及分类分割行程的不同级别。

© www.soinside.com 2019 - 2024. All rights reserved.