Skip to content

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[FeatureName, bool]'

predict_one

Predict the labels of a set of features x.

Parameters

  • x'dict'
  • kwargs

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'
  • kwargs

Returns

dict[FeatureName, dict[bool, float]]: A dictionary that associates a probability which each label.