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

Examples


			julia> group_counts(['a', 'b', 'b'])
Dict{Char, Int64} with 2 entries:
  'a' => 1
  'b' => 2
Methods

There is 1 method for MLUtils.group_counts: