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 __init__(
      self,
      model,
      criterion,
      feature_size,
      label_size,
      jvalue=None,
      bigdl_type="float",
  ):
      super(DLEstimator, self).__init__()
      self.value = (
          jvalue
          if jvalue
          else callBigDlFunc(
              bigdl_type,
              self.jvm_class_constructor(),
              model,
              criterion,
              feature_size,
              label_size,
          )
      )
      self.bigdl_type = bigdl_type
      self.featureSize = feature_size
  
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 1 to create a new DLEstimator object from inherited base classes: Estimator, HasFeaturesCol, HasLabelCol, HasPredictionCol, HasBatchSize, HasMaxEpoch, HasLearningRate, JavaValue with example: obj = DLEstimator(model, criterion, feature_size, label_size, jvalue, bigdl_type)