Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

model coefficients

print("Model coefficients:
")
for i in range(X.shape[1]):
    print(X.columns[i], "=", model.coef_[i].round(4))
Source by shap.readthedocs.io #
 
PREVIOUS NEXT
Tagged: #model #coefficients
ADD COMMENT
Topic
Name
3+9 =