candle.feature_selection_utils.select_features_by_missing_values#
- candle.feature_selection_utils.select_features_by_missing_values(data, threshold=0.1)#
This function returns the indices of the features whose missing rates are smaller than the threshold.
- Parameters:
data – numpy array or pandas data frame of numeric values, with a shape of [n_samples, n_features]
threshold (float) – range of [0, 1]. Features with a missing rate smaller than threshold will be selected. Default is 0.1
- Returns:
1-D numpy array containing the indices of selected features