tatsath / fin-ml

This github repository of "Machine Learning and Data Science Blueprints for Finance". Please star.
918 stars 417 forks source link

5.3.1 ln [67] ValueError #7

Open sarahlippinc opened 3 years ago

sarahlippinc commented 3 years ago

Trying to follow along with code from https://github.com/tatsath/fin-ml/blob/master/Chapter%205%20-%20Sup.%20Learning%20-%20Regression%20and%20Time%20Series%20models/Case%20Study%201%20-%20Stock%20Price%20Prediction/StockPricePrediction.ipynb

I am receiving the following error: "ValueError: Setting a random_state has no effect since shuffle is False. You should leave random_state to its default (None), or set shuffle=True."

alecontuIT commented 8 months ago

Just delete "random_state" from the function.