Class ClustererOnlineMixin
Defined in File utils.h
Inheritance Relationships
Base Type
public cpphots::interfaces::Clusterer(Class Clusterer)
Derived Type
public cpphots::CosineClusterer(Class CosineClusterer)
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
-
virtual bool isOnline() const final