Public Methods
- explicit RBF (float (*_dist)(const float *, const float*, int) = euclidian) : KMeans(_dist)
- void train (int codeSize, const vector<float *> &data, int len, bool binary=false)
- void calcDist (const float *v, float *dist_return) const
- void printOn (ostream &out=cout) const
- void readFrom (istream &in=cin)
- friend istream & operator >> (istream &in, RBF &mdl)
Public Static Methods
- static float mahalanobis (const float *x, const float *c, const float *y, int len)
Protected Members
- vector<vector<float> > covar
Detailed Description
float mahalanobis (const float *x, const float *c, const float *y, int len)
|
[static]
vector<vector<float> > covar
|
[protected]
explicit RBF (float (*_dist)(const float *, const float*, int) = euclidian) : KMeans(_dist)
|
void train (int codeSize, const vector<float *> &data, int len, bool binary=false)
|
Reimplemented from KMeans.
void calcDist (const float *v, float *dist_return)
|
[const]
Reimplemented from KMeans.
void printOn (ostream &out=cout)
|
[const]
Reimplemented from KMeans.
void readFrom (istream &in=cin)
|
Reimplemented from KMeans.
friend istream & operator >> (istream &in, RBF &mdl)
|
Reimplemented from KMeans.
Generated by: jmvalin@usw-pr-shell2 on Mon Jun 24 00:06:43 2002, using kdoc 2.0a40. |