drfi_matlab icon indicating copy to clipboard operation
drfi_matlab copied to clipboard

error while executing trainALL.m

Open gargisri68 opened this issue 6 years ago • 1 comments

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;

gargisri68 avatar Jan 21 '19 11:01 gargisri68

I'hv had this problem,you have to download the matlab2012a.

lii7718195 avatar Nov 25 '20 03:11 lii7718195