What is the primary purpose of using a ‘drop=’ argument in OneHotEncoder when handling binary categorical features? Data ScienceMedium Try Now
What is the primary consequence of failing to scale features before applying a K-Nearest Neighbors (KNN) algorithm? Data ScienceMedium Try Now
Which scenario necessitates the use of One-Hot Encoding over Label Encoding for categorical variables? Data ScienceMedium Try Now
What is the primary effect of using the ‘median’ strategy in SimpleImputer compared to the ‘mean’ strategy? Data ScienceMedium Try Now
from sklearn.impute import KNNImputer imputer = KNNImputer(n_neighbors=5, weights=’distance’) imputer.fit_transform(X) What is the primary behavior of this configuration? Data ScienceHard Try Now
Which problem occurs when using Target Encoding on a categorical feature with very low frequency categories? Data ScienceHard Try Now
What is the effect of applying a QuantileTransformer with output_distribution=’normal’ to a uniform distribution? Data ScienceHard Try Now
Which issue arises when using MICE (Multivariate Imputation by Chained Equations) on a dataset with high multicollinearity? Data ScienceHard Try Now
What is the primary consequence of applying standard scaling to a feature with a bimodal distribution? Data ScienceHard Try Now
Which method is most appropriate for scaling features when the dataset contains significant outliers? Data ScienceMedium Try Now
What is the primary purpose of applying a PowerTransformer with the Box-Cox method? Data ScienceMedium Try Now
Which statement correctly describes the behavior of mean imputation on a dataset with significant outliers? Data ScienceMedium Try Now
What is the primary effect of applying One-Hot Encoding to a categorical feature with high cardinality? Data ScienceMedium Try Now
Which effect occurs when applying a log transformation to a feature with a heavy right-skew and a very small constant offset? Data ScienceHard Try Now
from sklearn.preprocessing import OrdinalEncoder enc = OrdinalEncoder(handle_unknown=’use_encoded_value’, unknown_value=-1) enc.fit(X_train) enc.transform(X_test) What is the result of this configuration when encountering an unseen category in the test set? Data ScienceHard Try Now
What is the primary risk of using K-Nearest Neighbors (KNN) imputation when the feature space is not properly scaled? Data ScienceHard Try Now
Which issue arises when applying Yeo-Johnson transformation to a feature containing a significant number of zero values? Data ScienceHard Try Now
What is the primary consequence of applying MICE (Multivariate Imputation by Chained Equations) to a dataset with high multicollinearity? Data ScienceHard Try Now