#include <nn_assoc.h>
Inheritance diagram for mimas::nn_assoc:
Public Types | |
typedef boost::numeric::ublas::matrix< double > | Matrix |
typedef boost::numeric::ublas::vector< double > | Vector |
Public Member Functions | |
nn_assoc (void) | |
constructor | |
void | train (Matrix &input_data, Matrix &target_data) |
train data using input_data/target_data pairs. It is recommended that the values in the matrix are binarised. | |
Vector | recall (Vector &x) |
given input_data return the predicted output | |
void | useWeights (Matrix &weight_matrix) |
use the weights given by weight_matrix; | |
Matrix | getWeights (void) |
return the weights that are stored |
Definition at line 17 of file nn_assoc.h.
typedef boost::numeric::ublas::matrix< double > mimas::nn_assoc::Matrix |
Definition at line 20 of file nn_assoc.h.
typedef boost::numeric::ublas::vector< double > mimas::nn_assoc::Vector |
Definition at line 21 of file nn_assoc.h.
mimas::nn_assoc::nn_assoc | ( | void | ) |
train data using input_data/target_data pairs. It is recommended that the values in the matrix are binarised.
Definition at line 41 of file nn_assoc.h.
References MMERROR.
nn_assoc::Vector mimas::nn_assoc::recall | ( | Vector & | x | ) |
given input_data return the predicted output
Definition at line 59 of file nn_assoc.h.
References MMERROR.
void mimas::nn_assoc::useWeights | ( | Matrix & | weight_matrix | ) |
nn_assoc::Matrix mimas::nn_assoc::getWeights | ( | void | ) |