Changeset 10305 for branches/LogResidualEvaluator/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4
- Timestamp:
- 01/08/14 14:43:01 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/LogResidualEvaluator/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective/Evaluators/SymbolicRegressionLogResidualEvaluator.cs
r10203 r10305 30 30 31 31 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Regression { 32 [Item("Log Residual Evaluator", "Evaluator for symbolic regression models that calculates the mean of logarithmic absolute residuals avg(log( abs(y' - y)))." +32 [Item("Log Residual Evaluator", "Evaluator for symbolic regression models that calculates the mean of logarithmic absolute residuals avg(log( 1 + abs(y' - y)))." + 33 33 "This evaluator can be useful if the modeled function contains discontinuities (e.g. 1/x). " + 34 34 "In preliminary experiments, we found that this improves success rates for data sets with a few very large/small target values " + … … 68 68 IEnumerable<double> boundedEstimatedValues = estimatedValues.LimitToRange(lowerEstimationLimit, upperEstimationLimit); 69 69 70 var logRes = boundedEstimatedValues.Zip(targetValues, (e, t) => Math.Log( Math.Abs(e - t)));70 var logRes = boundedEstimatedValues.Zip(targetValues, (e, t) => Math.Log(1.0 + Math.Abs(e - t))); 71 71 72 72 OnlineCalculatorError errorState;
Note: See TracChangeset
for help on using the changeset viewer.