Regression trees, improve the test performance
显示 更早的评论
Hi everyone,
I built a basic regression tree code for a complicated problem (27 inputs, one output, 630 timesteps)
rtree = RegressionTree.fit(InputsTr,Mn2tr,'Minparent',30);
view(rtree,'mode','graph');
Ynew = predict(rtree,Inputsts);
plot(Ynew)
hold on
plot(Mn2ts,'g')
hold off
err=Ynew-Mn2ts;
Msetst=mse(err)
percMse=Msetst/mean(Mn2ts)
I got a very good performance for the training set, but when I tried with new independent inputs (Inputsts), the performance dropped to very poor values.
Any suggestions about how to improve it? I have tried with pruning, making it simpler, but the improvement is very small (only because the resulting values are less noisy, but very far from the real targets)
Thank you
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Support Vector Machine Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!