iCub-main
Classes | Typedefs | Functions
iCub::learningmachine::test Namespace Reference

Classes

class  Dataset
 
class  MachineLearnerTestModule
 The MachineLearnerTestModule is used to feed datasets loaded from a file to the learning machines and transformers. More...
 

Typedefs

typedef PortablePair< Vector, Vector > Prediction
 

Functions

std::string doubletostring (double d)
 
std::string inttostring (int i)
 
std::string printVector (const std::vector< int > &v)
 
std::string printVector (const Vector &v)
 
std::string printPrediction (Prediction &p)
 

Typedef Documentation

◆ Prediction

typedef PortablePair<Vector,Vector> iCub::learningmachine::test::Prediction

Definition at line 52 of file test.cpp.

Function Documentation

◆ doubletostring()

std::string iCub::learningmachine::test::doubletostring ( double  d)

Definition at line 55 of file test.cpp.

◆ inttostring()

std::string iCub::learningmachine::test::inttostring ( int  i)

Definition at line 61 of file test.cpp.

◆ printPrediction()

std::string iCub::learningmachine::test::printPrediction ( Prediction p)

Definition at line 89 of file test.cpp.

◆ printVector() [1/2]

std::string iCub::learningmachine::test::printVector ( const std::vector< int > &  v)

Definition at line 67 of file test.cpp.

◆ printVector() [2/2]

std::string iCub::learningmachine::test::printVector ( const Vector &  v)

Definition at line 78 of file test.cpp.