Home » mcq » Machine learning » 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
Answer is Wrong!
Answer is Right!
The correct answer is D. Imputer.
Imputer is a class in scikit-learn that is responsible for filling 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
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
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.