public interface IMultilabelCrossValidation
| Modifier and Type | Method and Description |
|---|---|
default java.lang.String |
generateSplittingInfo(double... portions)
Generate a string representation that represents only the split info part of the split string.
|
default java.lang.String |
generateSplittingString(double... portions)
Generate a String that represents a split of a data set into portions from the given portions sizes (must add up to <1).
|
java.lang.String |
getName()
Get the name of the implementing multilabel cross validation technique.
|
java.lang.String |
getSplitSeparator()
Get the separator used to separate single portions of a split in a given splitInfo.
|
weka.core.Instances |
getTestSplit(weka.core.Instances data,
int seed,
int fold,
java.lang.String splitInfo)
Gets a test split from the given data based on the seed.
|
weka.core.Instances |
getTrainSplit(weka.core.Instances data,
int seed,
int fold,
java.lang.String splitInfo)
Gets a train split from the given data based on the seed.
|
weka.core.Instances getTestSplit(weka.core.Instances data,
int seed,
int fold,
java.lang.String splitInfo)
data - The data from which to derive the splitseed - The seed possibly used by the implementation class to derive the splitfold - The number of the fold which is the testing foldsplitInfo - Information about the split for the class executing the split (e.g. portion sizes of folds)weka.core.Instances getTrainSplit(weka.core.Instances data,
int seed,
int fold,
java.lang.String splitInfo)
data - The data from which to derive the splitseed - The seed possibly used by the implementation class to derive the splitfold - The number of the fold which is the testing fold (left out fold)splitInfo - Information about the split for the class executing the split (e.g. portion sized of folds)default java.lang.String generateSplittingString(double... portions)
portions - The portions sizes of the splitdefault java.lang.String generateSplittingInfo(double... portions)
portions - portions sized of the splitjava.lang.String getName()
java.lang.String getSplitSeparator()