code: def __init__(
      self,
      factor=None,
      num_partitions=None,
      model_class=None,
      init_kwds=None,
      estimation_method=None,
      estimation_kwds=None,
      join_method=None,
      join_kwds=None,
      results_class=None,
      results_kwds=None,
  ):
      self._factor = factor
      self._sm_model = DistributedModel(
          num_partitions or 10,
          model_class=model_class,
          init_kwds=init_kwds,
          estimation_method=estimation_method,
          estimation_kwds=estimation_kwds,
          join_method=join_method,
          join_kwds=join_kwds,
          results_class=results_class,
          results_kwds=results_kwds,
      )
  
file_path: mars/mars/learn/contrib/statsmodels/api.py
imports: import pickle
  from .train import StatsModelsTrain
  from .predict import StatsModelsPredict
label_desc: Use image node_id 1 to create a new MarsDistributedModel object  with example: obj = MarsDistributedModel(factor, num_partitions, model_class, init_kwds, estimation_method, estimation_kwds, join_method, join_kwds, results_class, results_kwds)