Lines Matching refs:CvMat
104 CvANN_MLP::CvANN_MLP( const CvMat* _layer_sizes,
210 void CvANN_MLP::create( const CvMat* _layer_sizes, int _activ_func,
266 float CvANN_MLP::predict( const CvMat* _inputs, CvMat* _outputs ) const
309 CvMat hdr[2], _w, *layer_in = &hdr[0], *layer_out = &hdr[1], *temp;
341 void CvANN_MLP::scale_input( const CvMat* _src, CvMat* _dst ) const
369 void CvANN_MLP::scale_output( const CvMat* _src, CvMat* _dst ) const
397 void CvANN_MLP::calc_activ_func( CvMat* sums, const double* bias ) const
476 void CvANN_MLP::calc_activ_func_deriv( CvMat* _xf, CvMat* _df,
686 bool CvANN_MLP::prepare_to_train( const CvMat* _inputs, const CvMat* _outputs,
687 const CvMat* _sample_weights, const CvMat* _sample_idx,
691 CvMat* sample_idx = 0;
816 int CvANN_MLP::train( const CvMat* _inputs, const CvMat* _outputs,
817 const CvMat* _sample_weights, const CvMat* _sample_idx,
878 CvMat* dw = 0;
879 CvMat* buf = 0;
881 CvMat* _idx = 0;
936 CvMat _w, _dw, hdr1, hdr2, ghdr1, ghdr2, _df;
937 CvMat *x1 = &hdr1, *x2 = &hdr2, *grad1 = &ghdr1, *grad2 = &ghdr2, *temp;
1052 CvMat* dw = 0;
1053 CvMat* dEdw = 0;
1054 CvMat* prev_dEdw_sign = 0;
1055 CvMat* buf = 0;
1131 CvMat _w, _dEdw, hdr1, hdr2, ghdr1, ghdr2, _df;
1132 CvMat *x1, *x2, *grad1, *grad2, *temp;
1466 CvMat* _layer_sizes = 0;
1476 _layer_sizes = (CvMat*)cvReadByName( fs, node, "layer_sizes" );