Skip to content

In this project, we try to predict whether Tesla's stock price will rise or fall depending on Elon Musk's tweet.

License

Notifications You must be signed in to change notification settings

nowmozillaclub/TeslaTweets

Repository files navigation

TeslaTweets

Stars Forks Issues License

TeslaTweets is a project where we try to predict whether Tesla's stock price will rise or fall based on Elon Musk's twitter data by using Machine Learning techniques and Natural Language Processing.

Datasets

  1. The tweets dataset contains all of Elon Musk's tweets from November 16, 2012 to September 29, 2017. This dataset was taken from Kaggle.
  2. The stock price was extracted using pandas_datareader. Refer to the code for more information. This contains Date, Open, Close, Low, High prices and the Volume for Tesla's stock from November 16, 2012 to September 29, 2017.

Building

To build and run the project on your device, do the following:

  • Install Anaconda by following the instructions on their website and make sure you have Jupyter Notebooks. Alternatively you can also use Google Colab.
  • Clone this repo to your local machine using https://github.com/nowmozillaclub/TeslaTweets.git.
  • Start Jupyter Notebook in the project directory and you are free to explore the codebase. For Google Colab, you will have to upload the file on your Google Drive and then you can start exploring.

Contributing

Please read the CONTRIBUTING.md file for more details on how to contribute.

Credits

This project is developed by a bunch of engineering students at NMIMS MPSTME, Mumbai. Take a look at the entire list of contributors to see who all have helped with the project. The image on top is a photo by Team Freepik on Freepik.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Conclusion

Accuracy score of the models

Here, XGBoostClassifier is the best model as it has an accuracy of ~61%. To read more more about how we got here and the steps we followed in this project, read FINAL_REPORT.md.

About

In this project, we try to predict whether Tesla's stock price will rise or fall depending on Elon Musk's tweet.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published