Model: Novadotgg/Crop-recommendation
Author: Novadotgg
Pipeline: question-answering
Library: sklearn
Tags: sklearn, tabular-classification, random-forest, crop-recommendation, agriculture, question-answering, en, region:us
Card metadata: model_name: Crop Recommendation Model using Random Forest
tags: tabular-classification, sklearn, random-forest, crop-recommendation, agriculture
library_name: sklearn
inference: yes
model_description: This crop recommendation model uses a Random Forest classifier to recommend the best crop
based on environmental factors such as soil nutrients (N, P, K), pH, temperature, rainfall,
and humidity. The model is trained to assist farmers in making optimal crop choices based on 
available agricultural data.

**Features Used:**
- Nitrogen (N)
- Phosphorus (P)
- Potassium (K)
- pH
- Temperature
- Rainfall
- Humidity

**Example Usage:**
```python
import joblib
model = joblib.load("crop.pkl") prediction = model.predict([[N, P, K, pH, temperature, rainfall, humidity]]) print("Recommended Crop:", prediction)

metrics: accuracy
language: en
pipeline_tag: question-answering
Likes: 3 | All-time downloads: 0
Created: 2025-01-31 18:43:26