org.apache.spark.ml.classification

BinaryLogisticRegressionSummary

class BinaryLogisticRegressionSummary extends LogisticRegressionSummary

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

Annotations
@Experimental() @Since( "1.5.0" )
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
Learn more about member selection
Visibility
  1. Public
  2. All

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. lazy val areaUnderROC: Double

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

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

    Annotations
    @Since( "1.5.0" )
    Note

    This ignores instance weights (setting all to 1.0) from LogisticRegression.weightCol. This will change in later Spark versions.

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  11. lazy val fMeasureByThreshold: DataFrame

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

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

    Annotations
    @Since( "1.5.0" )
    Note

    This ignores instance weights (setting all to 1.0) from LogisticRegression.weightCol. This will change in later Spark versions.

  12. val featuresCol: String

    field in "predictions" which gives the features of each instance as a vector.

    field in "predictions" which gives the features of each instance as a vector.

    Definition Classes
    BinaryLogisticRegressionSummaryLogisticRegressionSummary
    Annotations
    @Since( "1.6.0" )
  13. def finalize(): Unit

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

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

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

    Definition Classes
    Any
  17. val labelCol: String

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

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

    Definition Classes
    BinaryLogisticRegressionSummaryLogisticRegressionSummary
    Annotations
    @Since( "1.5.0" )
  18. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  21. lazy val pr: DataFrame

    Returns the precision-recall curve, which is a Dataframe containing two fields recall, precision with (0.

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

    Annotations
    @Since( "1.5.0" )
    Note

    This ignores instance weights (setting all to 1.0) from LogisticRegression.weightCol. This will change in later Spark versions.

  22. lazy val precisionByThreshold: DataFrame

    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.

    Annotations
    @Since( "1.5.0" )
    Note

    This ignores instance weights (setting all to 1.0) from LogisticRegression.weightCol. This will change in later Spark versions.

  23. val predictions: DataFrame

    dataframe output by the model's transform method.

    dataframe output by the model's transform method.

    Definition Classes
    BinaryLogisticRegressionSummaryLogisticRegressionSummary
    Annotations
    @Since( "1.5.0" )
  24. val probabilityCol: String

    field in "predictions" which gives the probability of each class as a vector.

    field in "predictions" which gives the probability of each class as a vector.

    Definition Classes
    BinaryLogisticRegressionSummaryLogisticRegressionSummary
    Annotations
    @Since( "1.5.0" )
  25. lazy val recallByThreshold: DataFrame

    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.

    Annotations
    @Since( "1.5.0" )
    Note

    This ignores instance weights (setting all to 1.0) from LogisticRegression.weightCol. This will change in later Spark versions.

  26. lazy val roc: DataFrame

    Returns the receiver operating characteristic (ROC) curve, which is a Dataframe having two fields (FPR, TPR) with (0.

    Returns the receiver operating characteristic (ROC) curve, which is a Dataframe having two fields (FPR, TPR) with (0.0, 0.0) prepended and (1.0, 1.0) appended to it. See http://en.wikipedia.org/wiki/Receiver_operating_characteristic

    Annotations
    @Since( "1.5.0" )
    Note

    This ignores instance weights (setting all to 1.0) from LogisticRegression.weightCol. This will change in later Spark versions.

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

    Definition Classes
    AnyRef
  28. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from LogisticRegressionSummary

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Members