Table of Contents

Mojo function

do_labelling

fn do_labelling(tree: Dict[String, List[Int]], lambda_array: List[Float32], clusters: Set[Int], cluster_label_map: Dict[Int, Int], allow_single_cluster: Int, cluster_selection_epsilon: Float32, match_reference_implementation: Int) -> List[Int]

Args:

  • tree (Dict[String, List[Int]])
  • lambda_array (List[Float32])
  • clusters (Set[Int])
  • cluster_label_map (Dict[Int, Int])
  • allow_single_cluster (Int)
  • cluster_selection_epsilon (Float32)
  • match_reference_implementation (Int)

Returns:

List[Int]

Raises: