GithubHelp home page GithubHelp logo

pranavrode / laptop-price-predictor Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 1.37 MB

This project works on data of different laptop features according to various specifications of laptop brands. I have done feature engineering on data and have build different chine Learning models to achieve maximum accuracy and chosen best ML algorithm for best predictions. This project is build to predict price of laptop as per specifications.

Procfile 0.01% Shell 0.02% Python 0.24% Jupyter Notebook 99.74%
machine-learning data-science dataanalytics datapreprocessing eda featureengineering python regression-model

laptop-price-predictor's Introduction

Laptop-Price-Predictor

This project works on data of different laptop prices according to various specifications of laptop brands. I have done feature engineering on data and have build different Machine Learning models to achieve maximum R2_score with minimum RMSE and MAE. Chosen best ML algorithm for best predictions with its real life working deployment.

1. Business Context: -

A company providing complete IT hardware to the end user customers like big organisation company selling laptop PCs of different brands and specifications as per needs of customer. So, when customer here visits store to buy laptop firstly he/she will want to know price quote of laptop as customer requirements. This solution can help both customers and store employee to guide about various specification with ease and simplicity. An online ecommerce laptop pc selling site can also use this same solution for above business purpose.

2. Problem Statement: -

End user customer who wants to buy laptop pc within his/her budget range with desired specifications doesn’t have an idea about what specification of pc will I get within my budget constraints or what price will be for desired specifications of laptop. Target variable type - Continuous Numerical data, Model type - Regression

3. Solution Developed: -

Step 1: Gathered data from Kaggle or any other open source as required of overall laptop brands in excel sheet with attributes like memory, display, processor, storage etc. Load this data using pandas data frame.

Step 2: Pre-processing data and feature engineering, creating new variables from uncleaned and cluttered variables. Create data visualizations using seaborn and matplotlib to get basic insights of dependent variable(y) and independent variables(X) and correlations between then if any.

Step 3: Selecting cleaned and newly created independent variables for model building. Build model using various supervised regression algorithms using sklearn library. And selecting best algorithm among all which is best. Evaluation for best algorithm used is metrics like R2 Score, RMSE (Root Mean Square Error), MAE (Mean Absolute Error).

Step 4: Did hyperparameter tunning from chosen best algorithm like using “Gradient Boosting Regressor” with experimenting with its different hyperparameters and achieve right and best parameters to achieve best R2 score with least RMSE and MAE on both test and train predictions with taking care model to not be overfitted or underfitted.

Step 5: Saving model into pickle file and integrating with UI. Deploying the model on Heroku App which is a cloud platform where we can deploy machine learning models. Used PyCharm and basic dependencies to deploy it on Heroku platform for its actual working model.

Platforms used – Jupyter notebook (Python), Pycharm, Heroku, git.

4. Improvements to the Solution: -

Scope of improvement is that we can clean data more and get even more better parameters and achieve best results with better R2 score and lowest RMSE and MAE.

5. Link to the working project demo/prototype developed: -

Working deployment link - https://lpp-pranav-rode.herokuapp.com/ Code and Dataset- https://github.com/pranavrode/Laptop-Price-Predictor

laptop-price-predictor's People

Contributors

pranavrode avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

vnaveenb

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.