Closed LexaLutyi closed 6 months ago
Hi!
I'm using probably new feature: ExtremeValues, and I think it doesn't work:
ExtremeValues
extr = OnlineStats.ExtremeValues(Int) fit!(extr, [1, 1, 1]) # ExtremeValues: n=3 | value=(lo = [1=>1, 1=>1, 1=>1], hi = [1=>1, 1=>1, 1=>1])
I expect
# ExtremeValues: n=3 | value=(lo = [1=>3], hi = [1=>3])
Do I miss something? Or is it not implemented yet?
Thank you!
Ah, looks like a bug/uncovered edge case.
Fixed in the latest release of OnlineStatsBAse. Note that there's a breaking change: values are stored as OrderedDict{T,Int} rather than Vector{Pair{T,Int}}.
OrderedDict{T,Int}
Vector{Pair{T,Int}}
Hi!
I'm using probably new feature:
ExtremeValues
, and I think it doesn't work:I expect
Do I miss something? Or is it not implemented yet?
Thank you!