Class

org.apache.spark.ml

DLClassifierModel

Related Doc: package ml

Permalink

class DLClassifierModel[T] extends com.intel.analytics.bigdl.dlframes.DLClassifierModel[T]

Deprecated. Please refer to package com.intel.analytics.bigdl.dlframes.

DLClassifierModel is a specialized DLModel for classification tasks. The prediction column will have the datatype of Double.

Annotations
@deprecated
Deprecated

(Since version 0.5.0)

Linear Supertypes
com.intel.analytics.bigdl.dlframes.DLClassifierModel[T], com.intel.analytics.bigdl.dlframes.DLModel[T], DLParams[T], HasBatchSize, VectorCompatibility, HasPredictionCol, HasPredictionCol, HasFeaturesCol, HasFeaturesCol, DLTransformerBase[com.intel.analytics.bigdl.dlframes.DLModel[T]], Model[com.intel.analytics.bigdl.dlframes.DLModel[T]], Transformer, PipelineStage, Logging, Params, Serializable, Serializable, Identifiable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DLClassifierModel
  2. DLClassifierModel
  3. DLModel
  4. DLParams
  5. HasBatchSize
  6. VectorCompatibility
  7. HasPredictionCol
  8. HasPredictionCol
  9. HasFeaturesCol
  10. HasFeaturesCol
  11. DLTransformerBase
  12. Model
  13. Transformer
  14. PipelineStage
  15. Logging
  16. Params
  17. Serializable
  18. Serializable
  19. Identifiable
  20. AnyRef
  21. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DLClassifierModel(model: Module[T], featureSize: Array[Int], uid: String = "DLClassifierModel")(implicit arg0: ClassTag[T], ev: TensorNumeric[T])

    Permalink

    model

    BigDL module to be optimized

    featureSize

    The size (Tensor dimensions) of the feature data.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def $[T](param: Param[T]): T

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. final val batchSize: Param[Int]

    Permalink
    Definition Classes
    HasBatchSize
  7. final def clear(param: Param[_]): DLClassifierModel.this.type

    Permalink
    Definition Classes
    Params
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def copy(extra: ParamMap): com.intel.analytics.bigdl.dlframes.DLModel[T]

    Permalink
    Definition Classes
    DLModel → DLTransformerBase → Model → Transformer → PipelineStage → Params
  10. def copyValues[T <: Params](to: T, extra: ParamMap): T

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  11. final def defaultCopy[T <: Params](extra: ParamMap): T

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  12. final val endWhen: Param[Trigger]

    Permalink

    When to stop the training, passed in a Trigger.

    When to stop the training, passed in a Trigger. E.g. Trigger.maxIterations

    Definition Classes
    DLParams
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def explainParam(param: Param[_]): String

    Permalink
    Definition Classes
    Params
  16. def explainParams(): String

    Permalink
    Definition Classes
    Params
  17. final def extractParamMap(): ParamMap

    Permalink
    Definition Classes
    Params
  18. final def extractParamMap(extra: ParamMap): ParamMap

    Permalink
    Definition Classes
    Params
  19. var featureSize: Array[Int]

    Permalink

    The size (Tensor dimensions) of the feature data.

    The size (Tensor dimensions) of the feature data. (e.g. an image may be with featureSize = 28 * 28).

    Definition Classes
    DLModel
  20. final val featuresCol: Param[String]

    Permalink
    Definition Classes
    HasFeaturesCol
  21. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. final def get[T](param: Param[T]): Option[T]

    Permalink
    Definition Classes
    Params
  23. def getBatchSize: Int

    Permalink
    Definition Classes
    HasBatchSize
  24. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  25. def getConvertFunc(colType: DataType): (Row, Int) ⇒ Seq[AnyVal]

    Permalink

    Get conversion function to extract data from original DataFrame Default: 0

    Get conversion function to extract data from original DataFrame Default: 0

    Attributes
    protected
    Definition Classes
    DLParams
  26. final def getDefault[T](param: Param[T]): Option[T]

    Permalink
    Definition Classes
    Params
  27. def getEndWhen: Trigger

    Permalink
    Definition Classes
    DLParams
  28. def getFeatureSize: Array[Int]

    Permalink
    Definition Classes
    DLModel
  29. final def getFeaturesCol: String

    Permalink
    Definition Classes
    HasFeaturesCol
  30. def getLearningRate: Double

    Permalink
    Definition Classes
    DLParams
  31. def getLearningRateDecay: Double

    Permalink
    Definition Classes
    DLParams
  32. def getMaxEpoch: Int

    Permalink
    Definition Classes
    DLParams
  33. def getOptimMethod: OptimMethod[T]

    Permalink
    Definition Classes
    DLParams
  34. final def getOrDefault[T](param: Param[T]): T

    Permalink
    Definition Classes
    Params
  35. def getParam(paramName: String): Param[Any]

    Permalink
    Definition Classes
    Params
  36. final def getPredictionCol: String

    Permalink
    Definition Classes
    HasPredictionCol
  37. def getVectorSeq(row: Row, colType: DataType, index: Int): Seq[AnyVal]

    Permalink
    Definition Classes
    VectorCompatibility
  38. final def hasDefault[T](param: Param[T]): Boolean

    Permalink
    Definition Classes
    Params
  39. def hasParam(paramName: String): Boolean

    Permalink
    Definition Classes
    Params
  40. def hasParent: Boolean

    Permalink
    Definition Classes
    Model
  41. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  42. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  43. def initializeLogIfNecessary(isInterpreter: Boolean): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  44. def internalTransform(dataFrame: DataFrame): DataFrame

    Permalink

    Perform a prediction on featureCol, and write result to the predictionCol.

    Perform a prediction on featureCol, and write result to the predictionCol.

    Attributes
    protected
    Definition Classes
    DLModel → DLTransformerBase
  45. final def isDefined(param: Param[_]): Boolean

    Permalink
    Definition Classes
    Params
  46. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  47. final def isSet(param: Param[_]): Boolean

    Permalink
    Definition Classes
    Params
  48. def isTraceEnabled(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  49. final val learningRate: DoubleParam

    Permalink

    learning rate for the optimizer in the DLEstimator.

    learning rate for the optimizer in the DLEstimator. Default: 0.001

    Definition Classes
    DLParams
  50. final val learningRateDecay: DoubleParam

    Permalink

    learning rate decay for each iteration.

    learning rate decay for each iteration. Default: 0

    Definition Classes
    DLParams
  51. def log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  52. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  53. def logDebug(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  54. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  55. def logError(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  56. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  57. def logInfo(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  58. def logName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  59. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  60. def logTrace(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  61. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  62. def logWarning(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  63. final val maxEpoch: IntParam

    Permalink

    Number of max Epoch for the training, an epoch refers to a traverse over the training data Default: 50

    Number of max Epoch for the training, an epoch refers to a traverse over the training data Default: 50

    Definition Classes
    DLParams
  64. val model: Module[T]

    Permalink

    BigDL module to be optimized

    BigDL module to be optimized

    Definition Classes
    DLClassifierModelDLClassifierModelDLModel
  65. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  66. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  67. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  68. final val optimMethod: Param[OptimMethod[T]]

    Permalink

    optimization method to be used.

    optimization method to be used. BigDL supports many optimization methods like Adam, SGD and LBFGS. Refer to package com.intel.analytics.bigdl.optim for all the options. Default: SGD

    Definition Classes
    DLParams
  69. def outputToPrediction(output: Tensor[T]): Any

    Permalink
    Attributes
    protected
    Definition Classes
    DLClassifierModelDLModel
  70. lazy val params: Array[Param[_]]

    Permalink
    Definition Classes
    Params
  71. var parent: Estimator[com.intel.analytics.bigdl.dlframes.DLModel[T]]

    Permalink
    Definition Classes
    Model
  72. final val predictionCol: Param[String]

    Permalink
    Definition Classes
    HasPredictionCol
  73. final def set(paramPair: ParamPair[_]): DLClassifierModel.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  74. final def set(param: String, value: Any): DLClassifierModel.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  75. final def set[T](param: Param[T], value: T): DLClassifierModel.this.type

    Permalink
    Definition Classes
    Params
  76. def setBatchSize(value: Int): DLClassifierModel.this.type

    Permalink
    Definition Classes
    DLModel
  77. final def setDefault(paramPairs: ParamPair[_]*): DLClassifierModel.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  78. final def setDefault[T](param: Param[T], value: T): DLClassifierModel.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  79. def setFeatureSize(value: Array[Int]): DLClassifierModel.this.type

    Permalink
    Definition Classes
    DLModel
  80. def setFeaturesCol(featuresColName: String): DLClassifierModel.this.type

    Permalink
    Definition Classes
    DLModel
  81. def setParent(parent: Estimator[com.intel.analytics.bigdl.dlframes.DLModel[T]]): com.intel.analytics.bigdl.dlframes.DLModel[T]

    Permalink
    Definition Classes
    Model
  82. def setPredictionCol(value: String): DLClassifierModel.this.type

    Permalink
    Definition Classes
    DLModel
  83. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  84. def toString(): String

    Permalink
    Definition Classes
    Identifiable → AnyRef → Any
  85. def transform(dataset: Dataset[_]): DataFrame

    Permalink
    Definition Classes
    DLTransformerBase → Transformer
  86. def transform(dataset: Dataset[_], paramMap: ParamMap): DataFrame

    Permalink
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" )
  87. def transform(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): DataFrame

    Permalink
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" ) @varargs()
  88. def transformSchema(schema: StructType): StructType

    Permalink
    Definition Classes
    DLClassifierModelDLModel → PipelineStage
  89. def transformSchema(schema: StructType, logging: Boolean): StructType

    Permalink
    Attributes
    protected
    Definition Classes
    PipelineStage
    Annotations
    @DeveloperApi()
  90. val uid: String

    Permalink
    Definition Classes
    DLClassifierModelDLClassifierModelDLModel → Identifiable
  91. val validVectorTypes: Seq[UserDefinedType[_ >: Vector with Vector <: Serializable] { def sqlType: org.apache.spark.sql.types.StructType }]

    Permalink
    Definition Classes
    VectorCompatibility
  92. def validateDataType(schema: StructType, colName: String): Unit

    Permalink

    Validate if feature and label columns are of supported data types.

    Validate if feature and label columns are of supported data types. Default: 0

    Attributes
    protected
    Definition Classes
    DLParams
  93. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  94. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  95. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from DLParams[T]

Inherited from HasBatchSize

Inherited from VectorCompatibility

Inherited from HasPredictionCol

Inherited from HasPredictionCol

Inherited from HasFeaturesCol

Inherited from HasFeaturesCol

Inherited from DLTransformerBase[com.intel.analytics.bigdl.dlframes.DLModel[T]]

Inherited from Transformer

Inherited from PipelineStage

Inherited from Logging

Inherited from Params

Inherited from Serializable

Inherited from Serializable

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

Ungrouped