group_counts
function
defined in module
MLUtils
group_counts(x)
Count the number of times that each element of
x
appears.
See also
group_indices
julia> group_counts(['a', 'b', 'b'])
Dict{Char, Int64} with 2 entries:
'a' => 1
'b' => 2
There is
1
method for MLUtils.group_counts
:
The following pages link back here: