MENU

Fun & Interesting

Stock Price Prediction Using Python & Machine Learning

Computer Science (compsci112358) 1,331,575 lượt xem 5 years ago
Video Not Working? Fix It Now

Stock Price Prediction Using Python & Machine Learning (LSTM).
In this video you will learn how to create an artificial neural network called Long Short Term Memory to predict the future price of stock.

Disclaimer: The material in this video is purely educational and should not be taken as professional investment advice. Invest at your own discretion.

NOTE: Some errors in the video:
(1) In the video to calculate the RMSE I put the following statement:
rmse=np.sqrt(np.mean((predictions- y_test)**2))

When in fact I meant to put:
rmse=np.sqrt(np.mean(((predictions- y_test)**2)))

You can also use the following statements to calculate RMSE:
1. rmse =np.sqrt(np.mean(((predictions- y_test)**2)))
2. rmse = np.sqrt(np.mean(np.power((np.array(y_test)-np.array(predictions)),2)))
3. rmse = np.sqrt(((predictions - y_test) ** 2).mean())

(2) The preprocessing of data using MinMaxScaler resulted in data leakage, leading to the creation of future bias. Despite this, the code can still be utilized to obtain a basic understanding of Neural Network implementation in Python for classification and prediction purposes.

Please Subscribe !

⭐Get the code here⭐:
https://www.patreon.com/computerscience

⭐Please Subscribe !⭐

⭐Support the channel and/or get the code by becoming a supporter on Patreon:
https://www.patreon.com/computerscience

⭐Websites:
► http://everythingcomputerscience.com/

⭐Helpful Programming Books
► Python (Hands-Machine-Learning-Scikit-Learn-TensorFlow):
https://amzn.to/2AD1axD

► Learning Python:
https://amzn.to/3dQGrEB

►Head First Python:
https://amzn.to/3fUxDiO

► C-Programming :
https://amzn.to/2X0N6Wa

► Head First Java:
https://amzn.to/2LxMlhT


▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
📚Helpful Financial Books📚
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
🌟Stock Market Investing Books:
✔️The Bogleheads' Guide to Investing
https://amzn.to/3s0icxA
✔️The Intelligent Investor
https://amzn.to/34Mj7t1
✔️A Random Walk Down Wall Street
https://amzn.to/3Bv0ghW

🌟Money Mindset Books
✔️Rich Dad Poor Dad:
https://amzn.to/3rZW6eE
✔️Get Good With Money: Ten Simple Steps To Becoming Financially Whole:
https://amzn.to/3I1UXc1

#StockPrediction #Python #MachineLearning

Comment