|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MultiLabelClassifier
Common interface for multi-label classifiers.
Method Summary | |
---|---|
void |
buildClassifier(weka.core.Instances instances)
Builds the classifier. |
int |
getNumLabels()
Returns a number of labels the classifier is configured for. |
Prediction |
predict(weka.core.Instance instance)
Computes the prediction of labels for a specified input Instance . |
Method Detail |
---|
int getNumLabels()
Instances
training data.
Prediction predict(weka.core.Instance instance) throws java.lang.Exception
Instance
.
instance
- the input instance for which the prediction is made
java.lang.Exception
- if prediction was not successfulvoid buildClassifier(weka.core.Instances instances) throws java.lang.Exception
instances
- set of training data, upon which the classifier should be build
java.lang.Exception
- if classifier was not created successfully
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |