Skip to content

Commit 1f46e8e

Browse files
committed
added stock prediction tutorial
1 parent 1e33aed commit 1f46e8e

26 files changed

+12539
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ This is a repository of all the tutorials of [The Python Code](https://www.thepy
3939
- [Building a Speech Emotion Recognizer using Scikit-learn](https://www.thepythoncode.com/article/building-a-speech-emotion-recognizer-using-sklearn). ([code](machine-learning/speech-emotion-recognition))
4040
- [How to Convert Speech to Text in Python](https://www.thepythoncode.com/article/using-speech-recognition-to-convert-speech-to-text-python). ([code](machine-learning/speech-recognition))
4141
- [Top 8 Python Libraries For Data Scientists and Machine Learning Engineers](https://www.thepythoncode.com/article/top-python-libraries-for-data-scientists).
42+
- [How to Predict Stock Prices in Python using TensorFlow 2 and Keras](https://www.thepythoncode.com/article/stock-price-prediction-in-python-using-tensorflow-2-and-keras). ([code](machine-learning/stock-prediction))
4243

4344

4445
- ### [General Python Topics](https://www.thepythoncode.com/topic/general-python-topics)
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# [How to Predict Stock Prices in Python using TensorFlow 2 and Keras](https://www.thepythoncode.com/article/stock-price-prediction-in-python-using-tensorflow-2-and-keras)
2+
3+
To run this:
4+
- `pip3 install -r requirements.txt`
5+
- Please read the tutorial before using this, edit `parameters.py` for your needs and run `train.py`. This will start training using the parameters you specified, you can use `tensorboard` on `logs` folder to visualize your training process.
6+
- Once you trained your model, use `test.py` to evaluate and test your model.

machine-learning/stock-prediction/data/AAPL_2020-01-08.csv

Lines changed: 9852 additions & 0 deletions
Large diffs are not rendered by default.

machine-learning/stock-prediction/data/TSLA_2020-01-08.csv

Lines changed: 2400 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)