You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've spotted a micro-bug trying to run the example in the KMeans docstring. Executing the following code
x = [randn() + 5i for i in rand(Bool, 10^6), j in 1:2]
o = fit!(KMeans(2, 2), x)
returns UndefVarError: print_stat_tree not defined.
I think that the error is in stats/stats.jl, function Base.show(io::IO, o::KMeans). Comparing with line 278 in the same file, I think one simply has to add OnlineStatsBase. in line 393.
Thanks.
The text was updated successfully, but these errors were encountered:
Hi Josh,
thank you for the great work!
I've spotted a micro-bug trying to run the example in the KMeans docstring. Executing the following code
returns UndefVarError: print_stat_tree not defined.
I think that the error is in stats/stats.jl, function Base.show(io::IO, o::KMeans). Comparing with line 278 in the same file, I think one simply has to add
OnlineStatsBase.
in line 393.Thanks.
The text was updated successfully, but these errors were encountered: