scikit-learn offers the class. . . . . . . ., which is responsible for filling the holes using a strategy based on the mean, median, or frequency

LabelEncoder
LabelBinarizer
DictVectorizer
Imputer

The correct answer is D. Imputer.

Imputer is a class in scikit-learn that is responsible for filling

42-24.2 48.3-47.8 11.4-42.9 11.4-132.3 11.4-132.3s0-89.4-11.4-132.3zm-317.5 213.5V175.2l142.7 81.2-142.7 81.2z"/> Subscribe on YouTube
the holes using a strategy based on the mean, median, or frequency. It can be used to fill missing values in a dataset.

LabelEncoder is a class in scikit-learn that is used to encode labels. It can be used to convert categorical data into numerical data.

LabelBinarizer is a class in scikit-learn that is used to binarize labels. It can be used to convert categorical data into binary data.

DictVectorizer is a class in scikit-learn that is used to vectorize a dictionary. It can be used to convert a dictionary of features into a vector of features.

Exit mobile version