J
J
JohnnyAllen2016-12-24 16:20:10
Python
JohnnyAllen, 2016-12-24 16:20:10

How to correctly fill in the missing values ​​of binary features?

For example, if the attribute is gender, and the table contains empty values ​​in the gender column.
Or a feature with the values ​​"City" and "Village", describing where the object is located.
If you translate "City" into 1, and "Village" into 0, then what to do with empty fields.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vlad_Fedorenko, 2016-12-24
@Vlad_Fedorenko

Your choice:
1. Fill in with the most frequent
2. Predict the missing value based on other features
3. Make "Missing" a separate feature value

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question