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

Method Summary
 MultiLabelInstances[] stratify(MultiLabelInstances data, int folds)
          Creates a number of folds via stratified sampling
 

Method Detail

stratify

MultiLabelInstances[] stratify(MultiLabelInstances data,
                               int folds)
Creates a number of folds via stratified sampling

Parameters:
data - a multi-label dataset
folds - the number of folds to sample
Returns:
an array of multi-label datasets, one for each fold