Aryan commited on
Commit
076c2bf
Β·
1 Parent(s): 851d0ce

added readme file

Browse files
Files changed (1) hide show
  1. README.md +30 -21
README.md CHANGED
@@ -1,35 +1,44 @@
1
  ---
2
- title: Student Performance Predictor
3
  emoji: πŸ“Š
4
  colorFrom: blue
5
- colorTo: indigo
6
  sdk: docker
7
  app_file: app.py
8
  pinned: false
9
  ---
10
 
11
- # Student Performance Predictor πŸŽ“
12
 
13
- This is an ML web app that predicts student math scores based on:
14
- - Gender
15
- - Race/Ethnicity
16
- - Parental Education Level
17
- - Lunch Type
18
- - Test Preparation Course
19
- - Reading Score
20
- - Writing Score
21
 
22
- ## How to Use
23
 
24
- 1. Visit the app
25
- 2. Fill in the student details
26
- 3. Get the predicted math score
27
 
28
- ## Tech Stack
29
- - Flask (Backend)
30
- - Scikit-learn (ML Model)
31
- - Docker (Deployment)
32
 
33
- ---
 
 
 
 
 
 
 
 
 
34
 
35
- ## Your project description here...
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: Math Score ML Project
3
  emoji: πŸ“Š
4
  colorFrom: blue
5
+ colorTo: purple
6
  sdk: docker
7
  app_file: app.py
8
  pinned: false
9
  ---
10
 
11
+ # Math Score Predictor
12
 
13
+ A machine learning project to predict math scores based on student attributes and test preparation.
 
 
 
 
 
 
 
14
 
15
+ ## Features
16
 
17
+ - Predicts math scores using reading and writing scores plus student demographics
18
+ - Built with Flask and scikit-learn
19
+ - Docker containerized for easy deployment
20
 
21
+ ## How to Run Locally
 
 
 
22
 
23
+ ```bash
24
+ pip install -r requirements.txt
25
+ python app.py
26
+ ```
27
+
28
+ Then visit `http://localhost:7860`
29
+
30
+ ## API Usage
31
+
32
+ Send a POST request to `/predict` with JSON data:
33
 
34
+ ```json
35
+ {
36
+ "gender": "male",
37
+ "race": "group A",
38
+ "parental_education": "some high school",
39
+ "lunch": "standard",
40
+ "test_preparation_course": "none",
41
+ "reading_score": 72,
42
+ "writing_score": 74
43
+ }
44
+ ```