|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mulan.data.IterativeStratification
public class IterativeStratification
Class for stratifying data based on the iterative stratification method
Constructor Summary | |
---|---|
IterativeStratification()
Default constructor |
|
IterativeStratification(long seed)
Constructor setting a specific random seed |
Method Summary | |
---|---|
TechnicalInformation |
getTechnicalInformation()
Returns an instance of a TechnicalInformation object, containing detailed information about the technical background of this class, e.g., paper reference or book this class is based on. |
MultiLabelInstances[] |
stratify(MultiLabelInstances data,
int folds)
Creates a number of folds via stratified sampling |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IterativeStratification()
public IterativeStratification(long seed)
seed
- Method Detail |
---|
public TechnicalInformation getTechnicalInformation()
getTechnicalInformation
in interface TechnicalInformationHandler
public MultiLabelInstances[] stratify(MultiLabelInstances data, int folds)
Stratification
stratify
in interface Stratification
data
- a multi-label datasetfolds
- the number of folds to sample
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |