org.apache.spark.ml.evaluation

BinaryClassificationEvaluator

class BinaryClassificationEvaluator extends Evaluator with Params with HasScoreCol with HasLabelCol

:: AlphaComponent :: Evaluator for binary classification, which expects two input columns: score and label.

Annotations
@AlphaComponent()
Linear Supertypes
HasLabelCol, HasScoreCol, Params, Evaluator, Identifiable, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BinaryClassificationEvaluator
  2. HasLabelCol
  3. HasScoreCol
  4. Params
  5. Evaluator
  6. Identifiable
  7. Serializable
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BinaryClassificationEvaluator()

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 ==(arg0: AnyRef): Boolean

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

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

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  10. def evaluate(dataset: SchemaRDD, paramMap: ParamMap): Double

    Evaluates the output.

    Evaluates the output.

    dataset

    a dataset that contains labels/observations and predictions.

    paramMap

    parameter map that specifies the input columns and output metrics

    returns

    metric

    Definition Classes
    BinaryClassificationEvaluatorEvaluator
  11. def explainParams(): String

    Returns the documentation of all params.

    Returns the documentation of all params.

    Definition Classes
    Params
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def getLabelCol: String

    Definition Classes
    HasLabelCol
  15. def getMetricName: String

  16. def getScoreCol: String

    Definition Classes
    HasScoreCol
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

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

    Checks whether a param is explicitly set.

    Checks whether a param is explicitly set.

    Definition Classes
    Params
  20. val labelCol: Param[String]

    param for label column name

    param for label column name

    Definition Classes
    HasLabelCol
  21. val metricName: Param[String]

    param for metric name in evaluation

  22. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  25. val paramMap: ParamMap

    Internal param map.

    Internal param map.

    Attributes
    protected
    Definition Classes
    Params
  26. def params: Array[Param[_]]

    Returns all params.

    Returns all params.

    Definition Classes
    Params
  27. val scoreCol: Param[String]

    param for score column name

    param for score column name

    Definition Classes
    HasScoreCol
  28. def setLabelCol(value: String): BinaryClassificationEvaluator.this.type

  29. def setMetricName(value: String): BinaryClassificationEvaluator.this.type

  30. def setScoreCol(value: String): BinaryClassificationEvaluator.this.type

  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  32. def toString(): String

    Definition Classes
    AnyRef → Any
  33. def validate(): Unit

    Validates parameter values stored internally.

    Validates parameter values stored internally. Raise an exception if any parameter value is invalid.

    Definition Classes
    Params
  34. def validate(paramMap: ParamMap): Unit

    Validates parameter values stored internally plus the input parameter map.

    Validates parameter values stored internally plus the input parameter map. Raises an exception if any parameter is invalid.

    Definition Classes
    Params
  35. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from HasLabelCol

Inherited from HasScoreCol

Inherited from Params

Inherited from Evaluator

Inherited from Identifiable

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped