/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 vote189 views1 answer
- 13 votes174 views3 answers
- 10 votes153 views2 answers
- 9 votes161 views1 answer
- 0 vote181 views1 answer
- 0 vote165 views2 answers
- 0 vote155 views1 answer
- 0 vote164 views2 answers
- 0 vote168 views1 answer
- 1 vote157 views1 answer