@Deprecated public abstract class Node extends Object implements org.apache.hadoop.io.Writable
| Modifier and Type | Class and Description |
|---|---|
protected static class |
Node.Type
Deprecated.
|
| Constructor and Description |
|---|
Node()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
abstract double |
classify(Instance instance)
Deprecated.
predicts the label for the instance
|
protected abstract String |
getString()
Deprecated.
|
protected abstract Node.Type |
getType()
Deprecated.
|
abstract long |
maxDepth()
Deprecated.
|
abstract long |
nbNodes()
Deprecated.
|
static Node |
read(DataInput in)
Deprecated.
|
String |
toString()
Deprecated.
|
void |
write(DataOutput out)
Deprecated.
|
protected abstract void |
writeNode(DataOutput out)
Deprecated.
|
public abstract double classify(Instance instance)
public abstract long nbNodes()
public abstract long maxDepth()
protected abstract Node.Type getType()
public static Node read(DataInput in) throws IOException
IOExceptionprotected abstract String getString()
public final void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionprotected abstract void writeNode(DataOutput out) throws IOException
IOExceptionCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.