How does classification learner handle missing data for logistic regression?

6 次查看(过去 30 天)
I am curious on how missing data is handled in the classification learner for methods that do not have approaches for missing data (like logistic regression).

回答(1 个)

Sahil Jain
Sahil Jain 2021-8-11
The documentation of generalized linear regression model (fitglm) mentions that rows with even a single missing value are removed from the fit (either predictor or response). However, this behaviour can vary depending on the type of classifier being used. For example, binary decision trees (fitctree) can use surrogate decision splits to improve accuracy as long as not all the predictor values are missing for a row. Information about how different classifiers deal with missing data is described in their respective documentation.

Community Treasure Hunt

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

Start Hunting!

Translated by