필터 지우기
필터 지우기

Getting error'"Objective function is undefined at initial point. Fminunc cannot continue''

조회 수: 2 (최근 30일)
I have tried a code for multiclass logistic regression based on IRIS dataset. I have tried it for my dataset.
I am getting this error "Objective function is undefined at initial point. Fminunc cannot continue".

답변 (1개)

Matt J
Matt J 2022년 4월 17일
편집: Matt J 2022년 4월 17일
Check what value is being returned by your function at the initial point.
  댓글 수: 2
SWATHY Kakkooth
SWATHY Kakkooth 2022년 4월 17일
The cost value returned is NaN. How this can be avoided?
Torsten
Torsten 2022년 4월 17일
By searching why your code produced a NaN result for the cost at the initial point.

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

카테고리

Help CenterFile Exchange에서 Descriptive Statistics에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by