public class RelativeSquaredError extends TotalHistoryRegressionScore
predictions, truths, weights
Constructor and Description |
---|
RelativeSquaredError()
Creates a new Relative Squared Error object
|
RelativeSquaredError(RelativeSquaredError toCopy)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
RelativeSquaredError |
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 RelativeSquaredError()
public RelativeSquaredError(RelativeSquaredError 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 RelativeSquaredError 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.