Skip to content

Mahenoor-Merchant/DiamondPricePrediction

Repository files navigation

Diamond Price Prediction : An Advance Machine Learning Project

Diamonds are precious gemstones that are evaluated based on their unique features, known as the "Four Cs": carat, cut, color, and clarity. These factors, along with additional aspects such as depth and table, play a crucial role in determining a diamond's value. Diamond price prediction is the process of estimating the value or cost of a diamond based on various factors and characteristics. It involves using data analysis, statistical modeling, and machine learning techniques to predict the market price or worth of a diamond.

Requirements

Installation and Usage

To install webApp, follow these steps:

Environment Setup

conda create -p venv python==3.9
conda activate venv/
  1. Clone the repository:
git clone https://github.com/Mahenoor-Merchant/DiamondPricePrediction.git
  1. Navigate to the project directory:
cd DiamondPricePrediction
  1. Install dependencies:
pip install -r requirements.txt
  1. Set up :
python application.py
  1. Start the server:
http://127.0.0.1:5000/

Notebook

Used dataset is present on kaggle

In Details

├──  artifacts                    - here's the model pickle and dataset files.
│    └── preprocessor.pkl  
│    └── model.pkl
│    └── raw.csv
│    └── train.csv
│    └── test.csv
│
│
├──  Logs  
│    └── time_format.log          - here's the specific run log files.
│ 
│
├──  notebooks  
│    └── EDA.ipynb                        - here's the EDA notebook.
│    └── Model-training.ipynb             - here's the model training notebook.
│    └── data 		                        - here's the folder for dataset.
│          └── gemstone.csv               - here's the dataset present about diamond details.
│
│
├──  prediction_tries
│   ├── prediction.py                     - code to predict the price for test_data.
│   └── test_data.csv                     - here's the test_data.
│   └── test_pred.csv                     - here's the predicted values for test_data(it will generate after running prediction.py).
│
│
│
├── src                                   - The "src" folder, short for "source".
│   └── exception.py                      - Exception handling.
│   └── logger.py                         - log file handling.
│   └── utils.py                          - util functions.
│   └── components
│          └── data_ingestion.py          - code for data ingestion.
│          └── data_transformation.py     - code for data transformation.
│          └── model_trainer.py           - code for model training.
│   └── pipelines
│          └── prediction_pipeline.py     - code for model prediction 
│          └── training_pipeline.py       - code for training of model 
│
│
│
│
│
├── templates                             - this folder contains html files.
│   └── home.html
│   └── form.html
│ 
│ 
├── application.py                        - Code for webapp running.
│					
└──setup.py                               - project's metadata and configuration details

Contributing

Any kind of enhancement or contribution is welcomed.

Contact

If you have any questions, feedback, or suggestions, feel free to reach out to us at mailto:merchant0710@gmail.com.

About

Diamond Price Prediction is an advanced machine learning project that predicts the market price of diamonds based on various factors and characteristics. The project utilizes the "Four Cs" of diamonds (carat, cut, color, and clarity) along with additional features like depth and table to estimate the diamond's value.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors