Lines Matching refs:svm_node
2115 void CvSVM::read_params( CvFileStorage* fs, CvFileNode* svm_node ) in read_params() argument
2124 CvFileNode* tmp_node = cvGetFileNodeByName( fs, svm_node, "svm_type" ); in read_params()
2145 kernel_node = cvGetFileNodeByName( fs, svm_node, "kernel" ); in read_params()
2174 _params.C = cvReadRealByName( fs, svm_node, "C", 0 ); in read_params()
2175 _params.nu = cvReadRealByName( fs, svm_node, "nu", 0 ); in read_params()
2176 _params.p = cvReadRealByName( fs, svm_node, "p", 0 ); in read_params()
2179 tmp_node = cvGetFileNodeByName( fs, svm_node, "term_criteria" ); in read_params()
2196 void CvSVM::read( CvFileStorage* fs, CvFileNode* svm_node ) in read() argument
2210 if( !svm_node ) in read()
2216 read_params( fs, svm_node ); in read()
2219 sv_total = cvReadIntByName( fs, svm_node, "sv_total", -1 ); in read()
2220 var_all = cvReadIntByName( fs, svm_node, "var_all", -1 ); in read()
2221 var_count = cvReadIntByName( fs, svm_node, "var_count", var_all ); in read()
2222 class_count = cvReadIntByName( fs, svm_node, "class_count", 0 ); in read()
2227 CV_CALL( class_labels = (CvMat*)cvReadByName( fs, svm_node, "class_labels" )); in read()
2228 CV_CALL( class_weights = (CvMat*)cvReadByName( fs, svm_node, "class_weights" )); in read()
2229 CV_CALL( var_idx = (CvMat*)cvReadByName( fs, svm_node, "comp_idx" )); in read()
2239 sv_node = cvGetFileNodeByName( fs, svm_node, "support_vectors" ); in read()
2266 df_node = cvGetFileNodeByName( fs, svm_node, "decision_functions" ); in read()