code: def test_constructor(self):
      case1 = self.exp.model_performance("classification")
      self.assertIsInstance(
          case1, (dx.model_explanations.ModelPerformance,)
      )
      self.assertIsInstance(case1.result, (pd.DataFrame,))
      self.assertEqual(case1.result.shape[0], 1)
      self.assertTrue(
          np.isin(
              ["recall", "precision", "f1", "accuracy", "auc"],
              case1.result.columns,
          ).all()
      )
  
      case2 = self.exp.model_performance("regression")
      self.assertIsInstance(
          case2, (dx.model_explanations.ModelPerformance,)
      )
      self.assertIsInstance(case2.result, (pd.DataFrame,))
      self.assertEqual(case2.result.shape[0], 1)
      self.assertTrue(
          np.isin(
              ["mse", "rmse", "r2", "mae", "mad"], case2.result.columns
          ).all()
      )
  
file_path: DALEX/python/dalex/test/test_model_performance.py
imports: import unittest
  import numpy
  import pandas
  from sklearn.compose import ColumnTransformer
  from sklearn.impute import SimpleImputer
  from sklearn.neural_network import MLPClassifier
  from sklearn.pipeline import Pipeline
  from sklearn.preprocessing import StandardScaler, LabelEncoder, OneHotEncoder
  import dalex
  from plotly.graph_objs import Figure
label_desc: Use image node_id 2 for calling the ModelPerformanceTestTitanic obj's underlying member method code with example usage: obj.test_constructor() without return types