code: def __init__(
      self,
      replace=False,
      frac=1.0,
      n=None,
      random_state=None,
      hetero_sync=True,
  ):
      self.replace = replace
      self.frac = frac
      self.n = n
      self.random_state = random_state
      self.hetero_sync = hetero_sync
  
file_path: FATE/python/fate/ml/model_selection/sample.py
imports: import logging
  from fate.arch import Context
  from fate.arch.dataframe import utils
  from ..abc.module import Module
label_desc: Use image node_id 1 to create a new SampleModuleHost object from inherited base classes: Module with example: obj = SampleModuleHost(replace, frac, n, random_state, hetero_sync)