Hello,
For categorical data (without changing nothing about numerical data and all things equal otherwise):
If i use the preprocessor (given by Metssie)
SimpleImputer(strategy=“most_frequent”)
i get the result 0,754
If i use the preprocessor given by the correction
SimpleImputer(strategy=“most_frequent”,fill_value=“missing”)
i get the result 0,742
How explain this diference ? What is the most convenient setting ? Is it a general rule to apply when processing categorical data ?
Thank you for answer