Created
March 14, 2021 21:32
-
-
Save GabrielSGoncalves/9eaa8da5a686759707f208a5faa3debf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Define scaling method and values | |
scaling_method = "min_max" | |
scaling_method_data = {"min": 0, "max": 1000} | |
# Instatiate and fit Scorecard | |
scorecard = Scorecard( | |
target='TARGET', | |
binning_process=binning_process, | |
estimator=logreg, | |
scaling_method=scaling_method, | |
scaling_method_params=scaling_method_data, | |
intercept_based=False, | |
reverse_scorecard=True, | |
) | |
scorecard.fit(df_application_train) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment