Dr. Kaung Myat Khant
2025-04-29
This app can be used to predict the price of a diamond based on its colour, clarity and mass in carat. You can also specify which cut of the diamonds you want to use as a dataset in predicting the price.
| cut | color | clarity | carat | price |
|---|---|---|---|---|
| Ideal | E | SI2 | 0.23 | 326 |
| Premium | E | SI1 | 0.21 | 326 |
| Good | E | VS1 | 0.23 | 327 |
| Premium | I | VS2 | 0.29 | 334 |
| Good | J | SI2 | 0.31 | 335 |
You can access the application here:
https://8odfh6-kmk-27.shinyapps.io/predictdiamondprice
You can access the files for the application in the following github
repository:
https://github.com/kaungMyat-Khant/Shiny-Course-project.git
First, select the cuts of the diamonds to define the dataset to use.
Then, select the colour, clarity and mass (carat) of the diamond you want to predict the price.
Click Predict button.