public IEvaluationResult Evaluate(IEvaluationRequest request) { var errorEstimator = PredictionErrorEstimatorFactory.GetErrorEstimator(request.EstimatorType, request.PredictionParameters.TestSet, request.PredictionToEvaluate .Predicted); var result = new PredictionResultEvaluation(); result.CumulativeForecastError = errorEstimator.CumulativeForecastError(); result.MeanAbsoluteDeviation = errorEstimator.MeanAbsoluteDeviation(); result.MeanAbsolutePercentError = errorEstimator.MeanAbsolutePercentError(); result.MeanError = errorEstimator.MeanError(); result.MeanSquaredError = errorEstimator.MeanSquaredError(); result.ReturnOnInvestment = errorEstimator.ReturnOnInvestment(); result.RootMeanSquaredError = errorEstimator.RootMeanSquaredError(); return(result); }
public IEvaluationResult Evaluate(IEvaluationRequest request) { throw new NotImplementedException(); }