Empowering farmers with data-driven insights to make informed agricultural decisions. This comprehensive solution combines machine learning predictions with an intuitive mobile application to optimize crop yields based on climatic and agricultural conditions, making small to medium-sized farming operations more productive and sustainable worldwide.
Data Source: Kaggle
Watch the project in action:
The API is live and ready to use!
π API Documentation: https://linear-regression-model-aef5.onrender.com/documentation/
- Flutter SDK (>=3.7.2)
- Android Studio / VS Code
- Git
# 1. Clone the repository
git clone https://github.com/MikeManzi/linear_regression_model.git
# 2. Navigate to the Flutter app directory
cd linear_regression_model/summative/flutterapp
# 3. Install dependencies
flutter pub get
# 4. Run the app
flutter runlinear_regression_model/
βββ π linear_regression/ # ML model training & analysis
β βββ crop_yield_prediction.ipynb
β βββ crop_yield.csv
β βββ optimal_crop_yield_model.pkl
βββ π§ summative/
β βββ π api/ # Flask REST API
β β βββ app.py
β β βββ requirements.txt
β β βββ optimal_crop_yield_model.pkl.gz
β βββ π± flutterapp/ # Mobile application
β βββ lib/
β βββ pubspec.yaml
β βββ README.md
βββ π README.md