- spac.data_utils.subtract_min_quantile(features, min_quantile=0.01)[source]
Subtract the features defined by the minimum quantile from all columns.
- Parameters:
features (pandas.DataFrame) – The dataframe of features.
min_quantile (float) – The minimum quantile to be consider zero.
- Returns:
dataframe with rescaled features.
- Return type:
pandas.DataFrame