code: def from_dict(dict_):
      importance = FeatureImportance()
      importance.gain = dict_["gain"]
      importance.split = dict_["split"]
      return importance
  
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 7 for calling the FeatureImportance obj's underlying member method code with example usage: obj.from_dict(dict_) and returns: importance