Class

org.apache.spark.ml.classification

BinaryLogisticRegressionSummary

Related Doc: package classification

Permalink

class BinaryLogisticRegressionSummary extends LogisticRegressionSummary

:: Experimental :: Binary Logistic regression results for a given model.

Annotations
@Experimental()
Linear Supertypes
LogisticRegressionSummary, Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BinaryLogisticRegressionSummary
  2. LogisticRegressionSummary
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. lazy val areaUnderROC: Double

    Permalink

    Computes the area under the receiver operating characteristic (ROC) curve.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  9. lazy val fMeasureByThreshold: DataFrame

    Permalink

    Returns a dataframe with two fields (threshold, F-Measure) curve with beta = 1.0.

  10. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  14. val labelCol: String

    Permalink

    field in "predictions" which gives the true label of each sample.

    field in "predictions" which gives the true label of each sample.

    Definition Classes
    BinaryLogisticRegressionSummaryLogisticRegressionSummary
  15. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  18. lazy val pr: DataFrame

    Permalink

    Returns the precision-recall curve, which is an Dataframe containing two fields recall, precision with (0.0, 1.0) prepended to it.

  19. lazy val precisionByThreshold: DataFrame

    Permalink

    Returns a dataframe with two fields (threshold, precision) curve.

    Returns a dataframe with two fields (threshold, precision) curve. Every possible probability obtained in transforming the dataset are used as thresholds used in calculating the precision.

  20. val predictions: DataFrame

    Permalink

    dataframe outputted by the model's transform method.

    dataframe outputted by the model's transform method.

    Definition Classes
    BinaryLogisticRegressionSummaryLogisticRegressionSummary
  21. val probabilityCol: String

    Permalink

    field in "predictions" which gives the calibrated probability of each sample.

    field in "predictions" which gives the calibrated probability of each sample.

    Definition Classes
    BinaryLogisticRegressionSummaryLogisticRegressionSummary
  22. lazy val recallByThreshold: DataFrame

    Permalink

    Returns a dataframe with two fields (threshold, recall) curve.

    Returns a dataframe with two fields (threshold, recall) curve. Every possible probability obtained in transforming the dataset are used as thresholds used in calculating the recall.

  23. lazy val roc: DataFrame

    Permalink

    Returns the receiver operating characteristic (ROC) curve, which is an Dataframe having two fields (FPR, TPR) with (0.0, 0.0) prepended and (1.0, 1.0) appended to it.

    Returns the receiver operating characteristic (ROC) curve, which is an Dataframe having two fields (FPR, TPR) with (0.0, 0.0) prepended and (1.0, 1.0) appended to it.

    See also

    http://en.wikipedia.org/wiki/Receiver_operating_characteristic

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

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

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

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

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

Inherited from LogisticRegressionSummary

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Members