BoB robotics
The Brains on Board robotics library
BoBRobotics::Navigation::InfoMax< FloatType > Class Template Reference

Public Member Functions

 InfoMax (const cv::Size &unwrapRes, const MatrixType &initialWeights, FloatType learningRate=0.0001)
 
 InfoMax (const cv::Size &unwrapRes, FloatType learningRate=0.0001)
 
void train (const cv::Mat &image, const ImgProc::Mask &=ImgProc::Mask{})
 
float test (const cv::Mat &image, const ImgProc::Mask &=ImgProc::Mask{}) const
 
void clearMemory ()
 Generates new random weights.
 
const MatrixType & getWeights () const
 
const cv::Size & getUnwrapResolution () const
 Get the resolution of images.
 

Static Public Member Functions

static MatrixType generateInitialWeights (const int numInputs, const int numHidden, const unsigned seed=std::random_device()())
 

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