@Deprecated public class CategoricalNode extends Node
| Constructor and Description |
|---|
CategoricalNode()
Deprecated.
|
CategoricalNode(int attr,
double[] values,
Node[] childs)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
double |
classify(Instance instance)
Deprecated.
predicts the label for the instance
|
boolean |
equals(Object obj)
Deprecated.
|
protected String |
getString()
Deprecated.
|
protected Node.Type |
getType()
Deprecated.
|
int |
hashCode()
Deprecated.
|
long |
maxDepth()
Deprecated.
|
long |
nbNodes()
Deprecated.
|
void |
readFields(DataInput in)
Deprecated.
|
protected void |
writeNode(DataOutput out)
Deprecated.
|
public CategoricalNode()
public CategoricalNode(int attr,
double[] values,
Node[] childs)
public double classify(Instance instance)
Nodepublic long maxDepth()
public long nbNodes()
public void readFields(DataInput in) throws IOException
IOExceptionprotected void writeNode(DataOutput out) throws IOException
writeNode in class NodeIOExceptionCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.