docstr: Create a conditional ball tree.
  :param keys: 2D array representing the data, shape: n_points x n_features
  :param values: 1D array
  :param labels: 1D array
  :param leafSize: int
docstr_tok: ["Create","a","conditional","ball","tree",".",":","param","keys",":","2D","array","representing","the","data",",","shape",":","n_points","x","n_features",":","param","values",":","1D","array",":","param","labels",":","1D","array",":","param","leafSize",":","int"]
code: def __init__(self, keys, values, labels, leafSize, java_obj=None):
      """
      Create a conditional ball tree.
      :param keys: 2D array representing the data, shape: n_points x n_features
      :param values: 1D array
      :param labels: 1D array
      :param leafSize: int
      """
      if java_obj is None:
          self._jconditional_balltree = SparkContext._active_spark_context._jvm.com.microsoft.azure.synapse.ml.nn.ConditionalBallTree.apply(
              keys,
              values,
              labels,
              leafSize,
          )
      else:
          self._jconditional_balltree = java_obj
  
imports: import sys
  from pyspark import SparkContext
label_desc: Use image node_id 1 to create a new ConditionalBallTree object from inherited base classes: object with example: obj = ConditionalBallTree(keys, values, labels, leafSize, java_obj)