Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remould this card #98

Open
autogluonisgod opened this issue Mar 7, 2023 · 2 comments
Open

remould this card #98

autogluonisgod opened this issue Mar 7, 2023 · 2 comments

Comments

@autogluonisgod
Copy link

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?

@Blanket58
Copy link

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.

@ShichenXie
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants