jackenmail commited on
Commit
93ef494
·
verified ·
1 Parent(s): 4cbd56f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +46 -15
README.md CHANGED
@@ -1,15 +1,46 @@
1
- ---
2
- title: Predictor
3
- emoji: 💻
4
- colorFrom: purple
5
- colorTo: indigo
6
- sdk: gradio
7
- sdk_version: 6.14.0
8
- python_version: '3.13'
9
- app_file: app.py
10
- pinned: false
11
- license: apache-2.0
12
- short_description: 'A supervised machine learning workflow '
13
- ---
14
-
15
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Student Placement Predictor
2
+
3
+ A machine learning web app that predicts whether a student will be selected based on their **CGPA** and **IQ**.
4
+
5
+ ## Demo
6
+
7
+ Try it live on [Hugging Face Spaces](https://huggingface.co/spaces/jackenmail/predictor)
8
+
9
+ ## How It Works
10
+
11
+ Enter a student's CGPA and IQ score, and the model predicts:
12
+ - **User will select** the student is likely to be selected
13
+ - **User will not select** — the student is unlikely to be selected
14
+
15
+ The model uses a **Logistic Regression** pipeline with **StandardScaler** preprocessing trained on student placement data.
16
+
17
+ ## Inputs
18
+
19
+ | Field | Description |
20
+ |-------|-------------|
21
+ | CGPA | Cumulative Grade Point Average (e.g. 7.5) |
22
+ | IQ | IQ score (e.g. 120) |
23
+
24
+ ## Tech Stack
25
+
26
+ - [Gradio](https://gradio.app/) — web UI
27
+ - [scikit-learn](https://scikit-learn.org/) — ML model
28
+ - [joblib](https://joblib.readthedocs.io/) — model serialization
29
+ - [NumPy](https://numpy.org/) — numerical processing
30
+
31
+ ## Run Locally
32
+
33
+ ```bash
34
+ pip install -r requirements.txt
35
+ python app.py
36
+ ```
37
+
38
+ Then open `http://localhost:7860` in your browser.
39
+
40
+ ## Files
41
+
42
+ ```
43
+ app.py # Gradio app and prediction logic
44
+ model.pkl # Trained scikit-learn pipeline (StandardScaler + LogisticRegression)
45
+ requirements.txt # Python dependencies
46
+ ```