Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,15 +1,46 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
-
|
| 14 |
-
|
| 15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
```
|