This Python script is designed to predict diamond prices using machine learning techniques. It utilizes the following libraries:
-pandas for data manipulation
-numpy for numerical computations
-matplotlib for plotting
-scikit-learn for preprocessing, model selection, and metrics
-xgboost for gradient boosting
-joblib to save the trained model
-streamlit for the front end
1. Make sure python as well as the correct versions of all packages and dependencies are installed.
2. Run using streamlit app.py.
3. Input the carat, length, breadth, width, cut, color and clarity of the diamond.
4. Click to predict button to obtain the predicted price.