- Timestamp:
- 07/15/09 16:23:29 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.GP.StructureIdentification.Classification/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.GP.StructureIdentification.Classification/3.3/OffspringSelectionGP.cs
r1857 r2161 34 34 namespace HeuristicLab.GP.StructureIdentification.Classification { 35 35 public class OffspringSelectionGP : HeuristicLab.GP.StructureIdentification.OffspringSelectionGP, IClassificationAlgorithm { 36 protected override IOperator CreateProblemInjector() {37 return new ProblemInjector();38 }39 36 40 37 protected override IOperator CreateBestSolutionProcessor() { -
trunk/sources/HeuristicLab.GP.StructureIdentification.Classification/3.3/StandardGP.cs
r1857 r2161 35 35 namespace HeuristicLab.GP.StructureIdentification.Classification { 36 36 public class StandardGP : HeuristicLab.GP.StructureIdentification.StandardGP, IClassificationAlgorithm { 37 protected override IOperator CreateProblemInjector() {38 return new ProblemInjector();39 }40 41 37 protected override IOperator CreateBestSolutionProcessor() { 42 38 IOperator seq = base.CreateBestSolutionProcessor(); … … 50 46 AccuracyEvaluator trainingAccuracy = new AccuracyEvaluator(); 51 47 trainingAccuracy.GetVariableInfo("Accuracy").ActualName = "TrainingAccuracy"; 52 trainingAccuracy.GetVariableInfo("SamplesStart").ActualName = " TrainingSamplesStart";53 trainingAccuracy.GetVariableInfo("SamplesEnd").ActualName = " TrainingSamplesEnd";48 trainingAccuracy.GetVariableInfo("SamplesStart").ActualName = "ActualTrainingSamplesStart"; 49 trainingAccuracy.GetVariableInfo("SamplesEnd").ActualName = "ActualTrainingSamplesEnd"; 54 50 55 51 AccuracyEvaluator validationAccuracy = new AccuracyEvaluator(); … … 65 61 ConfusionMatrixEvaluator trainingConfusionMatrix = new ConfusionMatrixEvaluator(); 66 62 trainingConfusionMatrix.GetVariableInfo("ConfusionMatrix").ActualName = "TrainingConfusionMatrix"; 67 trainingConfusionMatrix.GetVariableInfo("SamplesStart").ActualName = " TrainingSamplesStart";68 trainingConfusionMatrix.GetVariableInfo("SamplesEnd").ActualName = " TrainingSamplesEnd";63 trainingConfusionMatrix.GetVariableInfo("SamplesStart").ActualName = "ActualTrainingSamplesStart"; 64 trainingConfusionMatrix.GetVariableInfo("SamplesEnd").ActualName = "ActualTrainingSamplesEnd"; 69 65 70 66 ConfusionMatrixEvaluator validationConfusionMatrix = new ConfusionMatrixEvaluator();
Note: See TracChangeset
for help on using the changeset viewer.