Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/15/09 16:23:29 (15 years ago)
Author:
gkronber
Message:

Implemented #704 (Shuffling of training data (only) in (non-timeseries) modeling algorithms)

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  
    3434namespace HeuristicLab.GP.StructureIdentification.Classification {
    3535  public class OffspringSelectionGP : HeuristicLab.GP.StructureIdentification.OffspringSelectionGP, IClassificationAlgorithm {
    36     protected override IOperator CreateProblemInjector() {
    37       return new ProblemInjector();
    38     }
    3936
    4037    protected override IOperator CreateBestSolutionProcessor() {
  • trunk/sources/HeuristicLab.GP.StructureIdentification.Classification/3.3/StandardGP.cs

    r1857 r2161  
    3535namespace HeuristicLab.GP.StructureIdentification.Classification {
    3636  public class StandardGP : HeuristicLab.GP.StructureIdentification.StandardGP, IClassificationAlgorithm {
    37     protected override IOperator CreateProblemInjector() {
    38       return new ProblemInjector();
    39     }
    40 
    4137    protected override IOperator CreateBestSolutionProcessor() {
    4238      IOperator seq = base.CreateBestSolutionProcessor();
     
    5046        AccuracyEvaluator trainingAccuracy = new AccuracyEvaluator();
    5147        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";
    5450
    5551        AccuracyEvaluator validationAccuracy = new AccuracyEvaluator();
     
    6561        ConfusionMatrixEvaluator trainingConfusionMatrix = new ConfusionMatrixEvaluator();
    6662        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";
    6965
    7066        ConfusionMatrixEvaluator validationConfusionMatrix = new ConfusionMatrixEvaluator();
Note: See TracChangeset for help on using the changeset viewer.