Package

org.apache.spark.ml

evaluation

Permalink

package evaluation

Visibility
  1. Public
  2. All

Type Members

  1. class BinaryClassificationEvaluator extends Evaluator with HasRawPredictionCol with HasLabelCol with DefaultParamsWritable

    Permalink

    :: Experimental :: Evaluator for binary classification, which expects two input columns: rawPrediction and label.

    :: Experimental :: Evaluator for binary classification, which expects two input columns: rawPrediction and label. The rawPrediction column can be of type double (binary 0/1 prediction, or probability of label 1) or of type vector (length-2 vector of raw predictions, scores, or label probabilities).

    Annotations
    @Since( "1.2.0" ) @Experimental()
  2. class ClusteringEvaluator extends Evaluator with HasPredictionCol with HasFeaturesCol with DefaultParamsWritable

    Permalink

    :: Experimental ::

    :: Experimental ::

    Evaluator for clustering results. The metric computes the Silhouette measure using the squared Euclidean distance.

    The Silhouette is a measure for the validation of the consistency within clusters. It ranges between 1 and -1, where a value close to 1 means that the points in a cluster are close to the other points in the same cluster and far from the points of the other clusters.

    Annotations
    @Experimental() @Since( "2.3.0" )
  3. abstract class Evaluator extends Params

    Permalink

    :: DeveloperApi :: Abstract class for evaluators that compute metrics from predictions.

    :: DeveloperApi :: Abstract class for evaluators that compute metrics from predictions.

    Annotations
    @Since( "1.5.0" ) @DeveloperApi()
  4. class MulticlassClassificationEvaluator extends Evaluator with HasPredictionCol with HasLabelCol with DefaultParamsWritable

    Permalink

    :: Experimental :: Evaluator for multiclass classification, which expects two input columns: prediction and label.

    :: Experimental :: Evaluator for multiclass classification, which expects two input columns: prediction and label.

    Annotations
    @Since( "1.5.0" ) @Experimental()
  5. final class RegressionEvaluator extends Evaluator with HasPredictionCol with HasLabelCol with DefaultParamsWritable

    Permalink

    :: Experimental :: Evaluator for regression, which expects two input columns: prediction and label.

    :: Experimental :: Evaluator for regression, which expects two input columns: prediction and label.

    Annotations
    @Since( "1.4.0" ) @Experimental()

Value Members

  1. object BinaryClassificationEvaluator extends DefaultParamsReadable[BinaryClassificationEvaluator] with Serializable

    Permalink
    Annotations
    @Since( "1.6.0" )
  2. object ClusteringEvaluator extends DefaultParamsReadable[ClusteringEvaluator] with Serializable

    Permalink
    Annotations
    @Since( "2.3.0" )
  3. object MulticlassClassificationEvaluator extends DefaultParamsReadable[MulticlassClassificationEvaluator] with Serializable

    Permalink
    Annotations
    @Since( "1.6.0" )
  4. object RegressionEvaluator extends DefaultParamsReadable[RegressionEvaluator] with Serializable

    Permalink
    Annotations
    @Since( "1.6.0" )

Members