code: def from_model(cls, model) -> "CoordinatedLinRModuleGuest":
      linr = CoordinatedLinRModuleGuest(
          optimizer_param=model["meta"]["optimizer_param"],
          learning_rate_param=model["meta"]["learning_rate_param"],
          batch_size=model["meta"]["batch_size"],
          init_param=model["meta"]["init_param"],
          floating_point_precision=model["meta"][
              "floating_point_precision"
          ],
      )
      estimator = CoordinatedLinREstimatorGuest(
          epochs=model["meta"]["epochs"],
          batch_size=model["meta"]["batch_size"],
          init_param=model["meta"]["init_param"],
          floating_point_precision=model["meta"][
              "floating_point_precision"
          ],
      )
      estimator.restore(model["data"]["estimator"])
      linr.estimator = estimator
  
      return linr
  
imports: import logging
  import torch
  from fate.arch import Context, dataframe
  from fate.ml.abc.module import HeteroModule
  from fate.ml.utils import predict_tools
  from fate.ml.utils._model_param import deserialize_param, initialize_param, serialize_param
  from fate.ml.utils._optimizer import LRScheduler, Optimizer
label_desc: Use image node_id 7 for calling the CoordinatedLinRModuleGuest obj's underlying member method code with example usage: obj.from_model(cls, model) and returns: linr