scorecardpy icon indicating copy to clipboard operation
scorecardpy copied to clipboard

remould this card

Open autogluonisgod opened this issue 1 year ago • 2 comments

I want to use autogluon to remould scordcard,just like this card = sc.scorecard(bins, predictor, X_train.columns)

I use predictor to replace lr,but there is a error

'TabularPredictor' object has no attribute 'coef_'

how should I do?

autogluonisgod avatar Mar 07 '23 03:03 autogluonisgod

The obvious reason is that TabularPredictor object doesn't have the attribute coef_, any other predictor which does have the attribute will work. But do we really can define or extract the coeffients from that nonlinear model? Is it theoretically possible? You shouldn't use any other model but lr to create a scorecard in most cases, since the result will become unexplainable.

Blanket58 avatar Nov 27 '23 10:11 Blanket58

其他模型直接概率转评分呗,不一定需要转成评分卡的形式吧

ShichenXie avatar Nov 28 '23 00:11 ShichenXie