docstr: Tests multiclass case
docstr_tok: ["Tests","multiclass","case"]
code: def test_display_model_explainability_2(self):
      """
      Tests multiclass case
      """
      df = pd.DataFrame(range(0, 21), columns=["id"])
      df["y"] = df["id"].apply(
          lambda x: 0
          if x < 5
          else 1
          if (5 <= x < 10)
          else 2
          if (10 <= x < 15)
          else 3
      )
      df["x1"] = np.random.randint(1, 123, df.shape[0])
      df["x2"] = np.random.randint(1, 3, df.shape[0])
      df = df.set_index("id")
      clf = cb.CatBoostClassifier(n_estimators=1).fit(
          df[["x1", "x2"]], df["y"]
      )
      xpl = SmartExplainer(model=clf)
      xpl.compile(x=df[["x1", "x2"]])
      report = ProjectReport(
          explainer=xpl,
          project_info_file=os.path.join(
              current_path, "../../data/metadata.yaml"
          ),
      )
      report.display_model_explainability()
  
imports: import unittest
  from unittest.mock import patch
  import os
  import numpy
  import pandas
  import catboost
  from category_encoders import OrdinalEncoder
  from shapash import SmartExplainer
  from shapash.report.project_report import ProjectReport
label_desc: Use image node_id 16 for calling the TestProjectReport obj's underlying member method code with example usage: obj.test_display_model_explainability_2() without return types