class_docstr: .. note:: Deprecated in 0.5.0. `DLEstimator` has been migrated to package
   `bigdl.dlframes`. This will be removed in BigDL 0.6.
class_docstr_tok: ["..","note",":",":","Deprecated","in","0.5.0",".","`","DLEstimator","`","has","been","migrated","to","package","`","bigdl.dlframes","`",".","This","will","be","removed","in","BigDL","0.6","."]
code: def _fit(self, dataset):
      # self._transfer_params_to_java()
      jmodel = callBigDlFunc(
          self.bigdl_type, "fitEstimator", self.value, dataset
      )
      model = DLModel.of(jmodel, self.featureSize, self.bigdl_type)
      return model
  
imports: from pyspark.ml.pipeline import Estimator, Model
  from pyspark.ml.param.shared import *
  from bigdl.dllib.utils.common import *
  import sys
label_desc: Use image node_id 2 for calling the DLEstimator obj's underlying member method code with example usage: obj._fit(dataset) and returns: model