Class CorrelationNames

Object
org.apache.spark.mllib.stat.correlation.CorrelationNames

public class CorrelationNames extends Object
Maintains supported and default correlation names.

Currently supported correlations: pearson, spearman. Current default correlation: pearson.

After new correlation algorithms are added, please update the documentation here and in Statistics.scala for the correlation APIs.

  • Constructor Details

    • CorrelationNames

      public CorrelationNames()
  • Method Details

    • nameToObjectMap

      public static scala.collection.immutable.Map<String,Correlation> nameToObjectMap()
    • defaultCorrName

      public static String defaultCorrName()