iCub-main
Loading...
Searching...
No Matches
Public Member Functions | List of all members
iCub::learningmachine::test::Dataset Class Reference

Public Member Functions

 Dataset ()
 
void addInputColumn (int col)
 
void addOutputColumn (int col)
 
std::vector< int > getInputColumns ()
 
std::vector< int > getOutputColumns ()
 
std::string getFilename ()
 
void setFilename (std::string filename)
 
void open ()
 
void open (std::string filename)
 
bool hasNextSample ()
 
void reset ()
 
std::pair< Vector, Vector > getNextSample ()
 

Detailed Description

Definition at line 110 of file test.cpp.

Constructor & Destructor Documentation

◆ Dataset()

iCub::learningmachine::test::Dataset::Dataset ( )
inline

Definition at line 120 of file test.cpp.

Member Function Documentation

◆ addInputColumn()

void iCub::learningmachine::test::Dataset::addInputColumn ( int  col)
inline

Definition at line 129 of file test.cpp.

◆ addOutputColumn()

void iCub::learningmachine::test::Dataset::addOutputColumn ( int  col)
inline

Definition at line 133 of file test.cpp.

◆ getFilename()

std::string iCub::learningmachine::test::Dataset::getFilename ( )
inline

Definition at line 146 of file test.cpp.

◆ getInputColumns()

std::vector< int > iCub::learningmachine::test::Dataset::getInputColumns ( )
inline

Definition at line 137 of file test.cpp.

◆ getNextSample()

std::pair< Vector, Vector > iCub::learningmachine::test::Dataset::getNextSample ( )
inline

Definition at line 189 of file test.cpp.

◆ getOutputColumns()

std::vector< int > iCub::learningmachine::test::Dataset::getOutputColumns ( )
inline

Definition at line 141 of file test.cpp.

◆ hasNextSample()

bool iCub::learningmachine::test::Dataset::hasNextSample ( )
inline

Definition at line 178 of file test.cpp.

◆ open() [1/2]

void iCub::learningmachine::test::Dataset::open ( )
inline

Definition at line 156 of file test.cpp.

◆ open() [2/2]

void iCub::learningmachine::test::Dataset::open ( std::string  filename)
inline

Definition at line 161 of file test.cpp.

◆ reset()

void iCub::learningmachine::test::Dataset::reset ( )
inline

Definition at line 182 of file test.cpp.

◆ setFilename()

void iCub::learningmachine::test::Dataset::setFilename ( std::string  filename)
inline

Definition at line 151 of file test.cpp.


The documentation for this class was generated from the following file: