v1.0

Crop Recommender

Discover the most suitable crops for your soil conditions using smart machine learning recommendations

K-Nearest NeighborsAccuracy: 85.42%F1 Score: 0.85

Soil Analysis Parameters

Enter your soil test results to get personalized crop recommendations

πŸ§ͺ Acidity/alkalinity. Optimal: 6.0-7.0

πŸ’§ Water content. Optimal: 25-40%

🌑️ Regional climate. Optimal: 26-30°C

🌱 Leaf growth nutrient. Optimal: 40-60 PPM

🌾 Root development. Optimal: 20-35 PPM

πŸ’ͺ Overall health. Optimal: 120-180 PPM

πŸ“– How It Works

Our crop recommender uses K-Nearest Neighbors (KNN) with k=5 neighborsβ€”an instance-based machine learning algorithm that compares your soil's characteristics with 800 successful Philippine farm samples to recommend the most suitable crops based on similarity matching.

πŸ§ͺ Soil Analysis Factors:

  • πŸ§ͺ
    pH Level: Determines nutrient availability and crop compatibility
  • 🌱
    Nitrogen (N): Essential for leafy growth and protein synthesis
  • 🌾
    Phosphorus (P): Critical for root development and flowering
  • πŸ’ͺ
    Potassium (K): Strengthens disease resistance and overall health
  • πŸ’§
    Moisture & Temperature: Regional climate suitability

🌾 Recommended Crops (6 Major Philippine Crops):

🍌 BananaπŸ₯₯ Coconut🌽 CornπŸ₯­ Mango🌾 RiceπŸŽ‹ Sugarcane

πŸ“Š Model Performance:

Accuracy

85.42%

Very Good

F1 Score

0.85

Balanced

βœ“ Trained on 800 Philippine soil-crop samples
βœ“ Uses k=5 nearest neighbors for stable predictions
βœ“ Provides alternative crop suggestions with confidence scores