Class ClustererOnlineMixin

Inheritance Relationships

Base Type

Derived Type

Class Documentation

class cpphots::ClustererOnlineMixin : public virtual cpphots::interfaces::Clusterer

Mixin for online clusterers.

Subclassed by cpphots::CosineClusterer

Public Functions

virtual bool isOnline() const final

Check if clusterer can perform online cluster updates or not.

Returns

true if it can

Returns

false otherwise

virtual void train(const std::vector<TimeSurfaceType> &tss) override

Fit a set of time surfaces.

Udpate the centroids by clustering the set of time surfaces.

Enable learning, call cluster on every element and disable learning.

Parameters

tss – set of time surfaces