public class RandomMultilabelCrossValidation extends java.lang.Object implements IMultilabelCrossValidation
| Constructor and Description |
|---|
RandomMultilabelCrossValidation() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgenerateSplittingInfo, generateSplittingStringpublic weka.core.Instances getTestSplit(weka.core.Instances data,
int seed,
int fold,
java.lang.String splitInfo)
IMultilabelCrossValidationgetTestSplit in interface IMultilabelCrossValidationdata - 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)public weka.core.Instances getTrainSplit(weka.core.Instances data,
int seed,
int fold,
java.lang.String splitInfo)
IMultilabelCrossValidationgetTrainSplit in interface IMultilabelCrossValidationdata - 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)public java.lang.String getName()
IMultilabelCrossValidationgetName in interface IMultilabelCrossValidationpublic java.lang.String getSplitSeparator()
IMultilabelCrossValidationgetSplitSeparator in interface IMultilabelCrossValidation