Skip to content

NehalGund/Laptop-Price-Prediction

Repository files navigation

Laptop Price Prediction

✨ 💻 ✨

Project Description

  • In this project, a supervised machine learning model is built to predict tentative laptop price based on its specifications.
  • This model is trained on dataset which is taken from kaggle.
  • The dataset contains laptop specifications and corresponding prices.
  • The description of this dataset is as following:

Dataset Description

Column name Description
Company Laptop manufcturing company names
TypeName Type of laptop (Notebook, Ultrabook, 2in1, etc.)
Inches Laptop screen size in inches
ScreenResolution Screen resolutions with screen display type
Cpu CPU name with speed in GHz
Ram RAM size of laptop in GB
Memory Memory type and size of memory in GB and TB
Gpu GPU name with their series
OpSys Operating System of laptop
Weight Weight of laptop in kg
Price Laptop price in ( ₹ ) Indian Rupee
  • Scikit-learn library is used to build the machine learning model.
  • Streamlit is used to make a web application that allows users to select the laptop specifications and user gets tentative price of the laptop.

Prerequisites

  • numpy
  • pandas
  • matplotlib
  • seaborn
  • scikit-learn
  • pickle
  • streamlit

Steps to build machine learning model

  1. Data preprocessing
  2. EDA
  3. Algorithm selection
  4. Training
  5. Evaluation
  6. Prediction

Screenshots

  • Use the Command Prompt to open the Streamlit app in a browser:

command prompt

  • Menu:

webapp_menu

  • Preprocessed Data:

webapp_preprocessed_data

  • Price for the default options chosen:

webapp_default

  • Choosing options for price prediction:

webapp_prediction_1 webapp_prediction_2 webapp_prediction_3 webapp_prediction_4

Author

Nehal Gund

🤝 Support

Contributions and issues requests are welcome!

Give a ⭐ if you like this project!

Releases

No releases published

Packages

No packages published