code: def _from_model(model_dict, tree_class):
      nodes = DecisionTree._recover_nodes(model_dict)
      feature_importance = DecisionTree._recover_feature_importance(
          model_dict
      )
      param = model_dict["hyper_param"]
      tree = tree_class(**param)
      tree._nodes = nodes
      tree._feature_importance = feature_importance
      return tree
  
imports: import numpy
  import pandas
  from fate.arch import Context
  from fate.arch.dataframe import DataFrame
  from fate.ml.ensemble.learner.decision_tree.tree_core.splitter import SplitInfo
  from typing import List
  import logging
label_desc: Use image node_id 21 for calling the DecisionTree obj's underlying member method code with example usage: obj._from_model(model_dict, tree_class) and returns: tree