class_docstr: A Partition is a set of non-overlapping bins of the same type associated with the same feature
class_docstr_tok: ["A","Partition","is","a","set","of","non-overlapping","bins","of","the","same","type","associated","with","the","same","feature"]
code: def num_bins(self) -> int:
      return len(self.bins)
  
file_path: AIX360/aix360/algorithms/rule_induction/trxf/scorecard/partition.py
imports: from typing import List, Dict, Any
  from aix360.algorithms.rule_induction.trxf.core import Feature
  from aix360.algorithms.rule_induction.trxf.scorecard import Bin
label_desc: Use image node_id 5 for calling the Partition obj's underlying member method code with example usage: obj.num_bins() and returns: len