featuretools.selection.remove_low_information_features#

featuretools.selection.remove_low_information_features(feature_matrix, features=None)[source]#

选择至少有2个唯一值且不全为空的特征

Parameters:
  • feature_matrix (pd.DataFrame) – 列名为特征名、行名为实例的DataFrame

  • features (list[featuretools.FeatureBase] or list[str], optional) – 要选择的特征列表

Returns:

(feature_matrix, features)