Machine Learning Stock Prediction Using Random Forest Regressor

  Рет қаралды 29,443

Computer Science

Computer Science

Жыл бұрын

#Programming #pythonprogramming #machinelearning
Machine Learning Stock Prediction Using Random Forest Regressor:
Predict the future price of a stock.
Disclaimer: The material in this video is purely for educational purposes and should not be taken as professional investment advice. Invest at your own discretion.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
⭐Please Subscribe !⭐
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
🐦🔥🐤 Support The Channel🐤🔥🐦
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
⭐Get the code and data sets or just support the channel by becoming a supporter on Patreon:
► / computerscience
⭐Website:
►everythingcomputerscience.com/
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
📚Helpful Python Programming Books📚
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
► Hands-On Machine Learning with Scikit-Learn and TensorFlow:
amzn.to/2AD1axD
► Learning Python:
amzn.to/3dQGrEB
►Head First Python:
amzn.to/3fUxDiO
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
📚Helpful Financial Books📚
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
🌟Stock Market Investing Books:
✔️The Bogleheads' Guide to Investing
amzn.to/3s0icxA
✔️The Intelligent Investor
amzn.to/34Mj7t1
✔️A Random Walk Down Wall Street
amzn.to/3Bv0ghW
🌟Money Mindset Books
✔️Rich Dad Poor Dad:
amzn.to/3rZW6eE
✔️Get Good With Money: Ten Simple Steps To Becoming Financially Whole:
amzn.to/3I1UXc1

Пікірлер: 24
@RasoulMojtahedzadeh
@RasoulMojtahedzadeh Жыл бұрын
At the beginning of each trading day, only Open price is known. The features High, Low and Volume are not yet known, and hence, using them as features is not possible to predict the Close price of the day.
@kibs_neville
@kibs_neville 3 ай бұрын
Exactly, so what is the solution?
@Random_work822
@Random_work822 Ай бұрын
​@@kibs_neville using open price to predict
@DeejayGabin
@DeejayGabin Жыл бұрын
You entroduced lookahead biais in your model training using high, low and volume as it is unknown at the open time of the candle. What you could do is shift your Close column for your y variable, to try predicting the next canddle close price
@christopherheuser622
@christopherheuser622 Жыл бұрын
Why would the model predict 263 only, if the last couple of days are already > 270, values which are included into the prediction of only 263 and not 270-280?
@ACSMusicSounds
@ACSMusicSounds 7 ай бұрын
How would you make a graph based on this? Thank you
@aarondelarosa3146
@aarondelarosa3146 Жыл бұрын
Excellent. Could you make a video on Portfolio Optimization using Black Litterman Model?
@mint9121
@mint9121 Жыл бұрын
Nice work, thanks for sharing.
@ComputerSciencecompsci112358
@ComputerSciencecompsci112358 Жыл бұрын
Thanks for watching!
@rajeshmanjrekar3614
@rajeshmanjrekar3614 Жыл бұрын
pls enclose a link for the data.....thanks a lot
@guicraw99
@guicraw99 Жыл бұрын
The y value should be different from the current open, low, high and volume information row. Should we use other data, rather than open ,low, high and volume to predict the future stock price ?
@shalomdosseh5367
@shalomdosseh5367 9 ай бұрын
You are use indicators value, emas cross, macd, rsi etc..values as feature instead of OHLV values
@vloggetts
@vloggetts 2 ай бұрын
No train test split. This is the equivalent of giving the model the answer sheet to the test so you don’t get an accurate picture of model performance
@fleshandbloody-hm3bc
@fleshandbloody-hm3bc 2 ай бұрын
Thank you!!
@pranavkhatri9564
@pranavkhatri9564 11 ай бұрын
do you not need to split the dataset?
@JamieCrew
@JamieCrew 23 күн бұрын
He did, but without using the split method. He did it by manually assigning X as all the rows excluding the Close column and the last row. He then assigned Y as all the rows close value except the last row, as this is the test set. He then trained the model with the above, and then he ran the test on the last row(test data) X values(columns excluding close value) and predicted Y(the close value for the last row). It's not the best algorithm as his set is split at a very unbalanced value. One needs more data to make it more accurate.
@didierleprince6106
@didierleprince6106 Жыл бұрын
Merci (:
@Alberto-tv8rg
@Alberto-tv8rg Жыл бұрын
I am working on a similar project on colab but I cannot import sklearn ensemble RandomForestEnsemble..please help me
@thevaibhavkaushal
@thevaibhavkaushal Жыл бұрын
Bogus Exercise. Feature already are part of future data thus making prediction using them makes no sense.
@guicraw99
@guicraw99 Жыл бұрын
Exactly. The y value should be different from the current open, low, high and volume information row. Should we use other data, rather than open ,low, high and volume to predict the future stock price ?
@heresmypersonalopinion
@heresmypersonalopinion Жыл бұрын
Man I'm working on a trading bot. How much for your help?
@ph5915
@ph5915 Жыл бұрын
Argh. I get anFileNotFoundError at the line -- df = pd.read_csv('stock_data.csv')
@ElectricSH33P
@ElectricSH33P Жыл бұрын
You would need to include the file path to your stock_data.csv file. pd.read_csv('/path/to/file'). That error means that your notebook can't find the CSV file.
@ph5915
@ph5915 Жыл бұрын
@@ElectricSH33P Ah, thank you (I'm very new to this.)
Tutorial 43-Random Forest Classifier and Regressor
10:18
Krish Naik
Рет қаралды 393 М.
THEY made a RAINBOW M&M 🤩😳 LeoNata family #shorts
00:49
LeoNata Family
Рет қаралды 41 МЛН
Now THIS is entertainment! 🤣
00:59
America's Got Talent
Рет қаралды 36 МЛН
Я нашел кто меня пранкует!
00:51
Аришнев
Рет қаралды 5 МЛН
Predict The Stock Market With Machine Learning And Python
35:55
Dataquest
Рет қаралды 651 М.
Random Forest Regression Explained in 8 Minutes
7:02
Super Data Science
Рет қаралды 17 М.
What is Random Forest?
5:21
IBM Technology
Рет қаралды 92 М.
Random Forest Regressor in Python: A Step-by-Step Guide
15:21
Ryan Nolan Data
Рет қаралды 6 М.
Time Series Forecasting Using Machine Learning| Python
8:29
Nachiketa Hebbar
Рет қаралды 76 М.
How I’d learn ML in 2024 (if I could start over)
7:05
Boris Meinardus
Рет қаралды 999 М.
Easy Art with AR Drawing App - Step by step for Beginners
0:27
Melli Art School
Рет қаралды 15 МЛН
iPhone socket cleaning #Fixit
0:30
Tamar DB (mt)
Рет қаралды 14 МЛН
Top 50 Amazon Prime Day 2024 Deals 🤑 (Updated Hourly!!)
12:37
The Deal Guy
Рет қаралды 1,4 МЛН
Копия iPhone с WildBerries
1:00
Wylsacom
Рет қаралды 193 М.
Samsung Galaxy 🔥 #shorts  #trending #youtubeshorts  #shortvideo ujjawal4u
0:10
Ujjawal4u. 120k Views . 4 hours ago
Рет қаралды 8 МЛН
ГОСЗАКУПОЧНЫЙ ПК за 10 тысяч рублей
36:28
Ремонтяш
Рет қаралды 478 М.