File size: 1,130 Bytes
d1635b6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# 🎓 MHIS Student Program Predictor

This Space predicts the most suitable **MHIS program** for a student based on their academic performance and educational philosophy.

It uses a machine learning model (Random Forest) trained on real-world data with numeric and categorical features.

---

## 🚀 How to Use

1. **Enter the following student information:**
   - `ID`: Student ID number (numeric)
   - `GPA`: Grade Point Average (e.g., 3.8)
   - `Study Hours`: Between 0 and 24
   - `Ability to handle psychological & self-reliance`: From 0 to 100
   - `Philosophy`: Educational philosophy (e.g., Perennialism, Progressivism)

2. Click **Submit** to see the predicted MHIS program.

3. Try the **example inputs** to test the model easily.

---

## 🧠 Model Details

- **Algorithm**: Random Forest Classifier  
- **Preprocessing**:
  - Standard scaling of numeric features
  - One-hot encoding for categorical features
- **Target variable**: Program (categorical)

---

## 📦 Dependencies

Make sure the following packages are installed (via `requirements.txt`):

```txt
scikit-learn
pandas
numpy
gradio
matplotlib
seaborn