This project trains and evaluates models to predict vomitoxin levels in spectral data.
📂 Spectral-Data-Prediction
├── model_training.py # Python script for data preprocessing, training, and saving models
├── report.md # Summary of preprocessing, modeling, and results
├── README.md # Instructions for setup and usage
├── streamlit_app.py # Streamlit app for interactive predictions
pip install -r requirements.txtpython model_training.pystreamlit run streamlit_app.py| Model | MAE | RMSE | R² Score |
|---|---|---|---|
| Base RandomForest | 2763.82 | 9702.07 | 0.6633 |
| Fine-Tuned RF | 2709.87 | 9389.32 | 0.6846 |
| Stacking (RF + XGBoost) | 2519.89 | 8467.57 | 0.7435 |