|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmulan.data.LabelPowersetStratification
public class LabelPowersetStratification
Class for stratifying data based on label combinations
| Constructor Summary | |
|---|---|
LabelPowersetStratification()
Default constructor |
|
LabelPowersetStratification(int aSeed)
Constructor setting the 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 LabelPowersetStratification()
public LabelPowersetStratification(int aSeed)
aSeed - | Method Detail |
|---|
public TechnicalInformation getTechnicalInformation()
getTechnicalInformation in interface TechnicalInformationHandler
public MultiLabelInstances[] stratify(MultiLabelInstances data,
int folds)
Stratification
stratify in interface Stratificationdata - 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 | ||||||||