netkit.classifiers
Class DataSplit
java.lang.Object
netkit.classifiers.DataSplit
public class DataSplit
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DataSplit
public DataSplit(DataView view,
Node[] test,
Node[] train)
applyLabels
public int applyLabels(int depth)
getView
public DataView getView()
getClassDistribution
public double[] getClassDistribution()
getPrior
public double[] getPrior()
hasTruth
public boolean hasTruth()
getTrainSet
public Node[] getTrainSet()
getTestSet
public Node[] getTestSet()
getUnknownSet
public Node[] getUnknownSet()
getTrainSetSize
public int getTrainSetSize()
getTestSetSize
public int getTestSetSize()
getUnknownSetSize
public int getUnknownSetSize()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object