#include <ml.hpp>
|
| CvANN_MLP () |
|
| CvANN_MLP (const CvMat *layerSizes, int activateFunc=CvANN_MLP::SIGMOID_SYM, double fparam1=0, double fparam2=0) |
|
virtual | ~CvANN_MLP () |
|
virtual void | create (const CvMat *layerSizes, int activateFunc=CvANN_MLP::SIGMOID_SYM, double fparam1=0, double fparam2=0) |
|
virtual int | train (const CvMat *inputs, const CvMat *outputs, const CvMat *sampleWeights, const CvMat *sampleIdx=0, CvANN_MLP_TrainParams params=CvANN_MLP_TrainParams(), int flags=0) |
|
virtual float | predict (const CvMat *inputs, CV_OUT CvMat *outputs) const |
|
| CvANN_MLP (const cv::Mat &layerSizes, int activateFunc=CvANN_MLP::SIGMOID_SYM, double fparam1=0, double fparam2=0) |
|
virtual void | create (const cv::Mat &layerSizes, int activateFunc=CvANN_MLP::SIGMOID_SYM, double fparam1=0, double fparam2=0) |
|
virtual int | train (const cv::Mat &inputs, const cv::Mat &outputs, const cv::Mat &sampleWeights, const cv::Mat &sampleIdx=cv::Mat(), CvANN_MLP_TrainParams params=CvANN_MLP_TrainParams(), int flags=0) |
|
virtual float | predict (const cv::Mat &inputs, CV_OUT cv::Mat &outputs) const |
|
virtual void | clear () |
|
virtual void | read (CvFileStorage *fs, CvFileNode *node) |
|
virtual void | write (CvFileStorage *storage, const char *name) const |
|
int | get_layer_count () |
|
const CvMat * | get_layer_sizes () |
|
double * | get_weights (int layer) |
|
virtual void | calc_activ_func_deriv (CvMat *xf, CvMat *deriv, const double *bias) const |
|
| CvStatModel () |
|
virtual | ~CvStatModel () |
|
virtual void | save (const char *filename, const char *name=0) const |
|
virtual void | load (const char *filename, const char *name=0) |
|
|
virtual bool | prepare_to_train (const CvMat *_inputs, const CvMat *_outputs, const CvMat *_sample_weights, const CvMat *sampleIdx, CvVectors *_ivecs, CvVectors *_ovecs, double **_sw, int _flags) |
|
virtual int | train_backprop (CvVectors _ivecs, CvVectors _ovecs, const double *_sw) |
|
virtual int | train_rprop (CvVectors _ivecs, CvVectors _ovecs, const double *_sw) |
|
virtual void | calc_activ_func (CvMat *xf, const double *bias) const |
|
virtual void | set_activ_func (int _activ_func=SIGMOID_SYM, double _f_param1=0, double _f_param2=0) |
|
virtual void | init_weights () |
|
virtual void | scale_input (const CvMat *_src, CvMat *_dst) const |
|
virtual void | scale_output (const CvMat *_src, CvMat *_dst) const |
|
virtual void | calc_input_scale (const CvVectors *vecs, int flags) |
|
virtual void | calc_output_scale (const CvVectors *vecs, int flags) |
|
virtual void | write_params (CvFileStorage *fs) const |
|
virtual void | read_params (CvFileStorage *fs, CvFileNode *node) |
|
Enumerator |
---|
IDENTITY |
|
SIGMOID_SYM |
|
GAUSSIAN |
|
Enumerator |
---|
UPDATE_WEIGHTS |
|
NO_INPUT_SCALE |
|
NO_OUTPUT_SCALE |
|
virtual CvANN_MLP::~CvANN_MLP |
( |
| ) |
|
|
virtual |
virtual void CvANN_MLP::calc_activ_func |
( |
CvMat * |
xf, |
|
|
const double * |
bias |
|
) |
| const |
|
protectedvirtual |
virtual void CvANN_MLP::calc_activ_func_deriv |
( |
CvMat * |
xf, |
|
|
CvMat * |
deriv, |
|
|
const double * |
bias |
|
) |
| const |
|
virtual |
virtual void CvANN_MLP::clear |
( |
| ) |
|
|
virtual |
int CvANN_MLP::get_layer_count |
( |
| ) |
|
|
inline |
const CvMat* CvANN_MLP::get_layer_sizes |
( |
| ) |
|
|
inline |
double* CvANN_MLP::get_weights |
( |
int |
layer | ) |
|
|
inline |
virtual void CvANN_MLP::init_weights |
( |
| ) |
|
|
protectedvirtual |
virtual float CvANN_MLP::predict |
( |
const CvMat * |
inputs, |
|
|
CV_OUT CvMat * |
outputs |
|
) |
| const |
|
virtual |
virtual bool CvANN_MLP::prepare_to_train |
( |
const CvMat * |
_inputs, |
|
|
const CvMat * |
_outputs, |
|
|
const CvMat * |
_sample_weights, |
|
|
const CvMat * |
sampleIdx, |
|
|
CvVectors * |
_ivecs, |
|
|
CvVectors * |
_ovecs, |
|
|
double ** |
_sw, |
|
|
int |
_flags |
|
) |
| |
|
protectedvirtual |
virtual void CvANN_MLP::scale_input |
( |
const CvMat * |
_src, |
|
|
CvMat * |
_dst |
|
) |
| const |
|
protectedvirtual |
virtual void CvANN_MLP::scale_output |
( |
const CvMat * |
_src, |
|
|
CvMat * |
_dst |
|
) |
| const |
|
protectedvirtual |
virtual void CvANN_MLP::set_activ_func |
( |
int |
_activ_func = SIGMOID_SYM , |
|
|
double |
_f_param1 = 0 , |
|
|
double |
_f_param2 = 0 |
|
) |
| |
|
protectedvirtual |
int CvANN_MLP::activ_func |
|
protected |
double CvANN_MLP::f_param1 |
|
protected |
double CvANN_MLP::f_param2 |
|
protected |
CvMat* CvANN_MLP::layer_sizes |
|
protected |
int CvANN_MLP::max_buf_sz |
|
protected |
double CvANN_MLP::max_val |
|
protected |
double CvANN_MLP::max_val1 |
|
protected |
double CvANN_MLP::min_val |
|
protected |
double CvANN_MLP::min_val1 |
|
protected |
CvMat* CvANN_MLP::sample_weights |
|
protected |
double** CvANN_MLP::weights |
|
protected |
The documentation for this class was generated from the following file: