Changeset 2419


Ignore:
Timestamp:
10/08/09 10:28:24 (13 years ago)
Author:
mkommend
Message:

moved actual training samples from DefaulRegressionOperator to specific algorithms (ticket #755)

Location:
trunk/sources
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/OffspringSelectionGPRegression.cs

    r2395 r2419  
    187187      injector.AddVariable(new HeuristicLab.Core.Variable("BestValidationSolutionAge", new IntData()));
    188188      injector.AddVariable(new HeuristicLab.Core.Variable("MaxBestValidationSolutionAge", new IntData()));
     189      injector.AddVariable(new HeuristicLab.Core.Variable("MaxNumberOfTrainingSamples", new IntData(4000)));
    189190      return injector;
    190191    }
  • trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/StandardGPRegression.cs

    r2395 r2419  
    182182      injector.AddVariable(new HeuristicLab.Core.Variable("BestValidationSolutionAge", new IntData()));
    183183      injector.AddVariable(new HeuristicLab.Core.Variable("MaxBestValidationSolutionAge", new IntData()));
     184      injector.AddVariable(new HeuristicLab.Core.Variable("MaxNumberOfTrainingSamples", new IntData(4000)));
    184185      return injector;
    185186    }
  • trunk/sources/HeuristicLab.LinearRegression/3.2/LinearRegression.cs

    r2377 r2419  
    161161      injector.AddVariable(new HeuristicLab.Core.Variable("PunishmentFactor", new DoubleData(1000)));
    162162      injector.AddVariable(new HeuristicLab.Core.Variable("TotalEvaluatedNodes", new DoubleData(0)));
     163      injector.AddVariable(new HeuristicLab.Core.Variable("MaxNumberOfTrainingSamples", new IntData(4000)));
    163164
    164165      return injector;
  • trunk/sources/HeuristicLab.Modeling/3.2/DefaultRegressionOperators.cs

    r2396 r2419  
    3333      SequentialProcessor seq = new SequentialProcessor();
    3434      ProblemInjector probInjector = new ProblemInjector();
    35       probInjector.AddVariable(new Variable("MaxNumberOfTrainingSamples", new IntData(2000)));
     35      //probInjector.AddVariable(new Variable("MaxNumberOfTrainingSamples", new IntData(2000)));
    3636
    3737      seq.AddSubOperator(probInjector);
  • trunk/sources/HeuristicLab.SupportVectorMachines/3.2/SupportVectorRegression.cs

    r2396 r2419  
    437437      injector.AddVariable(new HeuristicLab.Core.Variable("Type", new StringData("NU_SVR")));
    438438      injector.AddVariable(new HeuristicLab.Core.Variable("PunishmentFactor", new DoubleData(1000.0)));
     439      injector.AddVariable(new Variable("MaxNumberOfTrainingSamples", new IntData(1000)));
    439440      return injector;
    440441    }
Note: See TracChangeset for help on using the changeset viewer.