동일한 초기 설정을 사용하여 K- 평균 및 K- 평균 방법을 동일한 데이터 세트에 적용하면 동일한 결과가 나타 납니까? 당신의 이유를 설명하십시오.K- 평균 및 순차 K- 평균에서 같은 결과가 나옵니까?
개인적으로 나는 대답이 아니오라고 생각합니다. 순차적 K- 평균에 의해 얻어진 결과는 데이터 포인트의 제시 순서에 달려 있습니다. 그리고 끝 조건은 동일하지 않습니다.
두 클러스터링 알고리즘의 의사 코드를 연결합니다.
는
Make initial guesses for the means m1, m2, ..., mk
Until there is no change in any mean
Assign each data point to the cluster whose mean is the nearest.
Calculate the mean of each cluster.
For i from 1 to k
Replace mi with the mean of all examples for cluster i.
end_for
end_until
순차
Make initial guesses for the means m1, m2, ..., mk
Set the counts n1, n2, ..., nk to zero
Until interrupted
Acquire the next example, x
If mi is closest to x
Increment ni
Replace mi by mi + (1/ni)*(x - mi)
end_if
end_until
사례 증명에 의한 증명이므로 케이스 폐쇄 +1 –
이해해 주셔서 감사합니다. –