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