Open gargisri68 opened 5 years ago
Undefined function or variable 'treeprune'.
Error in treefitw>removebadsplits (line 560) Tree = treeprune(Tree,'nodes',find(doprune));
Error in treefitw (line 368) Tree = removebadsplits(Tree);
Error in train_boosted_dt_2c (line 48) dt = treefitw(features, y, w, 1/num_data/2, 'catidx', cat_features, 'method', 'classification', 'maxnodes', nodespertree*4);
Error in trainSameLabelClassifier (line 102) same_label_classifier = train_boosted_dt_2c(trn_edata, [], trn_elab, 200, 20);
Error in trainAll (line 6) trainSameLabelClassifier;
I'hv had this problem,you have to download the matlab2012a.
Undefined function or variable 'treeprune'.
Error in treefitw>removebadsplits (line 560) Tree = treeprune(Tree,'nodes',find(doprune));
Error in treefitw (line 368) Tree = removebadsplits(Tree);
Error in train_boosted_dt_2c (line 48) dt = treefitw(features, y, w, 1/num_data/2, 'catidx', cat_features, 'method', 'classification', 'maxnodes', nodespertree*4);
Error in trainSameLabelClassifier (line 102) same_label_classifier = train_boosted_dt_2c(trn_edata, [], trn_elab, 200, 20);
Error in trainAll (line 6) trainSameLabelClassifier;