Changeset 515 for trunk/sources/HeuristicLab.StructureIdentification
- Timestamp:
- 08/16/08 14:14:22 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.StructureIdentification/Evaluation/GPEvaluatorBase.cs
r483 r515 72 72 useEstimatedValues = GetVariableValue<BoolData>("UseEstimatedTargetValue", scope, true).Data; 73 73 // prepare for autoregressive modelling by saving the original values of the target-variable to a backup array 74 if(useEstimatedValues && 75 (backupValues == null || start !=this.start || end!=this.end)) {74 if(useEstimatedValues && 75 (backupValues == null || start != this.start || end != this.end)) { 76 76 this.start = start; 77 77 this.end = end; … … 82 82 } 83 83 // get the mean of the values of the target variable to determin the max and min bounds of the estimated value 84 targetMean = dataset.GetMean(targetVariable, start, end );84 targetMean = dataset.GetMean(targetVariable, start, end - 1); 85 85 estimatedValueMin = targetMean - maximumPunishment; 86 86 estimatedValueMax = targetMean + maximumPunishment;
Note: See TracChangeset
for help on using the changeset viewer.