Table of Contents

Mojo function

traverse_upwards

fn traverse_upwards(cluster_tree: Dict[String, List[Int]], lambda_array: List[Float32], cluster_selection_epsilon: Float32, leaf: Int, allow_single_cluster: Int) -> Int

Args:

  • cluster_tree (Dict[String, List[Int]])
  • lambda_array (List[Float32])
  • cluster_selection_epsilon (Float32)
  • leaf (Int)
  • allow_single_cluster (Int)

Returns:

Int

Raises: