An open API service indexing awesome lists of open source software.

https://github.com/khushi130404/standardize_purchase

Standardized Purchase is a Python program that predicts item purchases based on age and salary, demonstrating the effect of standardization on Logistic Regression and Decision Trees, with visualizations via scatter and KDE plots.
https://github.com/khushi130404/standardize_purchase

descision-tree logistic-regression matplotlib python sklearn standardization

Last synced: 3 months ago
JSON representation

Standardized Purchase is a Python program that predicts item purchases based on age and salary, demonstrating the effect of standardization on Logistic Regression and Decision Trees, with visualizations via scatter and KDE plots.

Awesome Lists containing this project

README

        

# Standardize_Purchase

Standardized Purchase is a Python program designed to determine if an individual will purchase an item based on their age and salary. It demonstrates the effect of standardization scaling on classification models such as Logistic Regression and Decision Trees. The program visualizes the results using scatter plots and Kernel Density Estimation (KDE) plots.

## Features

- Standardization Scaling: Applies standardization to dataset features to ensure they have a mean of 0 and a standard deviation of 1.
- Logistic Regression: Implements logistic regression for classification tasks.
- Decision Tree: Uses a decision tree classifier to compare performance.

## Visualization:

- Scatter plots to illustrate model decision boundaries.
- KDE plots to analyze data distributions.

## Prerequisites

- numpy
- pandas
- matplotlib
- seaborn
- scikit-learn