bigdl.models.ml_pipeline package

Submodules

bigdl.models.ml_pipeline.dl_classifier module

class bigdl.models.ml_pipeline.dl_classifier.DLClassifier(model, criterion, feature_size, bigdl_type='float')[source]

Bases: bigdl.models.ml_pipeline.dl_classifier.DLEstimator

Note

Deprecated in 0.5.0. DLClassifier has been migrated to package

bigdl.dlframes. This will be removed in BigDL 0.6.

class bigdl.models.ml_pipeline.dl_classifier.DLClassifierModel(model, featureSize, jvalue=None, bigdl_type='float')[source]

Bases: bigdl.models.ml_pipeline.dl_classifier.DLModel

Note

Deprecated in 0.5.0. DLClassifierModel has been migrated to package

bigdl.dlframes. This will be removed in BigDL 0.6.

classmethod of(jvalue, feature_size=None, bigdl_type='float')[source]
class bigdl.models.ml_pipeline.dl_classifier.DLEstimator(model, criterion, feature_size, label_size, jvalue=None, bigdl_type='float')[source]

Bases: pyspark.ml.base.Estimator, pyspark.ml.param.shared.HasFeaturesCol, pyspark.ml.param.shared.HasLabelCol, pyspark.ml.param.shared.HasPredictionCol, bigdl.models.ml_pipeline.dl_classifier.HasBatchSize, bigdl.models.ml_pipeline.dl_classifier.HasMaxEpoch, bigdl.models.ml_pipeline.dl_classifier.HasLearningRate, bigdl.util.common.JavaValue

Note

Deprecated in 0.5.0. DLEstimator has been migrated to package

bigdl.dlframes. This will be removed in BigDL 0.6.

class bigdl.models.ml_pipeline.dl_classifier.DLModel(model, featureSize, jvalue=None, bigdl_type='float')[source]

Bases: pyspark.ml.base.Model, pyspark.ml.param.shared.HasFeaturesCol, pyspark.ml.param.shared.HasPredictionCol, bigdl.models.ml_pipeline.dl_classifier.HasBatchSize, bigdl.models.ml_pipeline.dl_classifier.HasFeatureSize, bigdl.util.common.JavaValue

Note

Deprecated in 0.5.0. DLModel has been migrated to package

bigdl.dlframes. This will be removed in BigDL 0.6.

classmethod of(jvalue, feature_size=None, bigdl_type='float')[source]
class bigdl.models.ml_pipeline.dl_classifier.HasBatchSize[source]

Bases: pyspark.ml.param.Params

Mixin for param batchSize: batch size.

batchSize = Param(parent='undefined', name='batchSize', doc='batchSize')

param for batch size.

getBatchSize()[source]

Gets the value of batchSize or its default value.

setBatchSize(val)[source]

Sets the value of batchSize.

class bigdl.models.ml_pipeline.dl_classifier.HasFeatureSize[source]

Bases: pyspark.ml.param.Params

featureSize = Param(parent='undefined', name='featureSize', doc='size of the feature')
getFeatureSize()[source]
setFeatureSize(val)[source]
class bigdl.models.ml_pipeline.dl_classifier.HasLearningRate[source]

Bases: pyspark.ml.param.Params

getLearningRate()[source]

Gets the value of maxEpoch or its default value.

learningRate = Param(parent='undefined', name='learningRate', doc='learning rate')
setLearningRate(val)[source]
class bigdl.models.ml_pipeline.dl_classifier.HasMaxEpoch[source]

Bases: pyspark.ml.param.Params

getMaxEpoch()[source]

Gets the value of maxEpoch or its default value.

maxEpoch = Param(parent='undefined', name='maxEpoch', doc='number of max Epoch')
setMaxEpoch(val)[source]

Module contents