UMAR798's picture
Update README.md
8946dc0 verified
|
Raw
History Blame Contribute Delete
894 Bytes

A newer version of the Gradio SDK is available: 6.24.0

Upgrade
metadata
title: Stock Price Predictor
emoji: 📈
colorFrom: red
colorTo: purple
sdk: gradio
sdk_version: 6.19.0

Stock Price Predictor Hugging Face Space

This is a simple Hugging Face Space that uses a pre-trained machine learning model to predict stock closing prices based on various features.

How to use

Enter the required feature values (Open, Low, Volume, Lag_1, Lag_7, Rolling_Mean_7) into the input fields and click 'Submit' to get a predicted closing price.

Model Details

The model used is a Linear Regression model trained on historical stock data. It leverages features like lagged prices and rolling means to make predictions.

Files

  • app.py: The Gradio application script.
  • requirements.txt: Python dependencies for the application.
  • best_stock_prediction_model.pkl: The trained machine learning model.
  • scaler.pkl: The MinMaxScaler used for preprocessing.