https://github.com/rajarohan/2203a52126_capston_project-2-
https://github.com/rajarohan/2203a52126_capston_project-2-
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rajarohan/2203a52126_capston_project-2-
- Owner: rajarohan
- Created: 2023-10-19T04:40:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-24T04:22:41.000Z (over 1 year ago)
- Last Synced: 2025-09-06T18:47:15.968Z (10 months ago)
- Language: Jupyter Notebook
- Size: 749 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 2203A52126_CAPSTON_PROJECT-2-
# Machine Learning Model Comparison with Uncertainty Analysis
This repository contains Python code for training and comparing different machine learning models on a dataset. The code performs the following tasks:
- Loads a dataset containing cellphone price information.
- Handles missing values by filling them with the mean of the respective columns.
- Splits the dataset into training and testing sets using a train-test split.
- Applies data scaling and Principal Component Analysis (PCA) for dimensionality reduction.
- Trains and evaluates five different regression models:
1. Linear Regression
2. Ridge Regression
3. Lasso Regression
4. Support Vector Regression (SVR)
5. K-Nearest Neighbors (KNN) Regression
The code also performs bootstrapping to assess the uncertainty of model predictions.