Scorecard-Bundle
Scorecard-Bundle copied to clipboard
A High-level Scorecard Modeling API | 评分卡建模尽在于此
Results
2
Scorecard-Bundle issues
Sort by
recently updated
recently updated
newest added
codes below is calculated in every while loop, and takes too much time. ``` intervals, unique_intervals = assign_interval_unique(x, unique_intervals[:, 1]) pt_value, pt_column, pt_index = pivot_table_np(intervals[:, 1], y) ``` In my...
it's because np.quantilehas problem. Quantile function determines boundary by (a+b)/2, but (a+np.Inf)/2 equals np.NaN codes below can solve the problem. boundaries = np.unique( np.quantile(x, np.arange(0, 1, 1/initial_intervals)[1:]) ) # Add...