Skip to main content

Diamond Price Prediction Using Data Mining Techniques

  • Conference paper
  • First Online:
Proceedings of the 4th International Conference on Research in Management and Technovation (ICRMAT 2023)

Abstract

Data mining is the technique of uncovering different patterns and finding relationships and anomalies in the large datasets. It is used for the extraction of valuable information from the available data present in the form of a dataset. Prediction has been proposed as one of the useful techniques of data mining which can be used for predicting about future trends. Generally, regression is preferred for prediction. In a regression problem, the final output is calculated as the mean of all outputs, which is also called Aggregation. In this paper, a diamonds dataset was downloaded from Kaggle. The dataset consists of 53,940 instances and 10 features. The following dimensions were used for predicting the prices of a diamond: carat, cut, color, clarity, depth, table, price, x, y and z. Based on the above, three regression algorithms, i.e., Random Forest Regressor, K-Neighbors Regressor and Decision Tree Regressor and one optimization technique, i.e., Particle Swarm Optimization had been applied and the performance of the four algorithms were compared based on different performance and validation metrics such as testing accuracy (R2-score), Mean Absolute Error (MAE) and Root Mean Squared Error (RMSE). The testing accuracy of Random Forest Regressor was found to be 0.9822175620286142, Particle Swarm Optimization 0.9809447466912986, K-Neighbors Regressor 0.9683118493918951 and Decision Tree Regressor 0.9675318135094464. It was observed that the testing accuracy of Random Forest Regressor was the best as compared to the rest others.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 189.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 249.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Difference between supervised, unsupervised, & reinforcement learning. NVIDIA Blog. https://blogs.nvidia.com/blog/2018/08/02/supervised-unsupervised-learning/. Last accessed 21 Oct 2019

  2. Difference between classification and regression in machine learning. Machine Learning Mastery Website. https://machinelearningmastery.com/classification-versus-regression-in-machine-learning/. Last accessed 21 Oct 2019

  3. Kaggle, D.: https://www.kaggle.com/shivam2503/diamonds. Last accessed 05 Dec 2019

  4. Alsuraihi, W. et al.: Machine learning algorithms for diamond price prediction. In: Proceedings of the 2020 2nd international conference on image, video and signal processing (2020)

    Google Scholar 

  5. Diamonds in-depth analysis. https://kaggle.com/fuzzywizard/diamonds-in-depth-analysis. Last accessed 05 Dec 2019

  6. Diamond price modelling. https://kaggle.com/tobby1177/diamond-price-modelling. Last accessed 05 Dec 2019

  7. Mihir H et al. Diamond price prediction using machine learning. In: 2nd International conference on communication, computing and industry 4.0 (C2I4), Bangalore, India (2021)

    Google Scholar 

  8. Data preprocessing for machine learning in Python. GeeksforGeeks Website. https://www.geeksforgeeks.org/data-preprocessing-machine-learning-python/,last. Last accessed 05 Dec 2019

  9. Random forest and its implementation. Medium Website. https://towardsdatascience.com/random-forest-and-its-implementation-71824ced454f. Last accessed 05 Dec 2019

  10. Mean absolute error (MAE) and root mean squared error (RMSE). http://www.eumetrain.org/data/4/451/english/msg/ver_cont_var/uos3/uos3_ko1.htm. Last accessed 21 Oct 2019

  11. A gentle introduction to k-fold cross-validation. Machine Learning Mastery Website. https://machinelearningmastery.com/k-fold-cross-validation/. Last accessed 21 Oct 2019

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Kalpa Nigam Acharya .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Acharya, K.N., Senapati, M.R. (2024). Diamond Price Prediction Using Data Mining Techniques. In: Nguyen, T.H.N., Burrell, D.N., Solanki, V.K., Mai, N.A. (eds) Proceedings of the 4th International Conference on Research in Management and Technovation. ICRMAT 2023. Springer, Singapore. https://doi.org/10.1007/978-981-99-8472-5_8

Download citation

Publish with us

Policies and ethics