Table of Contents

Mojo function

do_labelling

def do_labelling(tree: Dict[String, List[Scalar[DType.int]]], lambda_array: List[Float32], clusters: Set[Scalar[DType.int]], cluster_label_map: Dict[Scalar[DType.int], Scalar[DType.int]], allow_single_cluster: Int, cluster_selection_epsilon: Float32, match_reference_implementation: Int) -> List[Scalar[DType.int]]

Args:

  • tree (Dict)
  • lambda_array (List)
  • clusters (Set)
  • cluster_label_map (Dict)
  • allow_single_cluster (Int)
  • cluster_selection_epsilon (Float32)
  • match_reference_implementation (Int)

Returns:

List

Raises: