#include <knn.h>
Collaboration diagram for mimas::knn:

Public Types | |
| typedef std::string | string |
| typedef std::ifstream | ifstream |
Public Member Functions | |
| void | loadTrainingSet (string fn) |
| knn () | |
| ~knn () | |
Public Attributes | |
| int | numNeighbours |
Protected Attributes | |
| std::list< double > | dataVector |
| std::list< std::list< double > > | trainingInputSet |
| std::list< std::list< double > > | trainingOutputSet |
| int | inputVectorLength |
| int | outputVectorLength |
Definition at line 18 of file knn.h.
| typedef std::string mimas::knn::string |
| typedef std::ifstream mimas::knn::ifstream |
| mimas::knn::knn | ( | ) | [inline] |
std::list<double> mimas::knn::dataVector [protected] |
std::list< std::list<double> > mimas::knn::trainingInputSet [protected] |
std::list< std::list<double> > mimas::knn::trainingOutputSet [protected] |
int mimas::knn::inputVectorLength [protected] |
int mimas::knn::outputVectorLength [protected] |