Spaces:
No application file
No application file
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,10 +1,41 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
colorFrom: indigo
|
| 5 |
-
colorTo:
|
| 6 |
-
sdk:
|
| 7 |
-
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: DATFID
|
| 3 |
+
emoji: 📊
|
| 4 |
colorFrom: indigo
|
| 5 |
+
colorTo: blue
|
| 6 |
+
sdk: docker
|
| 7 |
+
app_file: shellmain.py
|
| 8 |
+
hidden: false
|
| 9 |
---
|
| 10 |
|
| 11 |
+
# 📊 DATFID: Transparent Forecasting and Regression via API v.0.1.1.5
|
| 12 |
+
|
| 13 |
+
DATFID is a backend-only API designed to provide **fast, interpretable regression results** on user-uploaded CSV/XLSX files — all with **full transparency** and **token-protected access**.
|
| 14 |
+
|
| 15 |
+
> 🛠️ Powered by FastAPI, Docker, and hosted on Hugging Face Spaces.
|
| 16 |
+
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
## 📦 What You Can Do
|
| 20 |
+
|
| 21 |
+
- ✅ Upload a CSV or Excel file and run an **OLS regression**
|
| 22 |
+
- ✅ Get **full regression output**, including:
|
| 23 |
+
- Coefficients
|
| 24 |
+
- P-values
|
| 25 |
+
- R-squared
|
| 26 |
+
- Summary table
|
| 27 |
+
- ✅ Authenticate securely using your **Hugging Face token**
|
| 28 |
+
|
| 29 |
+
---
|
| 30 |
+
|
| 31 |
+
## 🔐 Authentication
|
| 32 |
+
|
| 33 |
+
Access is **token-gated** via Hugging Face.
|
| 34 |
+
To use any secure endpoints:
|
| 35 |
+
|
| 36 |
+
1. Go to [huggingface.co/settings/tokens](https://huggingface.co/settings/tokens)
|
| 37 |
+
2. Create a token with `read` permissions
|
| 38 |
+
3. Use it as an **Authorization** header in your requests:
|
| 39 |
+
|
| 40 |
+
```http
|
| 41 |
+
Authorization: Bearer hf_your_token_here
|