GroupIndex#
- class skrough.structs.group_index.GroupIndex(index: ndarray[Any, dtype[int64]], n_groups: int)[source]#
Bases:
object
Methods
|
Method generated by attrs for class GroupIndex. |
|
|
|
|
|
Split objects into groups according to values on given attributes |
|
|
|
Compute disorder score for the given grouping of objects (into equivalence classes). |
|
|
|
It is up to the user to ensure that |
|
Split groups of objects into finer groups according to values on a single splitting attribute |
Attributes
index that assigns objects (by their positions in the index) to groups |
|
number of groups |
|
Number of objects described by this group index. |