#include <cluster.h>
Inheritance diagram for fl::ClusterMethod:

Public Methods | |
| virtual void | run (const std::vector< Vector< float > > &data)=0 |
| Peform clustering on collection of points. | |
| virtual int | classify (const Vector< float > &point)=0 |
| Determine the single best class of given point. | |
| virtual Vector< float > | distribution (const Vector< float > &point)=0 |
| Return a probability distribution over the classes. Row number in the returned Vector corresponds to class number. | |
| virtual int | classCount ()=0 |
| Returns the number of classes. | |
| virtual Vector< float > | representative (int group)=0 |
| Return a representative member of group. "group" has same semantics as return value of classify (); we just can't use the word "class" because it is a keyword in C++. :). | |
| virtual void | read (std::istream &stream) |
| virtual void | write (std::ostream &stream, bool withName=false) |
Public Attributes | |
| bool | stop |
| If set true, signals run () to terminate at the next reasonable spot. run () should clear this flag when it first starts, but only monitor it after that. | |
|
|
Returns the number of classes.
Implemented in fl::KMeans, fl::Kohonen, and fl::Agglomerate. |
|
|
Determine the single best class of given point.
Implemented in fl::KMeans, fl::Kohonen, and fl::Agglomerate. |
|
|
Return a probability distribution over the classes. Row number in the returned Vector corresponds to class number.
Implemented in fl::KMeans, fl::Kohonen, and fl::Agglomerate. |
|
|
Reimplemented in fl::KMeans, fl::Kohonen, and fl::Agglomerate. |
|
|
Return a representative member of group. "group" has same semantics as return value of classify (); we just can't use the word "class" because it is a keyword in C++. :).
Implemented in fl::KMeans, fl::Kohonen, and fl::Agglomerate. |
|
|
Peform clustering on collection of points.
Implemented in fl::KMeans, fl::KMeansParallel, fl::Kohonen, and fl::Agglomerate. |
|
||||||||||||
|
Reimplemented in fl::KMeans, fl::Kohonen, and fl::Agglomerate. |
|
|
If set true, signals run () to terminate at the next reasonable spot. run () should clear this flag when it first starts, but only monitor it after that.
|
1.2.18