Home
last modified time | relevance | path

Searched refs:tparams_node (Results 1 – 2 of 2) sorted by relevance

/external/opencv/ml/src/
Dmlann_mlp.cpp1407 CvFileNode* tparams_node; in read_params() local
1426 tparams_node = cvGetFileNodeByName( fs, node, "training_params" ); in read_params()
1429 if( tparams_node ) in read_params()
1431 const char* tmethod_name = cvReadStringByName( fs, tparams_node, "train_method", "" ); in read_params()
1437 params.bp_dw_scale = cvReadRealByName( fs, tparams_node, "dw_scale", 0 ); in read_params()
1438 params.bp_moment_scale = cvReadRealByName( fs, tparams_node, "moment_scale", 0 ); in read_params()
1443 params.rp_dw0 = cvReadRealByName( fs, tparams_node, "dw0", 0 ); in read_params()
1444 params.rp_dw_plus = cvReadRealByName( fs, tparams_node, "dw_plus", 0 ); in read_params()
1445 params.rp_dw_minus = cvReadRealByName( fs, tparams_node, "dw_minus", 0 ); in read_params()
1446 params.rp_dw_min = cvReadRealByName( fs, tparams_node, "dw_min", 0 ); in read_params()
[all …]
Dmltree.cpp1070 CvFileNode *tparams_node, *vartype_node; in read_params() local
1080 tparams_node = cvGetFileNodeByName( fs, node, "training_params" ); in read_params()
1082 if( tparams_node ) // training parameters are not necessary in read_params()
1084 params.use_surrogates = cvReadIntByName( fs, tparams_node, "use_surrogates", 1 ) != 0; in read_params()
1088 params.max_categories = cvReadIntByName( fs, tparams_node, "max_categories" ); in read_params()
1093 (float)cvReadRealByName( fs, tparams_node, "regression_accuracy" ); in read_params()
1096 params.max_depth = cvReadIntByName( fs, tparams_node, "max_depth" ); in read_params()
1097 params.min_sample_count = cvReadIntByName( fs, tparams_node, "min_sample_count" ); in read_params()
1098 params.cv_folds = cvReadIntByName( fs, tparams_node, "cross_validation_folds" ); in read_params()
1102 params.use_1se_rule = cvReadIntByName( fs, tparams_node, "use_1se_rule" ) != 0; in read_params()
[all …]