Views
No views yet
crop_model.pkl → Trained machine learning modelrequirements.txt → Required dependenciesapp.py → (Optional) Streamlit app for UIREADME.md → Project documentationpip install -r requirements.txt1import joblib
2import numpy as np
3
4# Load model
5model = joblib.load("crop_model.pkl")
6
7# Example input
8data = np.array([[90, 40, 40, 25, 80, 6.5, 200]])
9
10# Predict
11prediction = model.predict(data)
12
13print("Recommended Crop:", prediction[0])