File size: 774 Bytes
d668e42 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# data-intelligence-management-import-development
Time series forecasting model for import development prediction.
## Model details
- Task: Time series forecasting
- Architecture: LSTM-based model
- Input: 5 time steps
- Output: 5 future predictions
## Usage with Hugging Face Inference API
```python
import requests
API_URL = "https://api-inference.huggingface.co/models/data-intelligence-management-import-development"
headers = {"Authorization": "Bearer YOUR_API_TOKEN"}
def query(data):
response = requests.post(API_URL, headers=headers, json={"inputs": data})
return response.json()
# Example input: last 5 time steps
data = [10, 15, 20, 25, 30]
predictions = query(data)
print(predictions) # Returns 5 future predictions
```
|