Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
TAE HWAN KIM
KSB_AI_Framework_1903
Commits
e871d2b6
Commit
e871d2b6
authored
Jun 11, 2020
by
HooYoungAhn
Browse files
Update 4.1.1.4.KMeans_manual.md
parent
f8921870
Pipeline
#1014
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
manual1903/operator/4.1.1.4.KMeans_manual.md
View file @
e871d2b6
...
...
@@ -10,11 +10,11 @@ export_on_save:
## Operator 설명
-
n개의 data를 k개의 cluster로 나누는 것을 목적으로 하고 있다.
-
입력 데이터 집합의 각 데이터들과 k개의 cluster 중심점과의 거리를 각각 구하고 각 data는 가장 유사도가 높은 중심점에 각 데이터를 할당하게 된다.
<br>
<img
src=
"/images/4.1.1.4.kmeans_1.png"
width=
"300"
>
<img
src=
"
.
/images/4.1.1.4.kmeans_1.png"
width=
"300"
>
1.
입력 데이터 집합에서 K(3)개의 데이터를 임의로 추출하고 이 데이터를 각 cluster의 중심으로 설정한다. 입력 데이터 집합의 각 데이터 들과 k개의 cluster 중심점과의 거리를 각각 구하고, 가장 유사도가 높은 중심점에 각 데이터를 할당하게 된다.
<img
src=
"/images/4.1.1.4.kmeans_2.png"
width=
"300"
>
<img
src=
"
.
/images/4.1.1.4.kmeans_2.png"
width=
"300"
>
2.
모두 할당하였으면 cluster의 중심점을 다시 계산한다.
<img
src=
"/images/4.1.1.4.kmeans_3.png"
width=
"300"
>
<img
src=
"
.
/images/4.1.1.4.kmeans_3.png"
width=
"300"
>
3.
cluster가 바뀌지 않을 때까지 반복적으로 거리계산 및 cluster 할당 작업을 수행을 하게 된다.
## Operator 파라미터 설명
-
k_value: cluster의 개수 (required)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment