Changeset 1890 for trunk/sources/HeuristicLab.GP.StructureIdentification
- Timestamp:
- 05/25/09 16:40:11 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/StandardGP.cs
r1873 r1890 240 240 testR2Evaluator.GetVariableInfo("SamplesStart").ActualName = "TestSamplesStart"; 241 241 testR2Evaluator.GetVariableInfo("SamplesEnd").ActualName = "TestSamplesEnd"; 242 VarianceAccountedForEvaluator trainingVAFEvaluator = new VarianceAccountedForEvaluator(); 243 trainingVAFEvaluator.Name = "TrainingVAFEvaluator"; 244 trainingVAFEvaluator.GetVariableInfo("VAF").ActualName = "TrainingVAF"; 245 trainingVAFEvaluator.GetVariableInfo("SamplesStart").ActualName = "TrainingSamplesStart"; 246 trainingVAFEvaluator.GetVariableInfo("SamplesEnd").ActualName = "TrainingSamplesEnd"; 247 VarianceAccountedForEvaluator validationVAFEvaluator = new VarianceAccountedForEvaluator(); 248 validationVAFEvaluator.Name = "ValidationVAFEvaluator"; 249 validationVAFEvaluator.GetVariableInfo("VAF").ActualName = "ValidationVAF"; 250 validationVAFEvaluator.GetVariableInfo("SamplesStart").ActualName = "ValidationSamplesStart"; 251 validationVAFEvaluator.GetVariableInfo("SamplesEnd").ActualName = "ValidationSamplesEnd"; 252 VarianceAccountedForEvaluator testVAFEvaluator = new VarianceAccountedForEvaluator(); 253 testVAFEvaluator.Name = "TestVAFEvaluator"; 254 testVAFEvaluator.GetVariableInfo("VAF").ActualName = "TestVAF"; 255 testVAFEvaluator.GetVariableInfo("SamplesStart").ActualName = "TestSamplesStart"; 256 testVAFEvaluator.GetVariableInfo("SamplesEnd").ActualName = "TestSamplesEnd"; 257 242 258 ProgrammableOperator progOperator = new ProgrammableOperator(); 243 259 progOperator.RemoveVariableInfo("Result"); … … 257 273 bestSolutionProcessor.AddSubOperator(validationR2Evaluator); 258 274 bestSolutionProcessor.AddSubOperator(testR2Evaluator); 275 bestSolutionProcessor.AddSubOperator(trainingVAFEvaluator); 276 bestSolutionProcessor.AddSubOperator(validationVAFEvaluator); 277 bestSolutionProcessor.AddSubOperator(testVAFEvaluator); 259 278 bestSolutionProcessor.AddSubOperator(progOperator); 260 279 return bestSolutionProcessor;
Note: See TracChangeset
for help on using the changeset viewer.