필터 지우기
필터 지우기

Getting Error in training Using fitcensemble() Function of MATLAB

조회 수: 4 (최근 30일)
S. Sal
S. Sal 2021년 8월 3일
댓글: S. Sal 2021년 8월 3일
I am trying to train a classification model using fitcensemble in MATLAB with generic implementation:
Model = fitcensemble(Xtrain,Ytrain);
The feature vector and output has form:
  • Xtrain: 80x92184
  • Ytrain:80 x 1
The model does not train instead I get this error:
Warning: AdaBoost M2 exits because pseudo-loss from the last hypothesis is not positive.
as shown in the snapshot below:
Displayed Error Code
The model details that I get after the above error message is given below:
Model Details
What does this error means, and how can i remedy this
  댓글 수: 2
Wabi Demeke
Wabi Demeke 2021년 8월 3일
Y output is double as I can see.
Maybe convert Y=categorical(Y);
S. Sal
S. Sal 2021년 8월 3일
Just tried, did not work.
Received the same error.

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

답변 (0개)

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by