Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/14/09 18:48:40 (15 years ago)
Author:
gkronber
Message:

Added RandomInjector (necessary for selection operator) to TimeSeriesSupportVectorRegression engine. #705

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.SupportVectorMachines/3.2/TimeSeriesSupportVectorRegression.cs

    r2352 r2354  
    3737
    3838namespace HeuristicLab.SupportVectorMachines {
    39   public class TimeSeriesSupportVectorRegression : SupportVectorRegression {
     39  public class TimeSeriesSupportVectorRegression : SupportVectorRegression, ITimeSeriesAlgorithm {
    4040
    4141    public override string Name { get { return "SupportVectorRegression - Time Series Prognosis"; } }
     
    6363      ProblemInjector probInjector = new ProblemInjector();
    6464      seq.AddSubOperator(probInjector);
     65      seq.AddSubOperator(new RandomInjector());
    6566      return seq;
    6667    }
     
    8283
    8384      SupportVectorEvaluator trainingEvaluator = new SupportVectorEvaluator();
     85      trainingEvaluator.Name = "TrainingEvaluator";
     86      trainingEvaluator.GetVariableInfo("SVMModel").ActualName = "Model";
    8487      trainingEvaluator.GetVariableInfo("SamplesStart").ActualName = "TrainingSamplesStart";
    8588      trainingEvaluator.GetVariableInfo("SamplesEnd").ActualName = "TrainingSamplesEnd";
Note: See TracChangeset for help on using the changeset viewer.