Downloads · 30 days
0
mishradev/MarketRegimePredictor
MarketRegimePredictor is a machine learning model from mishradev. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
A Unified Machine Learning System for Detecting and Predicting Financial Market Regimes.
Downloads · 30 days
0
Access
Public
Updated Dec 26, 2025
Repo size
1.5 MB
Likes
0
Public
Click a slice to open those files.
.pkl1.5 MB · 93%
From the Hugging Face model README
A Unified Machine Learning System for Detecting and Predicting Financial Market Regimes.
Understanding whether the market is in a predictable trend, a volatile chop, or a liquidity crisis is crucial for portfolio management. This project uses Unsupervised Learning (K-Means) to discover hidden market states ("Regimes") and Supervised Learning (XGBoost) to predict these states in real-time.
yfinance.pip install -r requirements.txt
Run the following scripts in order:
# 1. Download Data & Generate Features
python src/data_loader.py
# 2. Discover Regimes (Clustering)
python src/regime_discovery.py
# 3. Train Classifier
python src/train_classifier.py
Launch the interactive dashboard:
python app.py
This is a research project for educational purposes only.