package modelkit

  1. Overview
  2. Docs

Module Modelkit.GroupsSource

Integer group labels aligned to samples.

Sourcetype t
Sourceval create : expected_length:int -> int array -> (t, Data_error.t) result
Sourceval length : t -> int
Sourceval get : t -> int -> int

Raises Invalid_argument if the index is outside the collection.

Sourceval to_array : t -> int array
Sourceval distinct_count : t -> int
Sourceval select : t -> Row_view.t -> (t, Data_error.t) result