class_docstr: .. note:: Deprecated in 0.5.0. `DLClassifier` has been migrated to package
   `bigdl.dlframes`. This will be removed in BigDL 0.6.
class_docstr_tok: ["..","note",":",":","Deprecated","in","0.5.0",".","`","DLClassifier","`","has","been","migrated","to","package","`","bigdl.dlframes","`",".","This","will","be","removed","in","BigDL","0.6","."]
code: def __init__(
      self, model, criterion, feature_size, bigdl_type="float"
  ):
      super(DLClassifier, self).__init__(
          model, criterion, feature_size, [1], None, bigdl_type
      )
  
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 DLClassifier object from inherited base classes: DLEstimator with example: obj = DLClassifier(model, criterion, feature_size, bigdl_type)