PyDataBlog / ParallelKMeans.jl

Parallel & lightning fast implementation of available classic and contemporary variants of the KMeans clustering algorithm
MIT License
50 stars 13 forks source link

Not working on this example. Only gives one value #93

Closed xiaodaigh closed 4 years ago

xiaodaigh commented 4 years ago
using ParallelKMeans
using DataFrames

df = DataFrame(val = rand(1_000_000))

@time multi_results = kmeans(reshape(df[!, :val], :, 1), 8)

The multi_results.assignment only gives one value and I was expecting 1_000_000.