How nikunj069/driver_fault_classification works
This is a Streamlit application for classifying driver responsibility in motor-vehicle crashes. Users enter one crash record or upload a batch; the app prepares features, runs the trained model, and presents fault classifications and confidence for download. The README documents these capabilities, while the sampled app.py excerpts show the UI, some feature preparation, and result rendering. Several implementation details are omitted from the excerpts, so documented but unsampled links cite the README.
Main entry points: app.py Streamlit app · best_model.pkl Trained model
Components 10
User Interface
- Streamlit app
app.py - Single-entry form
app.py - Batch upload
app.py - CSV template
app.py
Prediction
- Feature preparation
app.py - Trained model
model/best_model.pkl - Fault prediction
app.py
Results
- Results preview
app.py - CSV export
app.py
Other components
- Driver
Connections 10
- Driver → Streamlit app: uses
README.md - Streamlit app → Single-entry form: offers
README.md - Streamlit app → Batch upload: offers
README.md - Batch upload → CSV template: downloads
README.md - Single-entry form → Feature preparation: prepares fields
README.md - Batch upload → Feature preparation: prepares records
README.md - Feature preparation → Fault prediction: provides features
app.py - Fault prediction → Trained model: uses
README.md - Fault prediction → Results preview: returns predictions
README.md - Results preview → CSV export: exports results
README.md