Skip to content

Clusterer

A clustering model.

Methods

learn_one

Update the model with a set of features x.

Parameters

  • x (dict)

Returns

Clusterer: self

predict_one

Predicts the cluster number for a set of features x.

Parameters

  • x (dict)

Returns

int: A cluster number.