class DummyClassificationModel extends ProbabilisticClassificationModel[Vector, DummyClassificationModel] with DummyClassifierParams with MLWritable

Source
DummyClassifier.scala
Linear Supertypes
MLWritable, DummyClassifierParams, HasTol, ProbabilisticClassificationModel[Vector, DummyClassificationModel], ProbabilisticClassifierParams, HasThresholds, HasProbabilityCol, ClassificationModel[Vector, DummyClassificationModel], ClassifierParams, HasRawPredictionCol, PredictionModel[Vector, DummyClassificationModel], PredictorParams, HasPredictionCol, HasFeaturesCol, HasLabelCol, Model[DummyClassificationModel], Transformer, PipelineStage, Logging, Params, Serializable, Identifiable, AnyRef, Any
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. DummyClassificationModel
  2. MLWritable
  3. DummyClassifierParams
  4. HasTol
  5. ProbabilisticClassificationModel
  6. ProbabilisticClassifierParams
  7. HasThresholds
  8. HasProbabilityCol
  9. ClassificationModel
  10. ClassifierParams
  11. HasRawPredictionCol
  12. PredictionModel
  13. PredictorParams
  14. HasPredictionCol
  15. HasFeaturesCol
  16. HasLabelCol
  17. Model
  18. Transformer
  19. PipelineStage
  20. Logging
  21. Params
  22. Serializable
  23. Identifiable
  24. AnyRef
  25. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DummyClassificationModel(numClasses: Int, rawPrediction: Vector, probability: Vector)
  2. new DummyClassificationModel(uid: String, numClasses: Int, rawPrediction: Vector, probability: Vector)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def $[T](param: Param[T]): T
    Attributes
    protected
    Definition Classes
    Params
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. final def clear(param: Param[_]): DummyClassificationModel.this.type
    Definition Classes
    Params
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. val constant: Param[Double]

    param for the constant predicted by the predictor

    param for the constant predicted by the predictor

    Definition Classes
    DummyClassifierParams
  9. def copy(extra: ParamMap): DummyClassificationModel
    Definition Classes
    DummyClassificationModel → Model → Transformer → PipelineStage → Params
  10. def copyValues[T <: Params](to: T, extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  11. final def defaultCopy[T <: Params](extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def explainParam(param: Param[_]): String
    Definition Classes
    Params
  15. def explainParams(): String
    Definition Classes
    Params
  16. def extractInstances(dataset: Dataset[_], numClasses: Int): RDD[Instance]
    Attributes
    protected
    Definition Classes
    ClassifierParams
  17. def extractInstances(dataset: Dataset[_], validateInstance: (Instance) => Unit): RDD[Instance]
    Attributes
    protected
    Definition Classes
    PredictorParams
  18. def extractInstances(dataset: Dataset[_]): RDD[Instance]
    Attributes
    protected
    Definition Classes
    PredictorParams
  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 featuresDataType: DataType
    Attributes
    protected
    Definition Classes
    PredictionModel
  23. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  24. final def get[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  25. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. def getConstant: Double

    Definition Classes
    DummyClassifierParams
  27. final def getDefault[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  28. final def getFeaturesCol: String
    Definition Classes
    HasFeaturesCol
  29. final def getLabelCol: String
    Definition Classes
    HasLabelCol
  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 getProbabilityCol: String
    Definition Classes
    HasProbabilityCol
  34. final def getRawPredictionCol: String
    Definition Classes
    HasRawPredictionCol
  35. def getStrategy: String
    Definition Classes
    DummyClassifierParams
  36. def getThresholds: Array[Double]
    Definition Classes
    HasThresholds
  37. final def getTol: Double
    Definition Classes
    HasTol
  38. final def hasDefault[T](param: Param[T]): Boolean
    Definition Classes
    Params
  39. def hasParam(paramName: String): Boolean
    Definition Classes
    Params
  40. def hasParent: Boolean
    Definition Classes
    Model
  41. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  42. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  43. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  44. final def isDefined(param: Param[_]): Boolean
    Definition Classes
    Params
  45. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  46. final def isSet(param: Param[_]): Boolean
    Definition Classes
    Params
  47. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  48. final val labelCol: Param[String]
    Definition Classes
    HasLabelCol
  49. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  50. def logDebug(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  51. def logDebug(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  52. def logError(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  53. def logError(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  54. def logInfo(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  55. def logInfo(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  56. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  57. def logTrace(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  58. def logTrace(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  59. def logWarning(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  60. def logWarning(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  61. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  62. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  63. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  64. val numClasses: Int
    Definition Classes
    DummyClassificationModel → ClassificationModel
  65. def numFeatures: Int
    Definition Classes
    PredictionModel
    Annotations
    @Since("1.6.0")
  66. lazy val params: Array[Param[_]]
    Definition Classes
    Params
  67. var parent: Estimator[DummyClassificationModel]
    Definition Classes
    Model
  68. def predict(features: Vector): Double
    Definition Classes
    ClassificationModel → PredictionModel
  69. def predictProbability(features: Vector): Vector
    Definition Classes
    ProbabilisticClassificationModel
    Annotations
    @Since("3.0.0")
  70. def predictRaw(features: Vector): Vector
    Definition Classes
    DummyClassificationModel → ClassificationModel
  71. final val predictionCol: Param[String]
    Definition Classes
    HasPredictionCol
  72. val probability: Vector
  73. def probability2prediction(probability: Vector): Double
    Attributes
    protected
    Definition Classes
    ProbabilisticClassificationModel
  74. final val probabilityCol: Param[String]
    Definition Classes
    HasProbabilityCol
  75. def raw2prediction(rawPrediction: Vector): Double
    Attributes
    protected
    Definition Classes
    ProbabilisticClassificationModel → ClassificationModel
  76. def raw2probability(rawPrediction: Vector): Vector
    Attributes
    protected
    Definition Classes
    ProbabilisticClassificationModel
  77. def raw2probabilityInPlace(rawPrediction: Vector): Vector
    Attributes
    protected
    Definition Classes
    DummyClassificationModel → ProbabilisticClassificationModel
  78. val rawPrediction: Vector
  79. final val rawPredictionCol: Param[String]
    Definition Classes
    HasRawPredictionCol
  80. def save(path: String): Unit
    Definition Classes
    MLWritable
    Annotations
    @Since("1.6.0") @throws("If the input path already exists but overwrite is not enabled.")
  81. final def set(paramPair: ParamPair[_]): DummyClassificationModel.this.type
    Attributes
    protected
    Definition Classes
    Params
  82. final def set(param: String, value: Any): DummyClassificationModel.this.type
    Attributes
    protected
    Definition Classes
    Params
  83. final def set[T](param: Param[T], value: T): DummyClassificationModel.this.type
    Definition Classes
    Params
  84. def setConstant(value: Double): DummyClassificationModel.this.type

  85. final def setDefault(paramPairs: ParamPair[_]*): DummyClassificationModel.this.type
    Attributes
    protected
    Definition Classes
    Params
  86. final def setDefault[T](param: Param[T], value: T): DummyClassificationModel.this.type
    Attributes
    protected
    Definition Classes
    Params
  87. def setFeaturesCol(value: String): DummyClassificationModel
    Definition Classes
    PredictionModel
  88. def setParent(parent: Estimator[DummyClassificationModel]): DummyClassificationModel
    Definition Classes
    Model
  89. def setPredictionCol(value: String): DummyClassificationModel
    Definition Classes
    PredictionModel
  90. def setProbabilityCol(value: String): DummyClassificationModel
    Definition Classes
    ProbabilisticClassificationModel
  91. def setRawPredictionCol(value: String): DummyClassificationModel
    Definition Classes
    ClassificationModel
  92. def setStrategy(value: String): DummyClassificationModel.this.type

  93. def setThresholds(value: Array[Double]): DummyClassificationModel
    Definition Classes
    ProbabilisticClassificationModel
  94. def setTol(value: Double): DummyClassificationModel.this.type

  95. val strategy: Param[String]

    strategy to use to generate predictions.

    strategy to use to generate predictions. (case-insensitive) Supported: "uniform", "prior", "constant". (default = uniform)

    Definition Classes
    DummyClassifierParams
  96. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  97. val thresholds: DoubleArrayParam
    Definition Classes
    HasThresholds
  98. def toString(): String
    Definition Classes
    DummyClassificationModel → Identifiable → AnyRef → Any
  99. final val tol: DoubleParam
    Definition Classes
    HasTol
  100. def transform(dataset: Dataset[_]): DataFrame
    Definition Classes
    ProbabilisticClassificationModel → ClassificationModel → PredictionModel → Transformer
  101. def transform(dataset: Dataset[_], paramMap: ParamMap): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since("2.0.0")
  102. def transform(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since("2.0.0") @varargs()
  103. final def transformImpl(dataset: Dataset[_]): DataFrame
    Definition Classes
    ClassificationModel → PredictionModel
  104. def transformSchema(schema: StructType): StructType
    Definition Classes
    ProbabilisticClassificationModel → ClassificationModel → PredictionModel → PipelineStage
  105. def transformSchema(schema: StructType, logging: Boolean): StructType
    Attributes
    protected
    Definition Classes
    PipelineStage
    Annotations
    @DeveloperApi()
  106. val uid: String
    Definition Classes
    DummyClassificationModel → Identifiable
  107. def validateAndTransformSchema(schema: StructType, fitting: Boolean, featuresDataType: DataType): StructType
    Attributes
    protected
    Definition Classes
    ProbabilisticClassifierParams → ClassifierParams → PredictorParams
  108. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  109. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  110. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  111. def write: MLWriter
    Definition Classes
    DummyClassificationModel → MLWritable

Inherited from MLWritable

Inherited from DummyClassifierParams

Inherited from HasTol

Inherited from ProbabilisticClassificationModel[Vector, DummyClassificationModel]

Inherited from ProbabilisticClassifierParams

Inherited from HasThresholds

Inherited from HasProbabilityCol

Inherited from ClassificationModel[Vector, DummyClassificationModel]

Inherited from ClassifierParams

Inherited from HasRawPredictionCol

Inherited from PredictionModel[Vector, DummyClassificationModel]

Inherited from PredictorParams

Inherited from HasPredictionCol

Inherited from HasFeaturesCol

Inherited from HasLabelCol

Inherited from Model[DummyClassificationModel]

Inherited from Transformer

Inherited from PipelineStage

Inherited from Logging

Inherited from Params

Inherited from Serializable

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

getParam

param

setParam

Ungrouped