class_docstr: Calculate model-level model performance measures
  
  Parameters
  -----------
  model_type : {'regression', 'classification'}
      Model task type that is used to choose the proper performance measures.
  cutoff : float, optional
      Cutoff for predictions in classification models. Needed for measures like
      recall, precision, acc, f1 (default is `0.5`).
  
  Attributes
  -----------
  result : pd.DataFrame
      Main result attribute of an explanation.
  residuals : pd.DataFrame
      Residuals for `data`.
  model_type : {'regression', 'classification'}
      Model task type that is used to choose the proper performance measures.
  cutoff : float
      Cutoff for predictions in classification models.
  
  Notes
  --------
  - https://pbiecek.github.io/ema/modelPerformance.html
class_docstr_tok: ["Calculate","model-level","model","performance","measures","Parameters","--","--","--","--","--","-","model_type",":","{","'regression","'",",","'classification","'","}","Model","task","type","that","is","used","to","choose","the","proper","performance","measures",".","cutoff",":","float",",","optional","Cutoff","for","predictions","in","classification","models",".","Needed","for","measures","like","recall",",","precision",",","acc",",","f1","(","default","is","`","0.5","`",")",".","Attributes","--","--","--","--","--","-","result",":","pd.DataFrame","Main","result","attribute","of","an","explanation",".","residuals",":","pd.DataFrame","Residuals","for","`","data","`",".","model_type",":","{","'regression","'",",","'classification","'","}","Model","task","type","that","is","used","to","choose","the","proper","performance","measures",".","cutoff",":","float","Cutoff","for","predictions","in","classification","models",".","Notes","--","--","--","--","-","https",":","\/\/pbiecek.github.io\/ema\/modelPerformance.html"]
code: def _repr_html_(self):
      return self.result._repr_html_()
  
file_path: DALEX/python/dalex/dalex/model_explanations/_model_performance/object.py
imports: import numpy
  import pandas
  from .None import plot, utils
  from ...None import _theme, _global_checks
  from ..._explanation import Explanation
label_desc: Use image node_id 2 for calling the ModelPerformance obj's underlying member method code with example usage: obj._repr_html_() and returns: self