class_docstr: Defines a Bin specified by a half-open interval [left_end, right_end) where the sub-score is calculated using
  a linear function of the feature value (requires the feature to evaluate to a numerical value).
docstr: Computes the sub-score for the bin based on the feature value. The sub-score is zero if the feature value lies
  outside the bin and is given by linear_multiplier * feature_value + const_part otherwise.
  
  @param assignment: dict mapping variable name to value
  @return: float sub-score for the bin
docstr_tok: ["Computes","the","sub-score","for","the","bin","based","on","the","feature","value",".","The","sub-score","is","zero","if","the","feature","value","lies","outside","the","bin","and","is","given","by","linear_multiplier","*","feature_value","+","const_part","otherwise",".","@","param","assignment",":","dict","mapping","variable","name","to","value","@","return",":","float","sub-score","for","the","bin"]
code: def evaluate(self, assignment: Dict[str, Any]) -> float:
      """
      Computes the sub-score for the bin based on the feature value. The sub-score is zero if the feature value lies
      outside the bin and is given by linear_multiplier * feature_value + const_part otherwise.
  
      @param assignment: dict mapping variable name to value
      @return: float sub-score for the bin
      """
      if self.contains(assignment):
          return (
              self.linear_multiplier
              * self._get_feature_value(assignment)
              + self.const_part
          )
      return 0.0
  
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 2 for calling the LinearIntervalBin obj's underlying member method code with example usage: obj.evaluate(assignment) and returns: int, unknown