mirror of
https://github.com/theoleuthardt/homelab-docker-compose.git
synced 2026-06-05 23:41:07 +00:00
7 lines
No EOL
161 B
R
7 lines
No EOL
161 B
R
daten <- c(-11, -10, -9, -1, 0, 1, 9, 10, 11)
|
|
|
|
startwerte <- matrix(c(9, 10, 11), ncol = 1)
|
|
|
|
clustering <- kmeans(daten, centers = startwerte)
|
|
|
|
print(clustering) |