mulan.data
Interface Stratification
- All Known Implementing Classes:
- IterativeStratification, LabelPowersetStratification
public interface Stratification
Interface for multi-label stratification methods
- Version:
- 2012.05.08
- Author:
- Grigorios Tsoumakas
stratify
MultiLabelInstances[] stratify(MultiLabelInstances data,
int folds)
- Creates a number of folds via stratified sampling
- Parameters:
data
- a multi-label datasetfolds
- the number of folds to sample
- Returns:
- an array of multi-label datasets, one for each fold