fitglm() for Classification

I am trying to create a generic cross-validation function utilizing Logistic Regression classification, and want to know how to get a classification model from a training set and test a test set. I think that I should try to use the fitglm() method to acquire my classification model, but I am not totally sure about this. If you will, help me use fitglm() to create a model to test a test set, or perhaps suggest an alternative to fitglm(), if you prefer.
Thank You

Answers (0)

Asked:

on 19 Nov 2015

Community Treasure Hunt

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

Start Hunting!