class_docstr: Defines a bin specified by an interval [left_end, right_end) with a constant sub-score
docstr: @param feature: An instance of trxf.core.Feature. Specifies the feature to which this bin is associated.
  @param sub_score: The constant sub-score associated with this bin
  @param left_end: The left endpoint on the interval. Set to -infinity if not specified.
  @param right_end: The right endpoint of the interval. Set to +infinity if not specified.
docstr_tok: ["@","param","feature",":","An","instance","of","trxf.core.Feature",".","Specifies","the","feature","to","which","this","bin","is","associated",".","@","param","sub_score",":","The","constant","sub-score","associated","with","this","bin","@","param","left_end",":","The","left","endpoint","on","the","interval",".","Set","to","-infinity","if","not","specified",".","@","param","right_end",":","The","right","endpoint","of","the","interval",".","Set","to","+infinity","if","not","specified","."]
code: def __init__(
      self,
      feature: Feature,
      sub_score: Real,
      left_end: Optional[Real] = None,
      right_end: Optional[Real] = None,
  ):
      """
      @param feature: An instance of trxf.core.Feature. Specifies the feature to which this bin is associated.
      @param sub_score: The constant sub-score associated with this bin
      @param left_end: The left endpoint on the interval. Set to -infinity if not specified.
      @param right_end: The right endpoint of the interval. Set to +infinity if not specified.
      """
      super(IntervalBin, self).__init__(
          feature, sub_score, 0.0, left_end, right_end
      )
  
imports: import abc
  from numbers import Real
  from typing import Dict, Set, Any, Optional
  from aix360.algorithms.rule_induction.trxf.core import Feature
label_desc: Use image node_id 1 to create a new IntervalBin object from inherited base classes: LinearIntervalBin with example: obj = IntervalBin(feature, sub_score, left_end, right_end)