public final class R2CrossValidationTestResult extends Object implements CrossValidationTestResult
| Constructor and Description | 
|---|
R2CrossValidationTestResult(double weightedCaseCount,
                           double rSquared,
                           double meanActual,
                           double varianceActual)
Initializes a new instance of the  
R2CrossValidationTestResult class. | 
| Modifier and Type | Method and Description | 
|---|---|
double | 
getMeanActual()
Gets the mean of the actual column values (as opposed to the predicted values). 
 | 
Object | 
getValue()
Gets the test result value for this test partitioning. 
 | 
double | 
getVarianceActual()
Gets the variance of the actual column values (as opposed to the predicted values). 
 | 
double | 
getWeightedCaseCount()
Gets the number of records in the test partitioning. 
 | 
Double | 
numericValue()
Returns the test result as a numeric value if supported, otherwise returns null. 
 | 
public R2CrossValidationTestResult(double weightedCaseCount,
                                   double rSquared,
                                   double meanActual,
                                   double varianceActual)
R2CrossValidationTestResult class.weightedCaseCount - The number of cases (rows) in the partition.rSquared - the R Squared statistic (Coefficient of determination) on a partition of data.meanActual - The mean of the actual column values (as opposed to the predicted values).varianceActual - The variance of the actual column values (as opposed to the predicted values).public Object getValue()
getValue in interface CrossValidationTestResultpublic double getWeightedCaseCount()
getWeightedCaseCount in interface CrossValidationTestResultpublic Double numericValue()
numericValue in interface CrossValidationTestResultpublic double getMeanActual()
public double getVarianceActual()
Copyright © 2021. All rights reserved.