/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
- 3 votes157 views2 answers
- 2 votes181 views1 answer
- 5 votes175 views1 answer
- 6 votes170 views2 answers
- 1 vote172 views1 answer
- 1 vote199 views1 answer
- 0 vote174 views1 answer
- 3 votes167 views1 answer
- 0 vote180 views1 answer
- 0 vote176 views1 answer