code: def from_model(cls, model) -> "FeatureStatistics":
      stat = FeatureStatistics(model["meta"]["metrics"])
      stat.restore(model["data"])
      return stat
  
imports: import logging
  import re
  from typing import List
  import pandas
  from fate.arch import Context
  from ..abc.module import Module
label_desc: Use image node_id 5 for calling the FeatureStatistics obj's underlying member method code with example usage: obj.from_model(cls, model) and returns: stat