| Modifier and Type | Method and Description |
|---|---|
boolean |
getAutoRatio() |
int |
getMaxDiscreteCount() |
int |
getMaxSize() |
double |
getPositiveTargetCategoryRatio() |
double |
getRatio() |
SampleResult |
getResult() |
boolean |
getSampleTestTable() |
SamplingMode |
getSamplingMode() |
java.lang.Integer |
getSeed() |
int |
getSize() |
StratificationMode |
getStratificationMode() |
void |
setAutoRatio(boolean autoRatio) |
void |
setMaxDiscreteCount(int maxDiscreteCount) |
void |
setMaxSize(int maxSize) |
void |
setPositiveTargetCategoryRatio(double ratio) |
void |
setRatio(double ratio) |
void |
setSampleTestTable(boolean sample) |
void |
setSamplingMode(SamplingMode mode) |
void |
setSeed(java.lang.Integer seed) |
void |
setSize(int size) |
void |
setStratificationMode(StratificationMode mode) |
addOut, addOutRole, getAddedOutRoles, getChangedInRole, getChangedName, getChangedOutRole, getExecutionTime, getForceRecalculate, getIn, getName, getOut, getOutTables, getProcessedTable, getValidationError, removeOut, removeOutRole, setForceRecalculate, setInRole, setName, setOutRole, setProcessedTable, unsetInRole, unsetName, unsetOutRolevoid setSamplingMode(SamplingMode mode)
SamplingMode getSamplingMode()
void setSize(int size)
size - used if SamplingMode is set to SamplingMode.MANUALint getSize()
void setMaxDiscreteCount(int maxDiscreteCount)
maxDiscreteCount - maximum number of categories of a categorical attribute that allows
this attribute to be used in automatic sample size calculation.int getMaxDiscreteCount()
void setAutoRatio(boolean autoRatio)
autoRatio - if true validation table's size will be calculated automatically.boolean getAutoRatio()
void setRatio(double ratio)
ratio - If higher then 0 than validation table's size is equal to ratio multiplied by
main table's size. Otherwise validation table isn't sampled. Is used only
if autoRatio is false.double getRatio()
void setSampleTestTable(boolean sample)
boolean getSampleTestTable()
void setMaxSize(int maxSize)
maxSize - maximum posible sample size of the main table.
Ignored when SamplingMode.MANUAL is set.int getMaxSize()
void setStratificationMode(StratificationMode mode)
StratificationMode getStratificationMode()
void setPositiveTargetCategoryRatio(double ratio)
ratio - used if StratificationMode isn't set to StratificationMode.NONEdouble getPositiveTargetCategoryRatio()
void setSeed(java.lang.Integer seed)
java.lang.Integer getSeed()
SampleResult getResult()