Free cookie consent management tool by TermsFeed Policy Generator

Changeset 2396


Ignore:
Timestamp:
09/28/09 14:36:15 (15 years ago)
Author:
gkronber
Message:

Fixed #768 (CEDMA engines should use a limited number of trainingsamples to generate more models in less time)

Location:
trunk/sources
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Modeling/3.2/DefaultRegressionOperators.cs

    r2388 r2396  
    3232      op.Name = "ProblemInjector";
    3333      SequentialProcessor seq = new SequentialProcessor();
     34      ProblemInjector probInjector = new ProblemInjector();
     35      probInjector.AddVariable(new Variable("MaxNumberOfTrainingSamples", new IntData(2000)));
    3436
    35       seq.AddSubOperator(new ProblemInjector());
     37      seq.AddSubOperator(probInjector);
    3638      DatasetShuffler shuffler = new DatasetShuffler();
    3739      shuffler.GetVariableInfo("ShuffleStart").ActualName = "TrainingSamplesStart";
  • trunk/sources/HeuristicLab.SupportVectorMachines/3.2/SupportVectorRegression.cs

    r2377 r2396  
    426426      injector.AddVariable(new HeuristicLab.Core.Variable("MaxCostIndex", new IntData()));
    427427      injector.AddVariable(new HeuristicLab.Core.Variable("NuIndex", new IntData(0)));
    428       injector.AddVariable(new HeuristicLab.Core.Variable("NuList", new DoubleArrayData(new double[] { 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.9, 0.8, 1 })));
     428      injector.AddVariable(new HeuristicLab.Core.Variable("NuList", new DoubleArrayData(new double[] { 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1 })));
    429429      injector.AddVariable(new HeuristicLab.Core.Variable("MaxNuIndex", new IntData()));
    430430      injector.AddVariable(new HeuristicLab.Core.Variable("Log", new ItemList()));
Note: See TracChangeset for help on using the changeset viewer.