depreeth / Laptop-Price-Predictor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laptop-Price-Predictor

  • Designed a web app that predicts the price of the laptop given the configurations.
  • Developed Linear, Lasso, and Random Forest Regressors KNN, Decision Tree Regressor and Gradient Boost Regressor to get the best model.
  • Deployed the Machine Learning model using streamlit library in Heroku

Features

  • Company (Laptop Company)
  • TypeName (for ex.Notebook)
  • Inches (size in inches)
  • ScreenResolution (for ex. 1366x768)
  • Cpu (for ex. Intel Core i5 7200U 2.5GHz)
  • Ram(Random Access Memory in MegaBytes)
  • Memory (Internal Storage HDD or SDD in Gigabytes)
  • Gpu (for ex. Intel HD Graphics 520)
  • OpSys (Operating System)
  • Weight (Weight of the laptop)
  • Price (price of laptop)

Traditional Method

Used scikit-learn library for the Machine Learning tasks. Applied label encoding and converted the categorical variables into numerical ones.Then I splited the data into training and test sets with a test size of 20%. I tried three different models ( Linear Regression, Random Forest Regression, XGBoost) and evaluated them using Mean Absolute Error.

Model Deployment

Deployed the model using Streamlit library on Heroku which is a Platform As A Service(PAAS)

About


Languages

Language:Jupyter Notebook 99.8%Language:Python 0.2%Language:Shell 0.0%Language:Procfile 0.0%