Lines Matching refs:tparams_node
1070 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()
1104 cvReadIntByName( fs, tparams_node, "truncate_pruned_tree" ) != 0; in read_params()
1107 priors = (CvMat*)cvReadByName( fs, tparams_node, "priors" ); in read_params()