Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fa-code2/Farm-Direct

Repository files navigation

AI driven platform connecting farmers and consumers with smart crop prediction

An intelligent and user-friendly platform that connects farmers directly with consumers while leveraging AI-powered crop yield prediction for smarter, data-driven farming decisions. With up to 99% prediction accuracy, this solution helps optimize agricultural output, reduce waste, and ensure better market access and transparency.

πŸš€ Features πŸ”— Farmer-to-Consumer Connection A seamless platform enabling direct sales and communication between farmers and end consumers.

🌱 Smart Crop Yield Prediction AI-powered yield forecasts using real-time inputs like rainfall, soil area, fertilizer, and pesticide usage.

πŸ“Š Visual Analytics Graphs and plots to compare predicted vs actual yield.

🧠 Machine Learning Integration Trained using Random Forest Regressor, scaled features, and PCA for better accuracy.

πŸ› οΈ Scalable Backend Easily extendable API structure for real-time data input and prediction.

πŸ“‚ Dataset πŸ“ Source: Crop yield dataset with features like State, Crop, Crop_Year, Season, Area, Rainfall, Fertilizer, Pesticide, and Yield.

✨ Preprocessing:

Label encoding for categorical data

Feature scaling using StandardScaler

Dimensionality reduction using PCA

-> Model Training Overview πŸ” Algorithm: RandomForestRegressor

πŸ“‰ Metrics:

MSE, RMSE R2 Score

πŸ§ͺ Test size: 20%

🎯 Accuracy: ~99% yield prediction for test data

πŸ”§ Running the React Frontend Server 1.Navigate to the frontend directory: cd frontend

2.Install dependencies: npm install

3.Start the React server: npm start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 86.8%
  • JavaScript 7.5%
  • CSS 5.5%
  • HTML 0.2%

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /