All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
static TrainData |
__fromPtr__(long addr) |
static TrainData |
create(Mat samples,
int layout,
Mat responses) |
static TrainData |
create(Mat samples,
int layout,
Mat responses,
Mat varIdx,
Mat sampleIdx,
Mat sampleWeights,
Mat varType) |
protected void |
finalize() |
int |
getCatCount(int vi) |
Mat |
getCatMap() |
Mat |
getCatOfs() |
Mat |
getClassLabels() |
Mat |
getDefaultSubstValues() |
int |
getLayout() |
Mat |
getMissing() |
int |
getNAllVars() |
void |
getNames(java.util.List<java.lang.String> names) |
long |
getNativeObjAddr() |
Mat |
getNormCatResponses() |
int |
getNSamples() |
int |
getNTestSamples() |
int |
getNTrainSamples() |
int |
getNVars() |
Mat |
getResponses() |
int |
getResponseType() |
void |
getSample(Mat varIdx,
int sidx,
float buf) |
Mat |
getSamples() |
Mat |
getSampleWeights() |
static Mat |
getSubVector(Mat vec,
Mat idx) |
Mat |
getTestNormCatResponses() |
Mat |
getTestResponses() |
Mat |
getTestSampleIdx() |
Mat |
getTestSamples() |
Mat |
getTestSampleWeights() |
Mat |
getTrainNormCatResponses() |
Mat |
getTrainResponses() |
Mat |
getTrainSampleIdx() |
Mat |
getTrainSamples() |
Mat |
getTrainSamples(int layout,
boolean compressSamples,
boolean compressVars) |
Mat |
getTrainSampleWeights() |
void |
getValues(int vi,
Mat sidx,
float values) |
Mat |
getVarIdx() |
Mat |
getVarSymbolFlags() |
Mat |
getVarType() |
void |
setTrainTestSplit(int count) |
void |
setTrainTestSplit(int count,
boolean shuffle) |
void |
setTrainTestSplitRatio(double ratio) |
void |
setTrainTestSplitRatio(double ratio,
boolean shuffle) |
void |
shuffleTrainTest() |