/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
- 1 vote96 views1 answer
- 0 vote107 views1 answer
- 2 votes106 views2 answers
- 5 votes100 views3 answers
- 0 vote121 views1 answer
- 23 votes121 views2 answers
- 0 vote111 views1 answer
- 0 vote103 views1 answer
- 0 vote145 views1 answer
- 1 vote60 views1 answer