A machine learning model to determine the best crop based on soil elements, temperature, humidity, and rainfall.
Input
- N - ratio of Nitrogen (NH4+) content in soil
- P - ratio of Phosphorous (P) content in soil
- K - ratio of Potassium (K) content in soil
- temperature
- humidity
- ph
- rainfall
Target
- Recommended crop
- Data Loading and Discovery
- Choose a Model:
- Random Forest Classifier
- GaussianNB
- SVC
- Logistic Regression
- DecisionTreeClassifier
- Testing
- Train Accuracy = 100%
- Test Accuracy = 99.3%