Class

org.apache.spark.ml

DLClassifierModel

Related Doc: package ml

Permalink

class DLClassifierModel[T] extends DLModel[T]

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

Linear Supertypes
DLModel[T], HasBatchSize, DLTransformerBase[DLModel[T]], DLParams, HasPredictionCol, HasFeaturesCol, Model[DLModel[T]], Transformer, PipelineStage, Logging, Params, Serializable, Serializable, Identifiable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DLClassifierModel
  2. DLModel
  3. HasBatchSize
  4. DLTransformerBase
  5. DLParams
  6. HasPredictionCol
  7. HasFeaturesCol
  8. Model
  9. Transformer
  10. PipelineStage
  11. Logging
  12. Params
  13. Serializable
  14. Serializable
  15. Identifiable
  16. AnyRef
  17. 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. def batchOutputToPrediction(output: Tensor[T]): Iterable[_]

    Permalink
    Attributes
    protected
    Definition Classes
    DLClassifierModelDLModel
  7. final val batchSize: Param[Int]

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def copy(extra: ParamMap): DLModel[T]

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  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. final def getBatchSize: Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def getDefault[T](param: Param[T]): Option[T]

    Permalink
    Definition Classes
    Params
  26. def getFeatureArrayCol: String

    Permalink
    Attributes
    protected
    Definition Classes
    DLParams
  27. def getFeatureSize: Array[Int]

    Permalink
    Definition Classes
    DLModel
  28. final def getFeaturesCol: String

    Permalink
    Definition Classes
    HasFeaturesCol
  29. final def getOrDefault[T](param: Param[T]): T

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

    Permalink
    Definition Classes
    Params
  31. final def getPredictionCol: String

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

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

    Permalink
    Definition Classes
    Params
  34. def hasParent: Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  36. def initializeLogIfNecessary(isInterpreter: Boolean): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  37. def internalTransform(featureData: RDD[Seq[AnyVal]], dataset: 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.

    featureData

    featureData in the format of Seq

    returns

    output DataFrame

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  42. def log: Logger

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  54. val model: Module[T]

    Permalink

    BigDL module to be optimized

    BigDL module to be optimized

    Definition Classes
    DLClassifierModelDLModel
  55. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  58. lazy val params: Array[Param[_]]

    Permalink
    Definition Classes
    Params
  59. var parent: Estimator[DLModel[T]]

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    DLModel
  69. def setParent(parent: Estimator[DLModel[T]]): DLModel[T]

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

    Permalink
    Definition Classes
    DLModel
  71. def supportedTypesToSeq(row: Row, colType: DataType, index: Int): Seq[AnyVal]

    Permalink
    Definition Classes
    DLParams
  72. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  73. def toArrayType(dataset: DataFrame): RDD[Seq[AnyVal]]

    Permalink
    Attributes
    protected
    Definition Classes
    DLTransformerBase
  74. def toString(): String

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

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

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

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

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

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

    Permalink
    Definition Classes
    DLClassifierModelDLModel → Identifiable
  81. def validateSchema(schema: StructType): Unit

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

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

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

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

Inherited from DLModel[T]

Inherited from HasBatchSize

Inherited from DLTransformerBase[DLModel[T]]

Inherited from DLParams

Inherited from HasPredictionCol

Inherited from HasFeaturesCol

Inherited from Model[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