Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
@@ -10,4 +10,71 @@ pinned: false
|
|
10 |
license: apache-2.0
|
11 |
---
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
10 |
license: apache-2.0
|
11 |
---
|
12 |
|
13 |
+
# π Student Eligibility Prediction System
|
14 |
+
|
15 |
+
An AI-powered web application that predicts student eligibility using a Convolutional Neural Network (CNN) model built with TensorFlow/Keras.
|
16 |
+
|
17 |
+
## π Features
|
18 |
+
|
19 |
+
- **Single Prediction**: Real-time prediction for individual students
|
20 |
+
- **Batch Prediction**: Upload CSV files for bulk predictions
|
21 |
+
- **Interactive Dashboard**: Beautiful visualizations with prediction confidence
|
22 |
+
- **Model Analytics**: Performance metrics and feature information
|
23 |
+
- **Responsive Design**: Works on desktop and mobile devices
|
24 |
+
|
25 |
+
## π€ Model Information
|
26 |
+
|
27 |
+
- **Architecture**: 1D Convolutional Neural Network
|
28 |
+
- **Framework**: TensorFlow/Keras
|
29 |
+
- **Input**: Student features (grades, scores, etc.)
|
30 |
+
- **Output**: Binary classification (Eligible/Not Eligible) with probability
|
31 |
+
|
32 |
+
## π Usage
|
33 |
+
|
34 |
+
### Single Prediction
|
35 |
+
1. Enter student information in the input fields
|
36 |
+
2. Click "Predict Eligibility"
|
37 |
+
3. View the prediction, probability, and confidence scores
|
38 |
+
4. Analyze the interactive visualization dashboard
|
39 |
+
|
40 |
+
### Batch Prediction
|
41 |
+
1. Prepare a CSV file with the required columns
|
42 |
+
2. Upload the file using the file uploader
|
43 |
+
3. Click "Process Batch" to get predictions for all rows
|
44 |
+
4. Download the results with predictions and confidence scores
|
45 |
+
|
46 |
+
## π Required Files for Deployment
|
47 |
+
|
48 |
+
Make sure you have these files in your Hugging Face Space:
|
49 |
+
|
50 |
+
1. `app.py` - Main application file
|
51 |
+
2. `requirements.txt` - Python dependencies
|
52 |
+
3. `final_model.h5` - Trained CNN model
|
53 |
+
4. `scaler.pkl` - Fitted StandardScaler object
|
54 |
+
5. `metadata.json` - Model metadata and performance metrics
|
55 |
+
6. `README.md` - This documentation
|
56 |
+
|
57 |
+
## π§ Setup Instructions
|
58 |
+
|
59 |
+
1. Create a new Hugging Face Space
|
60 |
+
2. Choose "Gradio" as the SDK
|
61 |
+
3. Upload all required files
|
62 |
+
4. The app will automatically deploy and be accessible via the provided URL
|
63 |
+
|
64 |
+
## π Model Performance
|
65 |
+
|
66 |
+
The model achieves high accuracy on student eligibility prediction with:
|
67 |
+
- Comprehensive feature analysis
|
68 |
+
- Regularization techniques (Dropout, BatchNormalization)
|
69 |
+
- Early stopping and learning rate scheduling
|
70 |
+
- ROC-AUC scoring for balanced evaluation
|
71 |
+
|
72 |
+
## π€ Contributing
|
73 |
+
|
74 |
+
Feel free to fork this project and submit pull requests for improvements!
|
75 |
+
|
76 |
+
## π License
|
77 |
+
|
78 |
+
This project is open source and available under the MIT License.
|
79 |
+
|
80 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|