org.apache.spark.ml

DLClassifierModel

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
Learn more about member selection
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])

    model

    BigDL module to be optimized

    featureSize

    The size (Tensor dimensions) of the feature data.

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Attributes
    protected
    Definition Classes
    Params
  5. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  6. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def batchOutputToPrediction(output: Tensor[T]): Iterable[_]

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

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

    Attributes
    protected
    Definition Classes
    Params
  11. def clone(): AnyRef

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

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

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

    Attributes
    protected
    Definition Classes
    Params
  15. final def eq(arg0: AnyRef): Boolean

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

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

    Definition Classes
    Params
  18. def explainParams(): String

    Definition Classes
    Params
  19. final def extractParamMap(): ParamMap

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

    Definition Classes
    Params
  21. final val featuresCol: Param[String]

    Definition Classes
    HasFeaturesCol
  22. def finalize(): Unit

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

    Definition Classes
    Params
  24. final def getBatchSize: Int

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

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

    Definition Classes
    Params
  27. def getFeatureArrayCol: String

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

    Definition Classes
    DLModel
  29. final def getFeaturesCol: String

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

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

    Definition Classes
    Params
  32. final def getPredictionCol: String

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

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

    Definition Classes
    Params
  35. def hasParent: Boolean

    Definition Classes
    Model
  36. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  37. def internalTransform(featureData: RDD[Seq[AnyVal]], dataset: DataFrame): DataFrame

    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

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

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

    Definition Classes
    Params
  41. def isTraceEnabled(): Boolean

    Attributes
    protected
    Definition Classes
    Logging
  42. def log: Logger

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

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

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

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

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

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

    Attributes
    protected
    Definition Classes
    Logging
  49. def logName: String

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

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

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

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

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

    BigDL module to be optimized

    BigDL module to be optimized

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    Identifiable → AnyRef → Any
  75. def transform(dataset: DataFrame): DataFrame

    Definition Classes
    DLTransformerBase → Transformer
  76. def transform(dataset: DataFrame, paramMap: ParamMap): DataFrame

    Definition Classes
    Transformer
  77. def transform(dataset: DataFrame, firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): DataFrame

    Definition Classes
    Transformer
    Annotations
    @varargs()
  78. def transformSchema(schema: StructType): StructType

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

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

    Definition Classes
    DLClassifierModelDLModel → Identifiable
  81. def validateParams(): Unit

    Definition Classes
    Params
  82. def validateSchema(schema: StructType): Unit

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

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

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

    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