{"repo":"brianrisk/Stock-Prediction-Neural-Network-and-Machine-Learning-Examples","free":true,"listed":false,"github":"https://github.com/brianrisk/Stock-Prediction-Neural-Network-and-Machine-Learning-Examples","clone":"git clone https://github.com/brianrisk/Stock-Prediction-Neural-Network-and-Machine-Learning-Examples.git","description":"Examples of python neural net and ML stock prediction methods with sample stock data.","language":"Python","stars":274,"topics":["artificial-intelligence","keras","neural-network","pytorch-lightning","stock-data","stock-market","stock-price-prediction","tensorflow"],"license":"Apache-2.0","category":"machine-learning","readme_excerpt":"Stock Prediction with Neural Networks and Machine Learning (Python) Contents - Simple examples - Getting started - Hyperparameter optimization - About the example stock data Simple Examples This repository contains small, runnable machine learning (ML) and neural network (NN) examples for stock classification. Each example focuses on the essential parts of a technique: loading data, training a model, evaluating it, and ranking the latest observations by predicted score. Educational use only: These examples are demonstrations, not investment advice or evidence of a profitable strategy. Classification scores do not account for slippage, liquidity, taxes, market impact, or regime changes. Machine learning examples - Genetic algorithm - Gradient boosting - K-means clustering - Logistic regression - Random forest - Support vector machine (SVM) Neural network architectures - Feed-forward neural network (FFNN) - Long short-term memory network (LSTM) - Recurrent neural network (RNN) The neural network examples use Keras, PyTorch, PyTorch Lightning, and TensorFlow. Browse the implementations in simple examples . Getting Started Python 3.10, 3.11, or 3.12 is required. 1. Clone this repository and change to its directory. 2. Create and activate a virtual environment: 3. Install libraries: pip install -r requirements.txt 4. Download the starter data and place the extracted example data directory at the repository root: 5. Run an example from the repository root: Hyperparameter Optimizati","default_branch":null,"files":null,"tree":[],"storefront":"/r/brianrisk","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/brianrisk/Stock-Prediction-Neural-Network-and-Machine-Learning-Examples/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}