Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🌾 SmartHinga Crop Yield Prediction

Deployment Status Flutter Machine Learning

🎯 Mission

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


πŸŽ₯ Demo

Watch the project in action:

YouTube Demo


πŸš€ Live Deployment

The API is live and ready to use!

πŸ”— API Documentation: https://linear-regression-model-aef5.onrender.com/documentation/


πŸ“± Getting Started with the Mobile App

Prerequisites

  • Flutter SDK (>=3.7.2)
  • Android Studio / VS Code
  • Git

Quick Setup

# 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 run

πŸ“‚ Project Structure

linear_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

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages