A customer segmentation package for preprocessing data
Reason this release was yanked:
issues
Project description
Customer Segmentation Package
Overview
This data analysis package provides comprehensive tools for preprocessing, feature engineering, clustering, and feature selection/reduction of data. It streamlines and automates common data analysis tasks, making it easier to prepare datasets for further analysis and machine learning. The package includes functionalities for validating data structure, handling missing values, removing outliers, scaling data, and much more.
Features
-
Data Preprocessing
- Data Structure Validation: Ensures that the dataset meets expected structural requirements.
- Null Value Removal: Identifies and removes or imputes missing values.
- Outlier Removal: Detects and removes outliers from the dataset.
- Data Scaling: Standardizes or normalizes data for consistent analysis.
-
Feature Engineering
- RFM (Recency, Frequency, Monetary) Calculation: Computes RFM metrics for customer segmentation and analysis.
- Velocity Calculation: Measures the rate of change in data over time.
- Growth Calculation: Computes the growth metrics across data points.
-
Feature Selection and Reduction
- Information Gain Calculation: Evaluates the importance of features in predicting target variables.
- WOE (Weight of Evidence) and IV (Information Value) Calculation: Assesses the predictive power of categorical features.
- PCA (Principal Component Analysis): Reduces dimensionality of data and allows for inverse transformation to original space.
-
Advanced Clustering
- Best Clustering Method Selection: Provides various clustering algorithms (e.g., KMeans, DBSCAN, EM, MeanShift, Agglomerative) and selects the most suitable one based on data characteristics.
Requirements
To use this package, you need to have the following installed:
- Python 3.7 or higher
- The following Python libraries:
pandas
numpy
scikit-learn
scipy
matplotlib
seaborn
statsmodels
You can install these dependencies using:
pip install -r requirements.txt
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file cust_segmentation-0.0.0.tar.gz
.
File metadata
- Download URL: cust_segmentation-0.0.0.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0decf31085450c0b1b5fffbdc0938e50c7bedf1c9b4634c0bfb36072381c7fff |
|
MD5 | fb299f8e86ac857775b8b10353b9a8a1 |
|
BLAKE2b-256 | 91a633d0df5125d8e13d86d9ba0a0be14f08b6359d2020ab250b6d0d741fce5f |
File details
Details for the file Cust_segmentation-0.0.0-py3-none-any.whl
.
File metadata
- Download URL: Cust_segmentation-0.0.0-py3-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9932127227fe813180c62aaf06504f9359eb6d2f30da9ed4a5b45b056c14df1f |
|
MD5 | 1fe7efa85a2214702e0bcfc5e56fc7d5 |
|
BLAKE2b-256 | e45e05d500f473f165c560cee9a53b26fe521ae8e810852fa2c4e3912d1c41a3 |