Clusetring
์ฃผ์ด์ง ๋ฐ์ดํฐ์ ํน์ฑ์ ๊ณ ๋ คํด์ ๋ฐ์ดํฐ ์ง๋จ์ ์ ์ํ๊ณ , ๋ฐ์ดํฐ ์ง๋จ์ ๋ํํ ์ ์๋ ๋ํ์ ์ ์ฐพ๋ ๊ณผ์ ์ด๋ค.
1. K-Means Clustering
Step 1. ํด๋์ค ๊ฐ์ ๊ฒฐ์ & ์ค์ฌ์ ๋ฌด์์ ์ ํ
Step 2. ๊ฐ์ฅ ๊ฐ๊น์ด ํด๋์ค์ ๋ฐ์ดํฐ๋ฅผ ๋ฐฐ์
Step 3. ํด๋์ค ์ค์ฌ์ ์ฌ๊ณ์ฐ
Step 4. ์๋ ดํ ๋๊น์ง Step 2~3 ๋ฐ๋ณต
2. Mean-Shift Clustering
๋์ ๋ฐ๋๋ฅผ ๋ณด์ด๋ ์ง์ญ์ผ๋ก sliding window๋ฅผ ์ฎ๊ฒจ๊ฐ๋ hill climbing ์๊ณ ๋ฆฌ์ฆ์ด๋ค.
3. DBSCAN
Density-Based Spatial Clustering of Applications with Noise
4. EM Clusteinrg with GMM
Expectation-Maximization using Gausian Mixture Models
Step 1. K-means์ ๊ฐ์ด ํด๋ฌ์คํฐ ๊ฐ์๋ฅผ ์ ํ๊ณ ,๊ฐ ํด๋ฌ์คํฐ์ ๊ฐ์ฐ์์ ๋ถํฌ ๋ชจ์๋ฅผ ์ ํ๋ค.
Step 2. ๊ฐ ๋ฐ์ดํฐ๊ฐ ํน์ ํด๋ฌ์คํฐ์ ์ํ ํ๋ฅ ์ ๊ณ์ฐํ๋ค.
Step 3. Step 2์์ ๊ณ์ฐํ ํ๋ฅ (likelihood)์ ๊ทผ๊ฑฐํ์ฌ ์ด๋ฅผ ์ต๋ํํ๋ ๊ฐ์ฐ์์ ๋ถํฌ์ ์๋ก์ด ๋ชจ์๋ฅผ ๊ณ์ฐํ๋ค.
5. Agglomerative Hierarchical Clustering
Step 1. ๊ฐ ๋ฐ์ดํฐ๋ฅผ ๊ฐ๊ฐ์ ํด๋ฌ์คํฐ๋ก ๋ณธ๋ค.
Step 2. ํ๊ท ๊ฐ์ ๊ฑฐ๋ฆฌ๋ฅผ ํตํด์ ๋ ํด๋ฌ์คํฐ๋ฅผ ํ๋๋ก ํฉ์น๋ค.
Step 3. ๋๋ฌด์ ๋ฟ๋ฆฌ๊ฐ ๋ง๋ค์ด์ง ๋๊น์ง Step2๋ฅผ ๊ณ์ํ๋ค. ๋๋ ์ํ๋ ๊ฐ์์ ํด๋ฌ์คํฐ ๊ฐ์๊ฐ ๋๋ฉด ๋ฉ์ถ๋ค.
6. Deep Clustering for Unsupervised Learning of Visual Features
unsupervised learning ๋ชจ๋ธ(k-means)์์ ๋์ค๋ pseudo label(cluster index)๋ฅผ pre-training๋ชจ๋ธ์ fine-tuning์ ์ํจ๋ค.
6-1. Main
- Conv Top layer๋ฅผ ์ด์ฉํด ํด๋ฌ์คํฐ๋ง ์๊ณ ๋ฆฌ์ฆ(K-Means)์ ์ฌ์ฉ
- Pseudo Label๋ฅผ ์์ฑํด Fine-Tuning
6-2. Detail
- Sobel filter๋ฅผ ํตํด edge ๊ฒ์ถ
- Feature map ์ฐจ์ ์ถ์ (PCA)
- Pseudo Label๋ฅผ ์์ฑํ ๋ ๊ท ๋ฑ ์ํ๋ง
์ฐธ๊ณ ์๋ฃ
[1] https://zinniastop.blogspot.com/2019/10/5.html
[2] https://astralworld58.tistory.com/58
[3] https://www.youtube.com/watch?v=cCwzxVwfrgM
[4] http://dsba.korea.ac.kr/seminar/?mod=document&uid=28
[5] https://towardsdatascience.com/clustering-analyses-with-highly-imbalanced-datasets-27e486cd82a4