YARP
Yet Another Robot Platform
yarp::manager::LinkTrainer Class Reference

#include <yarp/manager/binexparser.h>

Public Member Functions

 LinkTrainer (int max_itr=1000, double train_rate=1.0)
 
virtual ~LinkTrainer ()
 
bool train (const std::vector< std::vector< int > > &truthTable)
 
const std::vector< double > & getAlphas ()
 
const std::vector< double > & getErrors ()
 
double getBias ()
 

Detailed Description

Definition at line 147 of file binexparser.h.

Constructor & Destructor Documentation

◆ LinkTrainer()

yarp::manager::LinkTrainer::LinkTrainer ( int  max_itr = 1000,
double  train_rate = 1.0 
)
inline

Definition at line 150 of file binexparser.h.

◆ ~LinkTrainer()

virtual yarp::manager::LinkTrainer::~LinkTrainer ( )
inlinevirtual

Definition at line 156 of file binexparser.h.

Member Function Documentation

◆ getAlphas()

const std::vector<double>& yarp::manager::LinkTrainer::getAlphas ( )
inline

Definition at line 160 of file binexparser.h.

◆ getBias()

double yarp::manager::LinkTrainer::getBias ( )
inline

Definition at line 162 of file binexparser.h.

◆ getErrors()

const std::vector<double>& yarp::manager::LinkTrainer::getErrors ( )
inline

Definition at line 161 of file binexparser.h.

◆ train()

bool LinkTrainer::train ( const std::vector< std::vector< int > > &  truthTable)

Definition at line 396 of file binexparser.cpp.


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