class_docstr: A representation of a split in feature space.
  The two main components are:
  
      - splitting_variable: which variable is being split on
      - splitting_value: the value being split on
                         all values less than or equal to this go left, all values greater go right
class_docstr_tok: ["A","representation","of","a","split","in","feature","space",".","The","two","main","components","are",":","-","splitting_variable",":","which","variable","is","being","split","on","-","splitting_value",":","the","value","being","split","on","all","values","less","than","or","equal","to","this","go","left",",","all","values","greater","go","right"]
code: def __init__(
      self,
      splitting_variable: int,
      splitting_value: float,
      operator: Callable[[float, float], bool],
      condition=None,
      carry_y_sum=None,
      carry_n_obsv=None,
  ):
      self.splitting_variable = splitting_variable
      self.splitting_value = splitting_value
      self._condition = condition
      self.operator = operator
  
      self.carry_y_sum = carry_y_sum
      self.carry_n_obsv = carry_n_obsv
  
file_path: imodels/imodels/experimental/bartpy/splitcondition.py
imports: from operator import le, gt
  from typing import Callable, List, Optional, Union
  import numpy
label_desc: Use image node_id 1 to create a new SplitCondition object from inherited base classes: object with example: obj = SplitCondition(splitting_variable, splitting_value, operator, condition, carry_y_sum, carry_n_obsv)