Application of Ensemble Method to Predict Individual Pork Prices Using Multi-SourceInformation

Project Code :TCMAPY2312

Objective

The Pork Price Prediction System aims to accurately predict pork market prices using a Stacking Ensemble(Lightgbm,Ridge regression, KNN) model, based on six key features: weight, backfat thickness, muscle percentage, feed price, market search volume, and electricity cost, achieving an R² score of 0.9929. The system is built as an interactive Flask-based web application, allowing users to register, log in, and input production data for personalized price predictions. It also supports batch processing through CSV file uploads, enabling users to process multiple records and store predictions in a SQL database. The platform offers model transparency, displaying performance metrics such as R², RMSE, MAE, and MAPE, as well as feature importance analysis to help users understand which factors impact price predictions.

Abstract

The Pork Price Prediction System is a web-based application developed using Flask and SQLite, designed to forecast pork market prices based on multiple production and economic factors. The system integrates a Random Forest Regressor machine learning model to predict prices with high accuracy, leveraging key input parameters including animal weight, backfat thickness, muscle percentage, feed price, market search volume, and electricity cost. Users can register, log in, and access a user-friendly interface where they input production data to receive instant price predictions. The system also supports batch processing through CSV file uploads, enabling users to analyze multiple records simultaneously. All predictions are stored in a SQLite database, allowing users to track their prediction history and view statistical summaries on a personalized dashboard. The model's performance is evaluated using metrics such as R² score (0.9929), RMSE (41.95), and feature importance analysis, providing users with transparency into which factors most influence price outcomes. Additional features include secure user authentication with password hashing, session management, and a dedicated model information page displaying performance metrics and feature contributions. This system can be utilized by pork farmers, livestock traders, agricultural cooperatives, and market analysts to make data-driven decisions regarding production planning, inventory management, and market timing. With its scalable architecture and integration capabilities, the Pork Price Prediction System offers an effective, data-driven solution for navigating the complexities of livestock market dynamics.

Keywords:

Pork Price Prediction, Machine Learning, Random Forest Regressor, Flask Web Application, Agricultural Technology, Livestock Market Analysis, Price Forecasting, Ensemble Learning, SQLite Database, Predictive Analytics, Agricultural Decision Support, Data-Driven Farming, Swine Production, Market Price Prediction, Feature Importance Analysis, Batch Processing, CSV Data Upload, User Authentication, Web-Based Prediction System, Livestock Economics, Agricultural Informatics, Smart Farming, Pork Industry, Price Modeling, Production Optimization

NOTE: Without the concern of our team, please don't submit to the college. This Abstract varies based on student requirements.

Block Diagram

Specifications

4.1 SOFTWARE REQUIREMENS

 

Operating System: Windows 7/8/10

Server-Side Script: HTML, CSS, Bootstrap & JS

Programming Language: Python

Libraries: Flask, Pandas, Scikit-learn, Numpy, Seaborn

IDE/Workbench: VSCode

Server Deployment: XAMPP Server

Database: MySQL

4.2 HARDWARE REQUIREMENTS

Processor: I3/Intel Processor

RAM: 8GB (min)

Hard Disk: 128 GB

Keyboard: Standard Windows Keyboard

Mouse: Two or Three Button Mouse

Monitor: Any

Demo Video

mail-banner
call-banner
contact-banner
Request Video