docstr: Train the model with train data.
  
  :param data: train data.
  :param epochs: number of epochs to train.
  :param batch_size: total batch size for each iteration.
docstr_tok: ["Train","the","model","with","train","data",".",":","param","data",":","train","data",".",":","param","epochs",":","number","of","epochs","to","train",".",":","param","batch_size",":","total","batch","size","for","each","iteration","."]
code: def fit(self, data, epochs, batch_size):
      """
      Train the model with train data.
  
      :param data: train data.
      :param epochs: number of epochs to train.
      :param batch_size: total batch size for each iteration.
      """
      pass
  
file_path: BigDL/python/orca/src/bigdl/orca/learn/ray_estimator.py
imports: from abc import abstractmethod
  from bigdl.orca.learn.base_estimator import BaseEstimator
label_desc: Use image node_id 1 for calling the Estimator obj's underlying member method code with example usage: obj.fit(data, epochs, batch_size) without return types