Skip to content

SangamithraS15707/Crop-Prediction-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crop Prediction App

This is a Streamlit application that predicts suitable crops based on soil and environmental parameters.

Features

  • 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.

Requirements

  • Python 3.13
  • Streamlit
  • Joblib
  • NumPy
  • Scikit-learn

Installation

  1. Clone the repository or download the files.
  2. Navigate to the project directory:
    cd C:\Users\admin\Documents\CROP_RECOMMENDER 
  3. 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

  1. 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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages