public class TrainData
extends java.lang.Object
public int getCatCount(int vi)
public Mat getCatMap()
public Mat getCatOfs()
public Mat getClassLabels()
public Mat getDefaultSubstValues()
public int getLayout()
public Mat getMissing()
public int getNAllVars()
public Mat getNormCatResponses()
public int getNSamples()
public int getNTestSamples()
public int getNTrainSamples()
public int getNVars()
public Mat getResponses()
public int getResponseType()
public void getSample(Mat varIdx, int sidx, float buf)
public Mat getSamples()
public Mat getSampleWeights()
public Mat getTestNormCatResponses()
public Mat getTestResponses()
public Mat getTestSampleIdx()
public Mat getTestSampleWeights()
public Mat getTrainNormCatResponses()
public Mat getTrainResponses()
public Mat getTrainSampleIdx()
public Mat getTrainSamples()
public Mat getTrainSamples(int layout, boolean compressSamples, boolean compressVars)
public Mat getTrainSampleWeights()
public void getValues(int vi, Mat sidx, float values)
public Mat getVarIdx()
public Mat getVarType()
public void setTrainTestSplit(int count)
public void setTrainTestSplit(int count, boolean shuffle)
public void setTrainTestSplitRatio(double ratio)
public void setTrainTestSplitRatio(double ratio, boolean shuffle)
public void shuffleTrainTest()