| Constructor and Description |
|---|
SubSampling(int... subSetSizes)
Sampling will produce subsets of specified sizes (in percents)
|
SubSampling(int subSetCount)
Sampling will produce a specified number of subsets of equal sizes
Handy for K Fold subsampling
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAllowRepetition()
Get flag which indicates if sample repetition is allowed in subsets
|
List<DataSet> |
sample(DataSet dataSet) |
void |
setAllowRepetition(boolean allowRepetition)
Set flag to allow repetition of samples in subsets
|
public SubSampling(int subSetCount)
subSetCount - number of subsets to producepublic SubSampling(int... subSetSizes)
subSetSizes - size of subsets in percentspublic boolean getAllowRepetition()
public void setAllowRepetition(boolean allowRepetition)
allowRepetition - Copyright © 2017 Neuroph Project. All rights reserved.