Class SquaredCorrelationCriterion
java.lang.Object
adaa.analytics.rules.logic.performance.AbstractPerformanceCounter
adaa.analytics.rules.logic.performance.SquaredCorrelationCriterion
Computes the square of the empirical corellation coefficient 'r' between label and prediction.
Eith P=prediction, L=label, V=Variance, Cov=Covariance we calculate r by:
Cov(L,P) / sqrt(V(L)*V(P)). Uses the calculation of the superclass.
Cov(L,P) / sqrt(V(L)*V(P)). Uses the calculation of the superclass.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SquaredCorrelationCriterion
public SquaredCorrelationCriterion()
-
-
Method Details
-
countExample
Description copied from class:AbstractPerformanceCounter
Counts a single example, e.g. by summing up errors.- Specified by:
countExample
in classAbstractPerformanceCounter
-