How do you perform nominal multi class logistic regression

16 ビュー (過去 30 日間)
Jason Gunther
Jason Gunther 2017 年 8 月 31 日
編集済み: Jason Gunther 2017 年 9 月 15 日
I'm performing logistic regression on with 6 nominal categories "A-F". I'm using fitcecoc. Which option should I specify for 'Coding' to perform nominal classification?


Chris Perkins
Chris Perkins 2017 年 9 月 7 日
Hi Jason,
You should be able to use the example 'Train Multiclass Linear Classification Model' on the documentation page for "fitcecoc":
This example uses categoricals, which by default are nominal, as input to "fitcecoc". See more about categoricals at the documentation page:
You shouldn't need to set 'Coding' to achieve nominal classification.
Good luck!
  1 件のコメント
Jason Gunther
Jason Gunther 2017 年 9 月 15 日
編集済み: Jason Gunther 2017 年 9 月 15 日
how does this compare to using multinomial logistic regression, mnrfit? The number of learners is 15 in the case fitcoec and 5 in the case of mnrfit.


その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by