How priyanshu-18-soni/admission-predictor works
This is a Streamlit graduate-admission predictor. A student enters seven applicant attributes, submits them, and receives a predicted admission probability with a threshold-based interpretation. The app loads a saved Linear Regression model or trains one from the CSV when loading fails; a separate script can train and save the model. The source excerpts show these flows, but the CSV and serialized model contents were not inspected.
Main entry points: app.py Prediction · train_model.py Training script · model.pkl Saved model · admission_data.csv Applicant dataset
Components 10
Student experience
- Applicant form
app.py - Input encoding
app.py - Chance result
app.py
Prediction runtime
- Model loader
app.py - Prediction
app.py - Fallback training
app.py - Saved model
model.pkl
Model training
- Applicant dataset
admission_data.csv - Training script
train_model.py
Other components
- Student
Connections 11
- Student → Applicant form: enters scores
README.md - Applicant form → Input encoding: collects inputs
app.py - Input encoding → Prediction: submits features
app.py - Model loader → Saved model: loads model
app.py - Model loader → Fallback training: trains if needed
app.py - Fallback training → Applicant dataset: reads data
app.py - Fallback training → Prediction: fits model
app.py - Model loader → Prediction: provides model
app.py - Prediction → Chance result: predicts chance
app.py - Training script → Applicant dataset: reads data
train_model.py - Training script → Saved model: saves model
train_model.py