MultiLabelClassifier¶
Multi-label classifier.
Methods¶
learn_one
Update the model with a set of features x and the labels y.
Parameters
- x —
dict[FeatureName, typing.Any] - y —
dict[FeatureName, bool]
predict_one
Predict the labels of a set of features x.
Parameters
- x —
dict[FeatureName, typing.Any] - kwargs —
typing.Any
Returns
dict[FeatureName, bool]: The predicted labels.
predict_proba_one
Predict the probability of each label appearing given dictionary of features x.
Parameters
- x —
dict[FeatureName, typing.Any] - kwargs —
typing.Any
Returns
dict[FeatureName, dict[bool, float]]: A dictionary that associates a probability which each label.