public class CoefficientOfDetermination extends TotalHistoryRegressionScore
predictions, truths, weights
Constructor and Description |
---|
CoefficientOfDetermination()
Creates a new Coefficient of Determination object
|
CoefficientOfDetermination(CoefficientOfDetermination toCopy)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
CoefficientOfDetermination |
clone() |
boolean |
equals(Object obj) |
String |
getName()
Returns the name to present for this score
|
double |
getScore()
Computes the score for the results that have been enrolled via
RegressionScore.addResult(double, double, double) |
int |
hashCode() |
boolean |
lowerIsBetter()
Returns
true if a lower score is better, or false if a
higher score is better |
addResult, addResults, prepare
public CoefficientOfDetermination()
public CoefficientOfDetermination(CoefficientOfDetermination toCopy)
toCopy
- the object to copypublic double getScore()
RegressionScore
RegressionScore.addResult(double, double, double)
public boolean lowerIsBetter()
RegressionScore
true
if a lower score is better, or false
if a
higher score is bettertrue
if a lower score is betterpublic CoefficientOfDetermination clone()
clone
in interface RegressionScore
clone
in class TotalHistoryRegressionScore
public int hashCode()
hashCode
in interface RegressionScore
hashCode
in class Object
public boolean equals(Object obj)
equals
in interface RegressionScore
equals
in class Object
public String getName()
RegressionScore
Copyright © 2017. All rights reserved.