Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customer Personality Analysis #552

Merged
merged 2 commits into from
Jan 26, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,241 changes: 2,241 additions & 0 deletions Customer Personality Analysis/Dataset/marketing_campaign.csv

Large diffs are not rendered by default.

Binary file added Customer Personality Analysis/Images/Images.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Customer Personality Analysis/Images/expenses.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Customer Personality Analysis/Images/figure.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Customer Personality Analysis/Images/figure1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4,386 changes: 4,386 additions & 0 deletions Customer Personality Analysis/Model/Customer personality Analysis.ipynb

Large diffs are not rendered by default.

65 changes: 65 additions & 0 deletions Customer Personality Analysis/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<h1>Customer Personality Analysis</h1>

**GOAL**

To build a machine learning model for predicting the customer's personality on the basis of his daily living.

**DATASET**

https://www.kaggle.com/datasets/imakash3011/customer-personality-analysis

**DESCRIPTION**

To analyze the dataset of customer's personality and build and train the model on the basis of different features and variables.


### Visualization and EDA of different attributes:

<img alt="graph" src="./Images/histplot.png">

<img alt="graph" src="./Images/figure1.png">

<img alt="graph" src="./Images/figure.png">

<img alt="graph" src="./Images/expenses.png">

<img alt="graph" src="./Images/Images.png">

<img alt="graph" src="./Images/marital_status.png">


**MODEL USED**

| Model | Shiloutte Score | V Score | Completeness |
|-------------------|-----------------|---------|--------------|
| K-Means | 0.30 | 0.26 | 0.97 |
| Mean Shift | 0.18 | 0.23 | 0.96 |
| Agglometric | 0.19 | 0.21 | 0.98 |
| DBSCAN | -0.33 | 0.26 | 0.97 |



**WHAT I HAD DONE**

* Load the dataset which contains 2240 entries in it and having 29 columns in it.
* Checked for missing values and cleaned the data accordingly.
* Analyzed the data, found insights and visualized them accordingly.
* Found detailed insights of different columns with target variable using plotting libraries.
* Train the datasets by different models and saves their accuracies into a dataframe.


**LIBRARIES NEEDED**

1. Pandas
2. Matplotlib
3. Sklearn
4. NumPy
5. Seaborn


**CONCLUSION**

Using different clustering models found out the silhouette score, v score and completeness score of the a particular column and the whole dataset.
pawaspy marked this conversation as resolved.
Show resolved Hide resolved

**Pawas Pandey**

4 changes: 4 additions & 0 deletions Customer Personality Analysis/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
matplotlib==3.5.2
seaborn==0.11.2
numpy==1.19.2
pandas==1.4.3
Loading