This is a Streamlit application that predicts suitable crops based on soil and environmental parameters.
- Input parameters for nitrogen, phosphorus, potassium, temperature, humidity, pH value, and rainfall.
- Predicts the recommended crop based on the input parameters using a trained machine learning model.
- Python 3.13
- Streamlit
- Joblib
- NumPy
- Scikit-learn
- Clone the repository or download the files.
- Navigate to the project directory:
cd C:\Users\admin\Documents\CROP_RECOMMENDER
- Install the required packages
pip install streamlit joblib numpy pillow scikit-learn
Usage Run the Streamlit app
C:\Program Files\Python313\python.exe -m streamlit run app.py
- Open your web browser and go to http://localhost:8501 to access the app. Input Parameters Nitrogen content (N): Amount of nitrogen in the soil. Phosphorus content (P): Amount of phosphorus in the soil. Potassium content (K): Amount of potassium in the soil. Temperature (°C): Ambient temperature. Humidity (%): Percentage of humidity. pH value of soil: pH level of the soil. Rainfall (mm): Amount of rainfall.
License This project is licensed under the MIT License.
Make sure to save the changes to your file.