Julia Community 🟣

Discussion on: Regression using MLJ

Collapse
 
rikhuijzer profile image
Rik Huijzer • Edited

Nice post. Nice that you show the train-test split. Regarding the Shapley, it's probably better to look at the coefficients directly than estimate them via Shapley values.

Collapse
 
iwasnothing profile image
Matthew leung
Collapse
 
rikhuijzer profile image
Rik Huijzer

That's a model without coefficients

Thread Thread
 
iwasnothing profile image
Matthew leung

Not sure my understanding is correct, maybe you can shed some light. In a linear model, a higher coefficient for a feature, the more a feature played a role in making a prediction. However, when variables in a regression model are correlated, these conclusions don't hold anymore.