Documentation of 'jsat.regression.evaluation.TotalHistoryRegressionScore' Java class
TotalHistoryRegressionScore
jsat.regression.evaluation

Class TotalHistoryRegressionScore

    • Constructor Detail

      • TotalHistoryRegressionScore

        public TotalHistoryRegressionScore()
      • TotalHistoryRegressionScore

        public TotalHistoryRegressionScore(TotalHistoryRegressionScore toCopy)
        Copy constructor
        Parameters:
        toCopy - the object to copy
    • Method Detail

      • addResult

        public void addResult(double prediction,
                              double trueValue,
                              double weight)
        Description copied from interface: RegressionScore
        Adds the given result to the score
        Specified by:
        addResult in interface RegressionScore
        Parameters:
        prediction - the prediction for the data point
        trueValue - the true value for the data point
        weight - the weigh to assign to the data point
      • addResults

        public void addResults(RegressionScore other)
        Description copied from interface: RegressionScore
        The score contained in this object is augmented with the results already accumulated in the other object. This does not result in an averaging, but alters the current object to have the same score it would have had if all the results were originally inserted into this object.

        This method is only required to work if other if of the same class as this object.
        Specified by:
        addResults in interface RegressionScore
        Parameters:
        other - the object to add the results from

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.