class_docstr: A class for applying Isotonic Calibration to the outputs of a binary or multi-class classifier.
  
  .. seealso::
  
     `Examples using calibration <https://stellargraph.readthedocs.io/en/stable/demos/calibration/index.html>`__.
  
     Related functionality: :func:`.expected_calibration_error`, :func:`.plot_reliability_diagram`, :class:`.TemperatureCalibration`.
class_docstr_tok: ["A","class","for","applying","Isotonic","Calibration","to","the","outputs","of","a","binary","or","multi-class","classifier",".","..","seealso",":",":","`","Examples","using","calibration","<","https",":","\/\/stellargraph.readthedocs.io\/en\/stable\/demos\/calibration\/index.html",">","`","__",".","Related","functionality",":",":","func",":","`",".expected_calibration_error","`",",",":","func",":","`",".plot_reliability_diagram","`",",",":","class",":","`",".TemperatureCalibration","`","."]
code: def __init__(self):
      self.n_classes = None
      self.regressors = []
  
imports: import numpy
  import matplotlib.pyplot
  import tensorflow
  from sklearn.isotonic import IsotonicRegression
  from sklearn.linear_model import LogisticRegression
label_desc: Use image node_id 1 to create a new IsotonicCalibration object from inherited base classes: object with example: obj = IsotonicCalibration()