How do you perform nominal multi class logistic regression
4 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
采纳的回答
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": https://www.mathworks.com/help/stats/fitcecoc.html
This example uses categoricals, which by default are nominal, as input to "fitcecoc". See more about categoricals at the documentation page: http://www.mathworks.com/help/matlab/ref/categorical.html
You shouldn't need to set 'Coding' to achieve nominal classification.
Good luck!
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Classification Ensembles 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!