Sundar0989 / XuniVerse

xverse (XuniVerse) is collection of transformers for feature engineering and feature selection
MIT License
116 stars 38 forks source link

bin rate in binning #1

Closed Spencerai closed 4 years ago

Spencerai commented 4 years ago

can supply a parameter to control each category rate of the train samples? Because when the category rate is very few,the binning will be meaningless.

Sundar0989 commented 4 years ago

Please use the custom binning feature to supply bins for variables. Here is the notes from documentation.


    Dictionary structure - {'feature_name': float list}
    Example - {'age': [0., 1., 2., 3.]}
    Using this parameter, the user can perform custom binning on variables. This parameter is also used to apply previously computed bins for each feature (Score new data). ```