Class

org.apache.spark.ml.classification

BinaryLogisticRegressionTrainingSummary

Related Doc: package classification

Permalink

class BinaryLogisticRegressionTrainingSummary extends BinaryLogisticRegressionSummary with LogisticRegressionTrainingSummary

:: Experimental :: Logistic regression training results.

Annotations
@Experimental() @Since( "1.5.0" )
Source
LogisticRegression.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BinaryLogisticRegressionTrainingSummary
  2. LogisticRegressionTrainingSummary
  3. BinaryLogisticRegressionSummary
  4. LogisticRegressionSummary
  5. Serializable
  6. Serializable
  7. AnyRef
  8. 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.

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

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

    Definition Classes
    BinaryLogisticRegressionSummary
    Annotations
    @Since( "1.5.0" )
  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.

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

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

    Definition Classes
    BinaryLogisticRegressionSummary
    Annotations
    @Since( "1.5.0" )
  10. val featuresCol: String

    Permalink

    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" )
  11. def finalize(): Unit

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

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

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

    Permalink
    Definition Classes
    Any
  15. val labelCol: String

    Permalink

    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" )
  16. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  19. val objectiveHistory: Array[Double]

    Permalink

    objective function (scaled loss + regularization) at each iteration.

    objective function (scaled loss + regularization) at each iteration.

    Definition Classes
    BinaryLogisticRegressionTrainingSummaryLogisticRegressionTrainingSummary
    Annotations
    @Since( "1.5.0" )
  20. lazy val pr: DataFrame

    Permalink

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

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

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

    Definition Classes
    BinaryLogisticRegressionSummary
    Annotations
    @Since( "1.5.0" )
  21. 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.

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

    Definition Classes
    BinaryLogisticRegressionSummary
    Annotations
    @Since( "1.5.0" )
  22. val predictions: DataFrame

    Permalink

    dataframe output by the model's transform method.

    dataframe output by the model's transform method.

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

    Permalink

    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" )
  24. 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.

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

    Definition Classes
    BinaryLogisticRegressionSummary
    Annotations
    @Since( "1.5.0" )
  25. lazy val roc: DataFrame

    Permalink

    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.

    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

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

    Definition Classes
    BinaryLogisticRegressionSummary
    Annotations
    @Since( "1.5.0" )
  26. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  28. def totalIterations: Int

    Permalink

    Number of training iterations until termination

    Number of training iterations until termination

    Definition Classes
    LogisticRegressionTrainingSummary
  29. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. 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