
Explore how to predict car prices using data analysis, build and evaluate a machine learning model, and deploy it with a local server, a code repository, and Heroku.
Identify the essential packages for the car price prediction project and learn to install them with pip, either one by one or all at once via a requirements file.
Create a data project with data and notebook folders, import key libraries (pandas, numpy, seaborn, scikit-learn, joblib), and prepare for data understanding, cleaning, and model building.
Learn to load car price data from an Excel file, explore the data dictionary and column meanings, and preview the dataset in a pandas-powered Jupyter notebook.
Explore the car price dataset by inspecting its shape, data types, and missing values; examine distributions and confirm zero missing values in the data frame.
Identify duplicates by counting unique car ids, drop the car id and car name as irrelevancies, and observe that the model performs better without the symbolic variable.
Perform univariate analysis by examining one variable at a time to understand its distribution, and note the move toward multivariate analysis across multiple variables.
Explore bivariate analysis of car price by body categories using pivot tables and bar graphs, computing mean prices per category and visualizing annotated results.
Explore data binning, also called discrete binning or bucketing, a technique that groups values into defined bins to transform a numerical variable into a categorical variable.
Apply data binning to create a peak r.p.m. bucket using cut into numeric ranges, then build a pivot table and bar chart to compare mean price by bin.
Explore how correlation shows how variables move together and identify features that strongly affect price. Visualize these relationships with a seaborn heat map to spot strong correlations.
Explore plotting scatter plots to visualize relationships between car price and features like engine size, horsepower, and wheelbase. Discover strong correlations through side-by-side visuals and heatmaps.
Visualize how car price and features are distributed using box plots and distribution plots with seaborn, highlighting outliers, skewness, and category-wise comparisons.
Understand outliers as observations with abnormal distance; don't assume removal, as business context matters. Use percentile analysis to detect significant deviations and preserve data in small datasets.
See how one hot encoding converts categorical features into numerical inputs for machine learning models. The lecture shows using a one hot encoder to transform data for car price prediction.
Split the data into x (features) and y (price), then create train/test sets at 70/30 with random_state 42, divide 30 percent into validation and test sets 50/50, and note scaling.
Learn how scaling transforms feature ranges without changing distribution, using min-max and standard scalers, applied to numerical features only and fit on the train set for deployment.
Explore boosting as an ensemble technique that adds models to correct previous errors by predicting residuals, and learn about gradient boosting and XGBoost's speed and performance.
Create an XGBoost regression model with default parameters, fit on training set, predict test set, and report an R2 around 95% and RMSE about 1775.33, preparing for hyperparameter tuning.
Optimize the car price prediction model by tuning hyperparameters with RandomizedSearchCV, using cross-validation and exploring options like learning rate, gamma, and max depth.
Tune an xgb regression model with randomized search cross-validation, compare with default parameters, achieve an R2 score around 95%, and save the tuned model for deployment.
Evaluate the model performance on training and test sets using the R2 score, achieving around 98% and 95%, and interpret the scatterplot of actual versus predicted values to gauge significance.
Plot a scatter plot of actual versus predicted car prices to evaluate model performance, showing points close to the diagonal line and highlighting key features that drive price predictions.
Identify the most influential features for car price prediction using feature importance and coefficients, build and rename a feature-coefficient data frame, then filter and rank positive contributors for deployment.
Learn how Streamlit enables quick creation of interactive machine learning web apps, with a simple installation, localhost deployment, and writing a minimal Python frontend.
Create a streamlit web interface to interact with the trained car price model, loading scaler, one-hot encoder, and model, then predict price using UI controls.
Run the car price predictor locally by executing streamlit run app.py to launch a Streamlit server at localhost:8501, load models and one-hot encoding, and interactively predict prices from feature inputs.
Configure gitignore to exclude ipynb_checkpoints, add setup.sh and Procfile for deployment, and update the readme. Document car price prediction workflow with xgboost and streamlit, including data, models, and deployment notes.
Push your car price prediction project to a GitHub repository, clone and add, commit, and push files to master, then deploy the code to Heroku.
Deploy a car price prediction app to the Heroku cloud by connecting GitHub, deploying the master branch, and exposing a free URL, showcasing Streamlit interfaces and XGBoost models.
This course is about predicting the price of a car based on its features using Machine Learning Models. This is a hands on project where I will teach you the step by step process in creating and evaluating a machine learning model and finally deploying the same on Cloud platforms to let your customers interact with your model via an user interface.
This course will walk you through the initial data exploration and understanding, data analysis, data preparation, model building and evaluation and deployment techniques. We will use XGBoost algorithm to create our model which helps us in predicting price of a car given its features.
At the end we will learn to create an User Interface to interact with our created model and finally deploy the same on Cloud.
I have splitted and segregated the entire course in Tasks below, for ease of understanding of what will be covered.
Task 1 : Installing Packages
Task 2 : Importing Libraries.
Task 3 : Loading the data from source.
Task 4 : Data Understanding
Task 5 : Data Cleaning
Task 6 : Performing Univariate analysis on variables.
Task 7 : Performing Bivariate analysis on variables.
Task 8 : Data binning to convert numerical variables to categorical variables.
Task 9 : Finding correlations among features and plotting on HeatMap.
Task 10 : Plotting scatter plots.
Task 11 : Visualizing the distribution of data across variables.
Task 12 : Outlier Analysis.
Task 13 : Performing One Hot Encoding to convert categorical features to numeric features.
Task 14 : Train Test Split.
Task 15 : Scaling the variables using StandardScaler.
Task 16 : Creating a XGBoostRegression model with default parameters.
Task 17 : Hyperparameter Tuning using RandomizedSearchCV.
Task 18 : Building XGBRegression model with the selected hyperparameters.
Task 19 : Model Evaluation - Calculating R2 score
Task 20 : Model Evaluation - Plotting a scatter plot of the actual and predicted values.
Task 21 : Extracting most important features and its coefficients.
Task 22 : What is Streamlit and Installation steps.
Task 23 : Creating an user interface to interact with our created model.
Task 24 : How to run your notebook on Streamlit Server in your local machine.
Task 25 : Pushing your project to GitHub repository.
Task 26 : Project Deployment on Heroku Platform for free.
Data Analysis, Model Building and Deployment is one of the most demanded skill of the 21st century. Take the course now, and have a much stronger grasp of data analysis, machine learning and deployment in just a few hours!
You will receive :
1. Certificate of completion from AutomationGig.
2. All the datasets used in the course are in the resources section.
3. The Jupyter notebook are provided at the end of the course in the resource section.
So what are you waiting for?
Grab a cup of coffee, click on the ENROLL NOW Button and start learning the most demanded skill of the 21st century. We'll see you inside the course!
[Please note that this course and its related contents are for educational purpose only]
Happy Learning !!