Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/15/09 13:55:47 (16 years ago)
Author:
gkronber
Message:

fixed missing name mapping of new variables injected by the SupportVectorCreator. #143 (SupportVectorMachine operator for HL3)

File:
1 edited

Legend:

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

    r1806 r1827  
    4848      AddVariableInfo(new VariableInfo("SVMNu", "Nu parameter of nu-SVC, one-class SVM and nu-SVR", typeof(DoubleData), VariableKind.In));
    4949      AddVariableInfo(new VariableInfo("SVMGamma", "Gamma parameter in kernel function", typeof(DoubleData), VariableKind.In));
    50       AddVariableInfo(new VariableInfo("SVMModel", "Represent the model learned by the SVM", typeof(ObjectData), VariableKind.New | VariableKind.New));
    51       AddVariableInfo(new VariableInfo("SVMRangeTransform", "The applied transformation during the learning the model", typeof(ObjectData), VariableKind.New | VariableKind.New));
     50      AddVariableInfo(new VariableInfo("SVMModel", "Represent the model learned by the SVM", typeof(ObjectData), VariableKind.New | VariableKind.Out));
     51      AddVariableInfo(new VariableInfo("SVMRangeTransform", "The applied transformation during the learning the model", typeof(ObjectData), VariableKind.New | VariableKind.Out));
    5252
    5353    }
     
    7979      ObjectData objectData = new ObjectData();
    8080      objectData.Data = model;
    81       scope.AddVariable(new Variable("SVMModel",objectData));
     81      scope.AddVariable(new Variable(scope.TranslateName("SVMModel"),objectData));
    8282      objectData = new ObjectData();
    8383      objectData.Data = rangeTransform;
    84       scope.AddVariable(new Variable("SVMRangeTransform",objectData));
     84      scope.AddVariable(new Variable(scope.TranslateName("SVMRangeTransform"),objectData));
    8585
    8686      return null;
Note: See TracChangeset for help on using the changeset viewer.