class DummyClassifier extends ProbabilisticClassifier[Vector, DummyClassifier, DummyClassificationModel] with DummyClassifierParams with DefaultParamsWritable

Source
DummyClassifier.scala
Linear Supertypes
DefaultParamsWritable, MLWritable, DummyClassifierParams, HasTol, ProbabilisticClassifier[Vector, DummyClassifier, DummyClassificationModel], ProbabilisticClassifierParams, HasThresholds, HasProbabilityCol, Classifier[Vector, DummyClassifier, DummyClassificationModel], ClassifierParams, HasRawPredictionCol, Predictor[Vector, DummyClassifier, DummyClassificationModel], PredictorParams, HasPredictionCol, HasFeaturesCol, HasLabelCol, Estimator[DummyClassificationModel], PipelineStage, Logging, Params, Serializable, Identifiable, AnyRef, Any
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. DummyClassifier
  2. DefaultParamsWritable
  3. MLWritable
  4. DummyClassifierParams
  5. HasTol
  6. ProbabilisticClassifier
  7. ProbabilisticClassifierParams
  8. HasThresholds
  9. HasProbabilityCol
  10. Classifier
  11. ClassifierParams
  12. HasRawPredictionCol
  13. Predictor
  14. PredictorParams
  15. HasPredictionCol
  16. HasFeaturesCol
  17. HasLabelCol
  18. Estimator
  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 DummyClassifier()
  2. new DummyClassifier(uid: String)

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[_]): DummyClassifier.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): DummyClassifier
    Definition Classes
    DummyClassifier → Predictor → Estimator → 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. def extractLabeledPoints(dataset: Dataset[_], numClasses: Int): RDD[LabeledPoint]
    Attributes
    protected
    Definition Classes
    Classifier
  20. def extractLabeledPoints(dataset: Dataset[_]): RDD[LabeledPoint]
    Attributes
    protected
    Definition Classes
    Predictor
  21. final def extractParamMap(): ParamMap
    Definition Classes
    Params
  22. final def extractParamMap(extra: ParamMap): ParamMap
    Definition Classes
    Params
  23. final val featuresCol: Param[String]
    Definition Classes
    HasFeaturesCol
  24. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  25. def fit(dataset: Dataset[_]): DummyClassificationModel
    Definition Classes
    Predictor → Estimator
  26. def fit(dataset: Dataset[_], paramMaps: Seq[ParamMap]): Seq[DummyClassificationModel]
    Definition Classes
    Estimator
    Annotations
    @Since("2.0.0")
  27. def fit(dataset: Dataset[_], paramMap: ParamMap): DummyClassificationModel
    Definition Classes
    Estimator
    Annotations
    @Since("2.0.0")
  28. def fit(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): DummyClassificationModel
    Definition Classes
    Estimator
    Annotations
    @Since("2.0.0") @varargs()
  29. final def get[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  30. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  31. def getConstant: Double

    Definition Classes
    DummyClassifierParams
  32. final def getDefault[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  33. final def getFeaturesCol: String
    Definition Classes
    HasFeaturesCol
  34. final def getLabelCol: String
    Definition Classes
    HasLabelCol
  35. def getNumClasses(dataset: Dataset[_], maxNumClasses: Int): Int
    Attributes
    protected
    Definition Classes
    Classifier
  36. final def getOrDefault[T](param: Param[T]): T
    Definition Classes
    Params
  37. def getParam(paramName: String): Param[Any]
    Definition Classes
    Params
  38. final def getPredictionCol: String
    Definition Classes
    HasPredictionCol
  39. final def getProbabilityCol: String
    Definition Classes
    HasProbabilityCol
  40. final def getRawPredictionCol: String
    Definition Classes
    HasRawPredictionCol
  41. def getStrategy: String
    Definition Classes
    DummyClassifierParams
  42. def getThresholds: Array[Double]
    Definition Classes
    HasThresholds
  43. final def getTol: Double
    Definition Classes
    HasTol
  44. final def hasDefault[T](param: Param[T]): Boolean
    Definition Classes
    Params
  45. def hasParam(paramName: String): Boolean
    Definition Classes
    Params
  46. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  47. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  48. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  49. final def isDefined(param: Param[_]): Boolean
    Definition Classes
    Params
  50. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  51. final def isSet(param: Param[_]): Boolean
    Definition Classes
    Params
  52. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  53. final val labelCol: Param[String]
    Definition Classes
    HasLabelCol
  54. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  55. def logDebug(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  56. def logDebug(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  57. def logError(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  58. def logError(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  59. def logInfo(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  60. def logInfo(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  61. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  62. def logTrace(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  63. def logTrace(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  64. def logWarning(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  65. def logWarning(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  66. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  67. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  68. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  69. lazy val params: Array[Param[_]]
    Definition Classes
    Params
  70. final val predictionCol: Param[String]
    Definition Classes
    HasPredictionCol
  71. final val probabilityCol: Param[String]
    Definition Classes
    HasProbabilityCol
  72. final val rawPredictionCol: Param[String]
    Definition Classes
    HasRawPredictionCol
  73. 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.")
  74. final def set(paramPair: ParamPair[_]): DummyClassifier.this.type
    Attributes
    protected
    Definition Classes
    Params
  75. final def set(param: String, value: Any): DummyClassifier.this.type
    Attributes
    protected
    Definition Classes
    Params
  76. final def set[T](param: Param[T], value: T): DummyClassifier.this.type
    Definition Classes
    Params
  77. def setConstant(value: Double): DummyClassifier.this.type

  78. final def setDefault(paramPairs: ParamPair[_]*): DummyClassifier.this.type
    Attributes
    protected
    Definition Classes
    Params
  79. final def setDefault[T](param: Param[T], value: T): DummyClassifier.this.type
    Attributes
    protected
    Definition Classes
    Params
  80. def setFeaturesCol(value: String): DummyClassifier
    Definition Classes
    Predictor
  81. def setLabelCol(value: String): DummyClassifier
    Definition Classes
    Predictor
  82. def setPredictionCol(value: String): DummyClassifier
    Definition Classes
    Predictor
  83. def setProbabilityCol(value: String): DummyClassifier
    Definition Classes
    ProbabilisticClassifier
  84. def setRawPredictionCol(value: String): DummyClassifier
    Definition Classes
    Classifier
  85. def setStrategy(value: String): DummyClassifier.this.type

  86. def setThresholds(value: Array[Double]): DummyClassifier
    Definition Classes
    ProbabilisticClassifier
  87. 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
  88. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  89. val thresholds: DoubleArrayParam
    Definition Classes
    HasThresholds
  90. def toString(): String
    Definition Classes
    Identifiable → AnyRef → Any
  91. final val tol: DoubleParam
    Definition Classes
    HasTol
  92. def train(dataset: Dataset[_]): DummyClassificationModel
    Attributes
    protected
    Definition Classes
    DummyClassifier → Predictor
  93. def transformSchema(schema: StructType): StructType
    Definition Classes
    Predictor → PipelineStage
  94. def transformSchema(schema: StructType, logging: Boolean): StructType
    Attributes
    protected
    Definition Classes
    PipelineStage
    Annotations
    @DeveloperApi()
  95. val uid: String
    Definition Classes
    DummyClassifier → Identifiable
  96. def validateAndTransformSchema(schema: StructType, fitting: Boolean, featuresDataType: DataType): StructType
    Attributes
    protected
    Definition Classes
    ProbabilisticClassifierParams → ClassifierParams → PredictorParams
  97. def validateLabel(label: Double, numClasses: Int): Unit
    Attributes
    protected
    Definition Classes
    Classifier
  98. def validateNumClasses(numClasses: Int): Unit
    Attributes
    protected
    Definition Classes
    Classifier
  99. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  100. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  101. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  102. def write: MLWriter
    Definition Classes
    DefaultParamsWritable → MLWritable

Inherited from DefaultParamsWritable

Inherited from MLWritable

Inherited from DummyClassifierParams

Inherited from HasTol

Inherited from ProbabilisticClassifier[Vector, DummyClassifier, DummyClassificationModel]

Inherited from ProbabilisticClassifierParams

Inherited from HasThresholds

Inherited from HasProbabilityCol

Inherited from Classifier[Vector, DummyClassifier, DummyClassificationModel]

Inherited from ClassifierParams

Inherited from HasRawPredictionCol

Inherited from Predictor[Vector, DummyClassifier, DummyClassificationModel]

Inherited from PredictorParams

Inherited from HasPredictionCol

Inherited from HasFeaturesCol

Inherited from HasLabelCol

Inherited from Estimator[DummyClassificationModel]

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