public class NumericalNode extends Node
Constructor and Description |
---|
NumericalNode() |
NumericalNode(int attr,
double split,
Node loChild,
Node hiChild) |
Modifier and Type | Method and Description |
---|---|
double |
classify(Instance instance)
predicts the label for the instance
|
boolean |
equals(Object obj) |
protected String |
getString() |
protected Node.Type |
getType() |
int |
hashCode() |
long |
maxDepth() |
long |
nbNodes() |
void |
readFields(DataInput in) |
protected void |
writeNode(DataOutput out) |
public double classify(Instance instance)
Node
public long maxDepth()
public long nbNodes()
public void readFields(DataInput in) throws IOException
IOException
protected void writeNode(DataOutput out) throws IOException
writeNode
in class Node
IOException
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.