/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
- 81 votes122 views6 answers
- 0 vote117 views1 answer
- 1 vote106 views1 answer
- 15 votes108 views1 answer
- 0 vote113 views1 answer
- 1 vote103 views1 answer
- -2 votes127 views1 answer
- 0 vote105 views1 answer
- 1 vote104 views1 answer
- 0 vote105 views1 answer