Skip to main content

New answers tagged

0 votes
Accepted

How do sklearn's trees evaluate NaNs on inference?

sklearn's documentation spells out how missing data are handled by tree: By default when predicting, the samples with missing values are classified with the class ...
lpounng's user avatar
  • 1,107
0 votes

How do sklearn's trees evaluate NaNs on inference?

This isn't really possible to answer without seeing your dataset, so you'll need to look more into it yourself. My guess is that it's probably imputing the mean. Look into what the mean value is for ...
Christian Geils's user avatar

Top 50 recent answers are included