Skip to content

Data Analysis, training Machine Learning models, and Model Evaluation and Refinement for LaptopPricing dataset.

License

Notifications You must be signed in to change notification settings

burhanahmed1/LaptopPricing-MachineLearning-Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LaptopPricing MachineLearning Analysis

Introduction

This repository contains the analysis and machine learning model implementation for the laptop-pricing dataset. The goal is to predict various price of laptops having various attributes using different machine learning techniques.

Table of Contents

  1. Data Import and Cleaning
  2. Exploratory Data Analysis (EDA)
  3. Model Evaluation
  4. Over-fitting, Under-fitting, and Model Selection
  5. Ridge Regression
  6. Grid Search

Technologies Used

  • Programming Language: Python
  • Libraries: Pandas, NumPy, Scikit-Learn, Matplotlib, Seaborn
  • Tools: Jupyter Notebook

Getting Started

To get started with this project, clone the repository and install the necessary dependencies:

git clone https://github.com/burhanahmed1/LaptopPricing-MachineLearning-Analysis.git
cd LaptopPricing-MachineLearning-Analysis
pip install -r requirements.txt

Usage

Open the Jupyter notebook:

jupyter notebook LaptopPricing-ML.ipynb

Dataset

The dataset used in this analysis is LaptopPricing.csv, which contains various features related to laptops such as CPU_frequency, RAM_GB, Storage_GB_SSD , CPU_core , OS , GPU, Category and price.

R^2 scores

R^2 scores of the Linear Regression model created using different degrees of polynomial features, ranging from 1 to 5. R2_polynomial-features

R^2 values of Ridge Regression model for training and testing sets with respect to the values of alpha. R2_for-alphas

Contributing

Contributions are welcome! Please fork this repository and submit pull requests.

License

This project is licensed under the MIT License.