code: def shadow_dec_tree(dec_tree, dataset) -> ShadowSKDTree:
      features = [
          "Pclass",
          "Age",
          "Fare",
          "Sex_label",
          "Cabin_label",
          "Embarked_label",
      ]
      target = "Survived"
      class_names = list(dec_tree.classes_)
      return ShadowSKDTree(
          dec_tree,
          dataset[features],
          dataset[target],
          features,
          class_names,
      )
  
imports: import joblib
  import numpy
  import pytest
  from sklearn.tree import DecisionTreeRegressor, DecisionTreeClassifier
  from dtreeviz.models.sklearn_decision_trees import ShadowSKDTree
label_desc: Use image node_id 2 for calling a global function with example usage: shadow_dec_tree(dec_tree, dataset) and returns: ShadowSKDTree