Downloads · 30 days
0
Tjgguy12/stock-1d-quant-predictor
stock-1d-quant-predictor is a machine learning model from Tjgguy12. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for sklearn. The card lists the license as apache-2.0.
Kaggle finetuned Voting XGB+LGBM on 503 S&P tickers (25y, 2.9M rows, purged walk-forward).
Downloads · 30 days
0
Access
Public
Updated Sep 10, 2026
Repo size
2.5 MB
Likes
0
Public
Click a slice to open those files.
.pkl2.5 MB · 99%
From the Hugging Face model README
Kaggle finetuned Voting XGB+LGBM on 503 S&P tickers (25y, 2.9M rows, purged walk-forward).
scaler_1d.pkl + clf_1d_voting.pkl (2.4MB) + reg_1d_ridge.pkl + features_1d.jsonimport joblib, json
scaler=joblib.load("scaler_1d.pkl")
clf=joblib.load("clf_1d_voting.pkl")
reg=joblib.load("reg_1d_ridge.pkl")
features=json.load(open("features_1d.json"))["features"]
# compute features from yfinance 1y daily (see app.py)
x=scaler.transform([[ticker_features[f] for f in features]])
p=float(clf.predict_proba(x)[0,1])
ep=float(reg.predict(x)[0])
direction="UP" if p>0.57 else "DOWN" if p<0.43 else "FLAT"
app.py is Gradio chatbot (live yfinance). Deploy to HF Space requires PRO, so this repo hosts model artifacts; Vercel frontend calls HF model or runs inference directly.
Kaggle: https://www.kaggle.com/code/maxvwede/stock-1d-quant-predictor-1-day-up-down Vercel: https://github.com/Tjgguy12/stock-1d-quant-chat (coming) Disclaimer: Probabilistic, not financial advice.