KMeans improvement
authorMaksim Shabunin <maksim.shabunin@gmail.com>
Tue, 31 Jan 2017 09:05:08 +0000 (12:05 +0300)
committerMaksim Shabunin <maksim.shabunin@gmail.com>
Tue, 31 Jan 2017 09:05:08 +0000 (12:05 +0300)
commitb417b4dbee83926d627d5cbbf9472731966232dd
tree8fea7e63189907c84ce2373bf102f835227ab83c
parent74defefd616046f97de40e19168b21fb4ebc4ff6
KMeans improvement

- fixed returned compactness value
- added centers drawing to the example app
- added compactness test
modules/core/src/kmeans.cpp
modules/core/test/test_math.cpp
samples/cpp/kmeans.cpp