How do you perform nominal multi class logistic regression
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Jason Gunther
le 31 Août 2017
Modifié(e) : Jason Gunther
le 15 Sep 2017
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 commentaires
Réponse acceptée
Chris Perkins
le 7 Sep 2017
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!
1 commentaire
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Classification Ensembles dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!