How ab007shetty/crop-management-system works
Crop Management System is a farmer-facing PHP/HTML application whose main workflow is entering farm, soil, or regional details and receiving one of five machine-learning recommendations or predictions. Feature pages provide the input/result interface; Python scripts or models implement the prediction logic, with sampled PHP pages invoking Python directly. The README documents all five capabilities, but several page-to-model connections and model internals were not sampled, so those links are omitted. The graph includes only source-supported runtime relationships and documented user workflows.
Main entry points: fertilizer_recommendation.php Fertilizer Recommendation · yield_prediction.php Yield Prediction · ZDecision_Tree_Model.py Decision Tree · rainfall_prediction.py Rainfall Predictor
Components 17
Web Interface
- Home Page
index.php - Page Header
header.php - Navigation
nav.php - Page Footer
footer.php
Crop Decisions
- Crop Prediction
crop_prediction.php - Decision Tree
ML/crop_prediction/ZDecision_Tree_Model.py - Prediction Runner
ML/crop_prediction/ZDecision_Tree_Model_Call.py - Crop Recommendation
crop_recommendation.php - Crop Recommender
ML/crop_recommendation/recommend.py
Soil & Weather
- Fertilizer Recommendation
fertilizer_recommendation.php - Fertilizer Model
ML/fertilizer_recommendation/fertilizer_recommendation.py - Rainfall Prediction
rainfall_prediction.php - Rainfall Predictor
ML/rainfall_prediction/rainfall_prediction.py - Rainfall Dataset
ML/rainfall_prediction/rainfall_in_india_1901-2015.csv
Production Forecasts
- Yield Prediction
yield_prediction.php - Yield Predictor
ML/yield_prediction/yield_prediction.py
Other components
- Farmer
Connections 9
- Farmer → Crop Prediction: enters location
README.md - Farmer → Crop Recommendation: enters soil data
README.md - Farmer → Fertilizer Recommendation: enters soil data
README.md - Farmer → Rainfall Prediction: enters region
README.md - Farmer → Yield Prediction: enters farm data
README.md - Fertilizer Recommendation → Fertilizer Model: runs Python
fertilizer_recommendation.php - Yield Prediction → Yield Predictor: runs Python
yield_prediction.php - Rainfall Predictor → Rainfall Dataset: reads dataset
ML/rainfall_prediction/rainfall_prediction.py - Decision Tree → Prediction Runner: model handoff