How does classification learner handle missing data for logistic regression?

6 vues (au cours des 30 derniers jours)
Mohamed Elmistiri
Mohamed Elmistiri le 13 Juil 2021
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 commentaire
Ive J
Ive J le 14 Juil 2021
fitglm excludes samples with missing values (in either of predictors/response).

Connectez-vous pour commenter.

Réponses (1)

Sahil Jain
Sahil Jain le 11 Août 2021
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