A simple web app that recommends the top 3 crops for given soil and weather conditions using a Random Forest model.
- Clone this repository / extract folder.
- Place the Figshare dataset CSV into
data/folder ascrop_data.csv. - Create a virtual environment and install dependencies: pip install -r requirements.txt
- Train the model: python train_model.py
- Run the Streamlit app: streamlit run app/app.py
- Enter feature values and see the top 3 recommended crops.