class_docstr: Defines the representation of a scorecard
docstr: Computes the output of the scorecard for the given assignment of variables. This output is computed as the
  sum of sub-scores for each partition in the scorecard and the bias term.
  
  @param assignment: dict mapping variable names to values
  @return: float score computed using the scorecard
docstr_tok: ["Computes","the","output","of","the","scorecard","for","the","given","assignment","of","variables",".","This","output","is","computed","as","the","sum","of","sub-scores","for","each","partition","in","the","scorecard","and","the","bias","term",".","@","param","assignment",":","dict","mapping","variable","names","to","values","@","return",":","float","score","computed","using","the","scorecard"]
code: def evaluate(self, assignment: Dict[str, Any]) -> float:
      """
      Computes the output of the scorecard for the given assignment of variables. This output is computed as the
      sum of sub-scores for each partition in the scorecard and the bias term.
  
      @param assignment: dict mapping variable names to values
      @return: float score computed using the scorecard
      """
      score = self.bias
      for partition in self.partitions:
          score += partition.evaluate(assignment)
      return float(score)
  
file_path: AIX360/aix360/algorithms/rule_induction/trxf/scorecard/scorecard.py
imports: from numbers import Real
  from typing import List, Tuple, Dict, Any
  from aix360.algorithms.rule_induction.trxf.core import Feature
  from aix360.algorithms.rule_induction.trxf.scorecard import Partition
label_desc: Use image node_id 2 for calling the Scorecard obj's underlying member method code with example usage: obj.evaluate(assignment) and returns: float