pipeline_tag: tabular-regression | |
tags: | |
- stock-prediction | |
- deep-learning | |
- finance | |
- stock-market | |
# π Stock Prediction Model | |
This is a Deep Learning based **Stock Price Prediction** model, trained to forecast future stock prices based on historical data trends. | |
It uses LSTM (Long Short-Term Memory) networks for time-series analysis. | |
--- | |
## π How to Use | |
You can use this model directly with the Hugging Face Inference API: | |
```python | |
import requests | |
API_URL = "https://api-inference.huggingface.co/models/SelvaprakashV/stock-prediction-model" | |
headers = {"Authorization": f"Bearer YOUR_HUGGINGFACE_API_TOKEN"} | |
data = { | |
"inputs": "POWERGRID.NS" # Replace with your stock symbol | |
} | |
response = requests.post(API_URL, headers=headers, json=data) | |
print(response.json()) | |