This project is a machine learning model designed to predict food prices based on input features. It's developed for a Hackathon project (Farm Food Hub) with Africa Agility.
# 🧠 Price Prediction Model
This repository contains a machine learning project aimed at predicting the price of food items based on provided features using regression techniques. The project was developed using a Jupyter Notebook, with steps including data preprocessing, model training, and evaluation.
## 📌 Project Overview
- **Objective:** Predict product prices using features such as category, weight, quantity, etc.
- **Dataset:** A CSV file containing sample data related to products (e.g., name, price, weight, quantity, etc.)
- **Model Used:** Linear Regression
- **Evaluation Metric:** R² Score and Mean Squared Error (MSE)
## 🧱 Workflow Summary
1. **Data Preprocessing:**
- Removed irrelevant columns
- Handled null values
- Converted data types
- Encoded categorical features
2. **Exploratory Data Analysis (EDA):**
- Plotted correlation heatmaps
- Visualized relationships between variables
3. **Model Training:**
- Used `train_test_split` to divide the dataset
- Trained a Linear Regression model
- Evaluated with R² Score and MSE
4. **Model Performance:**
- R² Score: *Displayed in notebook*
- MSE: *Displayed in notebook*
## 🛠️ Technologies Used
- Python
- Jupyter Notebook
- Pandas, NumPy
- Matplotlib, Seaborn
- Scikit-learn
## 🙌 Acknowledgements
This project was created as part of my machine learning learning journey. Feel free to fork and use for your own projects.
## 📬 Contact
For feedback or collaboration, reach out to me via LinkedIn (
linkedin.com) or email (omegorchisom25@gmail.com).
## 🗂️ How to Use
1. Clone the repo:
```bash
git clone
github.com
cd price-prediction-model