필터 지우기
필터 지우기

Why always the same prediction error when using LSBoost with fitrensemble?

조회 수: 2 (최근 30일)
Tobias Pahlberg
Tobias Pahlberg 2017년 4월 23일
댓글: Roisin Loughnane 2017년 10월 9일
Hi
I was using a trained regression ensemble on some test data when I realized that the prediction error was the same every time I ran it. Usually, since I have not fixed the random number generator seed, I get slightly different results. I figured out that if I change the 'NumVariablesToSample' from the default: 'all', I get different results. But why? And is it a better practice to run with slightly less variables just to get a mean and SD of the prediction error?
Here is the code that I run (here with added NumVariablesToSample)
tempTree = templateTree('MaxNumSplits',2,'MinLeafSize',7, 'NumVariablesToSample',2262);
ens = fitrensemble(trainData,'FVPROCSTP','NumLearningCycles',364,...
'Method', 'LSBoost', 'Learners',tempTree,'LearnRate',0.11779);
/Tobias
  댓글 수: 1
Roisin Loughnane
Roisin Loughnane 2017년 10월 9일
Your question did not get answered. Did you manage to solve your problem? As I am looking for answers to similar questions right now. I do not have access to fitrensemble, only fitensemble. With LSBoost can you model the data with a logit (probability) error distribution do you know?
Also, you have very specific learner rate, no. of cycle parameters.. How did you optimise these?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Regression Tree Ensembles에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by