/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
- 2 votes132 views1 answer
- 1 vote117 views1 answer
- 0 vote111 views1 answer
- 1 vote107 views1 answer
- 0 vote118 views1 answer
- 0 vote137 views1 answer
- 0 vote104 views1 answer
- 0 vote142 views1 answer
- 0 vote109 views1 answer
- 5 votes132 views2 answers