A Soil Health Dashboard that converts raw sensor logs into actionable agricultural intelligence.
Lack of actionable insights from raw soil sensor data.
Modern farms use sensors to monitor soil parameters like pH, moisture, nitrogen levels, and temperature. However, raw logs provide limited value without structured analysis. Farmers need interpretation of soil health trends to determine planting windows and manage crop health, avoiding false-positive alerts and missed early signals of degradation.
Farmers, Agronomists, and Agricultural Extension Workers.
- Inability to automatically ingest and analyze time-series soil sensor data.
- Lack of tools tracking long-term soil health trends.
- No automated detection of critical soil parameter threshold breaches.
- Missing correlation between current soil parameters and historical yield data.
- Absence of actionable, data-driven planting recommendations.
Raw sensor data is voluminous and complex. Identifying non-linear relationships (e.g., how pH and moisture affect nutrient availability) is difficult manually, leading to reactive rather than proactive farming practices.
Build a centralized dashboard that processes CSV sensor logs using Machine Learning (Random Forest) to unearth trends, correlate multiple parameters, and generate meaningful alerts and planting recommendations.
SoilSense is an intelligent dashboard tailored for agriculture. It ingests sensor data, applies an ML model to determine soil health and suitable crops, and visualizes the findings on an easy-to-read interface.
Move from raw data to actionable agricultural intelligence using a robust ML model capable of handling non-linear real-world variables.
- CSV Data Ingestion: Easy upload of raw sensor logs.
- Trend Visualization: Graphical representation of soil parameters over time.
- Intelligent Alerts: Detection of threshold breaches without overwhelming the user with false positives.
- Planting Recommendations: Suggests optimal yield crops based on current soil conditions.
Sensor Data (CSV) -> Data Preprocessing -> ML Model Prediction -> Backend Processing -> Visual Dashboard (Frontend)
Crop Recommendation Dataset(Kaggle)
Kaggle
Tabular data containing N, P, K, temperature, humidity, ph, rainfall, and target crop labels.
It provides a comprehensive baseline of how different soil parameters correlate with specific crop requirements, ideal for training a recommendation engine.
Random Forest Classifier
Handles non-linear relationships between variables (like how pH and Rainfall affect NPK absorption) much better than simple linear models. It is highly resistant to "overfitting," meaning it generalizes well to new, unseen sensor data.
Gaussian Naive Bayes: Secondary option. Fast and effective for smaller datasets, often reaching up to 99% accuracy on standard tabular crop data.
- Frontend: HTML, CSS, JavaScript (or a simple framework if chosen later)
- Backend: Python (Flask/FastAPI or simple script)
- ML/AI: Scikit-learn (Python), Pandas, NumPy
- Data Visualization: Matplotlib / Chart.js
Deliverables: Finalized dataset, selected model workflow, and UI sketches.
Deliverables: Cleaned dataset, trained Random Forest model, and saved model weights (.pkl file).
Deliverables: Python script to load data, run predictions, and pass results to the dashboard.
Deliverables: Basic dashboard to visualize data and display alerts/recommendations.
- User uploads a CSV file containing recent sensor logs.
- The system parses the data array and handles missing values.
- The Random Forest model evaluates the data against trained thresholds.
- The dashboard updates to show parameter trends, triggers any necessary alerts (e.g., Low Nitrogen), and recommends the best crop for the current season.
- Deployed Link: https://soil-sense-three.vercel.app/
- Google Drive Link:https://drive.google.com/drive/folders/132P1dELqMbG9LacfPhwKVwsYtCeuFAy_?usp=sharing
SoilSense transforms farming from a reactive task to a proactive, data-driven science. By accurately interpreting soil health, it prevents soil degradation, optimizes resource application (fertilizers/water), and ultimately improves sustainable crop yields.