/Python/For idx, col_name in enumerate(X_train.columns): print("The coefficient for {} is {}".format(file_name, regression_model.coef_[0][idx]))
For idx, col_name in enumerate(X_train.columns): print("The coefficient for {} is {}".format(file_name, regression_model.coef_[0][idx]))
For idx, col_name in enumerate(X_train.columns): print("The coefficient for {} is {}".format(file_name, regression_model.coef_[0][idx]))
1
- 0 vote99 views2 answers
- 1 vote90 views1 answer
- 0 vote102 views2 answers
- 109 votes90 views6 answers
- 12 votes299 views2 answers
- 0 vote86 views1 answer
- 14 votes109 views1 answer
- 1 vote101 views2 answers
- 11 votes94 views2 answers
- 0 vote108 views1 answer