Hi all,
I have a question regarding this line of code:
weights = pd.DataFrame(
[est.coef_ for est in cv_result[“estimator”]], columns=data.columns)
After I saw what is doing i understand the outcome but what i dont underdstand is why when i want to see what are you iterating:
cv_result[“estimator”]
I see only this:
[LinearRegression(),
LinearRegression(),
LinearRegression(),
LinearRegression(),
LinearRegression(),
LinearRegression(),
LinearRegression(),
LinearRegression(),
LinearRegression(),
LinearRegression()]
I am quite sure i am missing something but i dont know what.
Thanks a lot in advance!