Search in sources :

Example 1 with TreeBitColumnMetaData

use of org.knime.base.node.mine.treeensemble.data.TreeBitColumnMetaData in project knime-core by knime.

the class BitSplitCandidate method getChildConditions.

/**
 * {@inheritDoc}
 */
@Override
public TreeNodeCondition[] getChildConditions() {
    TreeBitColumnMetaData metaData = getColumnData().getMetaData();
    TreeNodeCondition[] result = new TreeNodeCondition[2];
    result[0] = new TreeNodeBitCondition(metaData, true);
    result[1] = new TreeNodeBitCondition(metaData, false);
    return result;
}
Also used : TreeBitColumnMetaData(org.knime.base.node.mine.treeensemble.data.TreeBitColumnMetaData) TreeNodeCondition(org.knime.base.node.mine.treeensemble.model.TreeNodeCondition) TreeNodeBitCondition(org.knime.base.node.mine.treeensemble.model.TreeNodeBitCondition)

Aggregations

TreeBitColumnMetaData (org.knime.base.node.mine.treeensemble.data.TreeBitColumnMetaData)1 TreeNodeBitCondition (org.knime.base.node.mine.treeensemble.model.TreeNodeBitCondition)1 TreeNodeCondition (org.knime.base.node.mine.treeensemble.model.TreeNodeCondition)1