Skip to content

About

Diamond Price Prediction using Linear Regression This project predicts the price of a diamond based on its carat weight using a Linear Regression ML model. The model is trained on a diamond dataset, evaluated using regression metrics such as MAE, MSE, RMSE, and R² score, and allows users to input a carat weight to get a predicted price.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Diamond Price Prediction Using Linear Regression

This project implements a machine learning regression model to predict diamond prices based on carat weight. The dataset is preprocessed by handling missing values and encoding categorical features. A Linear Regression model is trained using scikit-learn and evaluated with standard regression metrics including Mean Absolute Error (MAE), Mean Squared Error (MSE), Root Mean Squared Error (RMSE), and R² score. The project also includes data visualization to analyze the distribution of carat weight and price, as well as a scatter plot to show the relationship between them. Users can provide a carat weight as input, and the trained model predicts the corresponding diamond price.

About

Diamond Price Prediction using Linear Regression This project predicts the price of a diamond based on its carat weight using a Linear Regression ML model. The model is trained on a diamond dataset, evaluated using regression metrics such as MAE, MSE, RMSE, and R² score, and allows users to input a carat weight to get a predicted price.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages