필터 지우기
필터 지우기

Viewing the tree used for prediction by the method of "RUSBoost' in fitensemble

조회 수: 2 (최근 30일)
I have a question in regard to viewing the Tree from the fitensemble function. I am using 'RUSBoost' as the method. I can see that there are 1000 trees in the cell called Trained since I set nlearn to be a 1000. So these 1000 trees are the weak learners if I am not mistaken. But then where is the strong learner that was gotten using these weak learners? In other words, where is the tree that is actually used for prediction? How can I see that tree?
Thank you for your help.

채택된 답변

Ilya
Ilya 2013년 1월 18일
The strong learner is the ensemble. An ensemble is a collection of trees. It predicts by averaging predictions from individual trees. This average is weighted. You can get the weights from the TrainedWeights property of the ensemble object.
  댓글 수: 4
artsci4
artsci4 2013년 1월 30일
I have another question related to this. Among all the machine learning algorithms provided in the MATLAB toolboxes, is fitensemble the only algorithm that allows the input of a cost function?
Ilya
Ilya 2013년 1월 31일
Please open new threads for new questions.
ClassificationDiscriminant, ClassificationTree and ClassificationKNN accept the cost matrix as well.

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

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by