Update README.md
Browse files
README.md
CHANGED
|
@@ -3,18 +3,63 @@ title: Customer Segmentation App
|
|
| 3 |
emoji: 🚀
|
| 4 |
colorFrom: red
|
| 5 |
colorTo: red
|
| 6 |
-
sdk:
|
| 7 |
-
|
| 8 |
-
tags:
|
| 9 |
-
- streamlit
|
| 10 |
pinned: false
|
| 11 |
-
short_description:
|
| 12 |
license: apache-2.0
|
| 13 |
---
|
| 14 |
|
| 15 |
-
#
|
|
|
|
| 16 |
|
| 17 |
-
|
| 18 |
|
| 19 |
-
|
| 20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
emoji: 🚀
|
| 4 |
colorFrom: red
|
| 5 |
colorTo: red
|
| 6 |
+
sdk: streamlit
|
| 7 |
+
app_file: app.py
|
|
|
|
|
|
|
| 8 |
pinned: false
|
| 9 |
+
short_description: AI-powered customer personality segmentation using K-Means.
|
| 10 |
license: apache-2.0
|
| 11 |
---
|
| 12 |
|
| 13 |
+
# 📊 Customer Personality Segmentation Project
|
| 14 |
+
### (Müşteri Kişilik Segmentasyonu Projesi)
|
| 15 |
|
| 16 |
+
This project uses **Machine Learning (K-Means Clustering)** to segment customers based on their income, spending habits, and family structure. It helps businesses understand their customer base to create targeted marketing strategies.
|
| 17 |
|
| 18 |
+
Bu proje, müşterileri gelir, harcama alışkanlıkları ve aile yapılarına göre segmentlere ayırmak için **Makine Öğrenmesi (K-Means Kümeleme)** kullanır. İşletmelerin hedef odaklı pazarlama stratejileri oluşturmasına yardımcı olur.
|
| 19 |
+
|
| 20 |
+
---
|
| 21 |
+
|
| 22 |
+
## 🛠 Features / Özellikler
|
| 23 |
+
* **Data Preprocessing:** Handling missing values and feature engineering.
|
| 24 |
+
* **Clustering Models:** Comparison between **K-Means** and **DBSCAN**.
|
| 25 |
+
* **Model Selection:** Optimized with **Silhouette Score** ($0.28$) and **Elbow Method**.
|
| 26 |
+
* **Interactive UI:** A Streamlit web application with real-time predictions and visual effects.
|
| 27 |
+
|
| 28 |
+
* **Veri Ön İşleme:** Eksik verilerin temizlenmesi ve yeni özelliklerin oluşturulması.
|
| 29 |
+
* **Kümeleme Modelleri:** **K-Means** ve **DBSCAN** modellerinin karşılaştırılması.
|
| 30 |
+
* **Model Seçimi:** **Silhouette Skoru** ($0.28$) ve **Elbow Metodu** ile optimizasyon.
|
| 31 |
+
* **İnteraktif Arayüz:** Gerçek zamanlı tahminler ve görsel efektler sunan Streamlit uygulaması.
|
| 32 |
+
|
| 33 |
+
---
|
| 34 |
+
|
| 35 |
+
## 💎 Customer Segments / Müşteri Segmentleri
|
| 36 |
+
The model categorizes customers into 4 main groups:
|
| 37 |
+
Model, müşterileri 4 ana grupta sınıflandırır:
|
| 38 |
+
|
| 39 |
+
1. **Premium:** High income, high spending, no children. (Yüksek gelir, yüksek harcama, çocuksuz.) 🎈
|
| 40 |
+
2. **Budget:** Middle income, balanced spending. (Orta gelir, dengeli harcama.)
|
| 41 |
+
3. **Occasional:** Low income or infrequent shoppers. (Düşük gelir veya seyrek alışveriş yapanlar.)
|
| 42 |
+
4. **Alternative:** Unique spending patterns. (Özel harcama alışkanlıkları olanlar.)
|
| 43 |
+
|
| 44 |
+
---
|
| 45 |
+
|
| 46 |
+
## 📖 How to Use / Nasıl Kullanılır?
|
| 47 |
+
1. Enter the **Annual Income** (e.g., $110,000).
|
| 48 |
+
2. Enter the **Total Spending** (e.g., $3,000).
|
| 49 |
+
3. Select the number of **Children**.
|
| 50 |
+
4. Click **Predict** to see the magic! 🎈
|
| 51 |
+
|
| 52 |
+
1. **Yıllık Geliri** girin (Örn: $110,000).
|
| 53 |
+
2. **Toplam Harcamayı** girin (Örn: $3,000).
|
| 54 |
+
3. **Çocuk Sayısını** seçin.
|
| 55 |
+
4. Sihri görmek için **Tahmin Et**'e basın! 🎈
|
| 56 |
+
|
| 57 |
+
---
|
| 58 |
+
|
| 59 |
+
## 💻 Tech Stack / Kullanılan Teknolojiler
|
| 60 |
+
* **Python** (Pandas, Numpy)
|
| 61 |
+
* **Scikit-Learn** (StandardScaler, KMeans)
|
| 62 |
+
* **Streamlit** (Web UI)
|
| 63 |
+
* **Joblib** (Model Deployment)
|
| 64 |
+
|
| 65 |
+
---
|