Spaces:
Sleeping

otito254 commited on
Commit
3c9368c
·
1 Parent(s): 43280d3

README error

Browse files
Files changed (1) hide show
  1. README.md +30 -16
README.md CHANGED
@@ -1,16 +1,30 @@
1
- # EPL Match Outcome Predictor
2
-
3
- A production-ready FastAPI backend that ingests historical EPL data from football-data.co.uk,
4
- stores it in Supabase, engineers features, and serves predictions via a Random Forest model.
5
-
6
- ## Quick Start
7
- ```bash
8
- cp .env.example .env # fill in your credentials
9
- pip install -r requirements.txt
10
- python scripts/ingest_seasons.py # loads all CSV seasons into Supabase
11
- python scripts/train_model.py # trains and saves the model
12
- uvicorn app.main:app --reload # start the API
13
- ```
14
-
15
- ## Seasons Available
16
- 1011, 1112, 1213, 1314, 1415, 1516, 1617, 1718, 1819, 1920, 2021, 2122, 2223, 2324, 2425
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: EPL Predictor API
3
+ emoji: ⚽
4
+ colorFrom: blue
5
+ colorTo: green
6
+ sdk: docker
7
+ pinned: false
8
+ ---
9
+
10
+ # EPL Predictor API
11
+
12
+ FastAPI backend for Premier League match prediction and value-bet analysis.
13
+
14
+ ## What it does
15
+
16
+ - Predicts match outcomes: Home Win, Draw, Away Win.
17
+ - Uses an ensemble ML model with engineered football features.
18
+ - Supports upcoming fixtures and optional odds-based EV analysis.
19
+
20
+ ## Main endpoints
21
+
22
+ - `GET /health`
23
+ - `POST /api/v1/predict`
24
+ - `GET /api/v1/predict/upcoming?limit=20`
25
+
26
+ ## Notes
27
+
28
+ - This Space runs with Docker.
29
+ - The frontend should call this API using the deployed Space URL.
30
+ - Make sure your environment variables are configured in the Space settings.