This repository contains a complete pipeline for predicting vomitoxin_ppb concentration in corn samples using both Machine Learning and Deep Learning approaches.
Corn_Vomitoxin_Prediction/
│
├── DeepCorn_Project_docker/ # Dockerized Inference API
│ └── README.md # Docker-specific documentation
│
├── EDA & ML Approach Notebook.ipynb # Traditional ML Pipeline
├── Deep Learning Notebook.ipynb # Deep Learning Pipeline
│
├── complete_df.csv # Original dataset
├── final_scaled_df.csv # Scaled input dataset
│
├── best_deepcorn_model.pth # PyTorch Model (Best Model)
├── DeepCorn_Best_Model_optimized.pth
├── DeepCorn_Best_Model_optimized_better_with_less_features.pth
├── DeepCorn_Best_Model_optimized_Pytorch_with_best_results.pth
│
├── requirements.txt # Project Dependencies
├── .gitignore # Files to Ignore
└── README.md # This Documentation
Predict the concentration of vomitoxin (ppb) in corn samples using spectral reflectance data from 0 to 447 bands.
jupyter notebook "EDA & ML Approach Notebook.ipynb"jupyter notebook "Deep Learning Notebook.ipynb"Navigate to the DeepCorn_Project_docker folder and follow the instructions in its README.md to run the dockerized model.
| File/Folder | Description |
|---|---|
EDA & ML Approach Notebook.ipynb |
Exploratory Data Analysis and Traditional ML Model |
Deep Learning Notebook.ipynb |
Deep Learning Model Training and Inference |
complete_df.csv |
Original Dataset |
final_scaled_df.csv |
Scaled Dataset (Input for Deep Model) |
DeepCorn_Best_Model_optimized.pth |
Best Deep Learning Model Weights |
requirements.txt |
Python Dependencies |
DeepCorn_Project_docker/ |
Dockerized Inference API |
Install all required packages:
pip install -r requirements.txt- Achieved the best performance with the deep learning model:
DeepCorn_Best_Model_optimized.pth - Improved performance on scaled input data (
final_scaled_df.csv)
cd DeepCorn_Project_dockerFollow the Docker README instructions to:
- Pull Docker Image
- Run Flask API
- Test the API for Inference
- Improve Model Robustness
- Deploy on Cloud Platform (AWS/GCP)
- Mohit Gupta