How to Predict Stock Prices with Scikit-learn (Python tutorial)

///How to Predict Stock Prices with Scikit-learn (Python tutorial)

How to Predict Stock Prices with Scikit-learn (Python tutorial)

FavoriteLoadingAdd to favorites

In this Python tutorial, Caelan will show you how to use Scikit-learn to predict Tesla’s stock price by training and testing a long short-term memory (LSTM) neural network model. This same machine learning technique can be used to predict tomorrow’s stock price with only minor modifications.

⭐ Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. We made this YouTube channel and Kite to help you be more productive:

***************************************
JOIN our community of developers ►

SUBSCRIBE for more Python tips, tutorials, and coding interview prep! ►

Follow us Twitter ►

Github Project Repo ►

Original Speech-Emotion_Analyzer Model ►
***************************************
ADDITIONAL RESOURCES:

6 Python Tips and Tricks YOU Should Know ►

Push- Up Bot?! Make a Discord Bot in Python [step-by-step tutorial] ►

How to Build HANGMAN in 10 Minutes (Python tutorial) ►

***************************************
Don’t forget to subscribe 🙂

STAY TUNED:
Kite ►
Twitter ►
YouTube ►

source

By |2020-11-02T10:27:55+00:00November 2nd, 2020|Python Video Tutorials|11 Comments

11 Comments

  1. Mardax November 2, 2020 at 10:27 am - Reply

    line 10 is incorrect

  2. Cib November 2, 2020 at 10:27 am - Reply

    He never defined T. What is T, his train data?

  3. Sid Vanam November 2, 2020 at 10:27 am - Reply

    Super cool, thanks for sharing!

  4. Coding Blocks November 2, 2020 at 10:27 am - Reply

    Quality Content!

  5. Gaurang Patil November 2, 2020 at 10:27 am - Reply

    How do I add you on LinkedIn?

  6. Boggesh Zahim November 2, 2020 at 10:27 am - Reply

    You open your mouth so wide when you talk

  7. Gautam J November 2, 2020 at 10:27 am - Reply

    The min max scaler is being fitted on the entire dataset. This means that you have essentially leaked information about the test data.

    The proper way to do this would be to first split your data into train and test set. Fit the scaler on train set only. Transform train and test set afterwards.

  8. Daniel Weikert November 2, 2020 at 10:27 am - Reply

    thanks. should not you make the time series stationary first? When you reshape X_train should not it be ( shape[0], shape[1],1)
    Great channel and tool by the way

  9. Ranuga Disansa Gamage November 2, 2020 at 10:27 am - Reply

    Great Content

  10. HBase Skills November 2, 2020 at 10:27 am - Reply

    Thank u Kite for making learning Fun and Easy

  11. HBase Skills November 2, 2020 at 10:27 am - Reply

    Trust me everyone, you can learn more here

    instead of other tutorials on internet

Leave A Comment

*