Views
No views yet
1import joblib
2from huggingface_hub import hf_hub_download
3
4# Download models
5ma_model_path = hf_hub_download(repo_id="usman-tech-ali/stockforecast-traditional-models", filename="moving_average_model.pkl")
6arima_model_path = hf_hub_download(repo_id="usman-tech-ali/stockforecast-traditional-models", filename="arima_model.pkl")
7
8# Load models
9ma_model = joblib.load(ma_model_path)
10arima_model = joblib.load(arima_model_path)
11
12# Make predictions
13ma_prediction = ma_model.predict(steps=5)
14arima_prediction = arima_model.predict(steps=5)@software{stockforecast_ai_2025,
title={StockForecast AI: Complete Financial Forecasting Application},
author={Usman Ali},
year={2025},
url={https://github.com/usman-tech-ali/stock-forecast-app}
}