Changeset 2036


Ignore:
Timestamp:
06/09/09 14:38:46 (12 years ago)
Author:
gkronber
Message:

Removed commented code fragments. #624

Location:
trunk/sources/HeuristicLab.SupportVectorMachines/3.2
Files:
2 edited

Legend:

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

    r1906 r2036  
    5353      AddVariableInfo(new VariableInfo("SVMGamma", "Gamma parameter in kernel function", typeof(DoubleData), VariableKind.In));
    5454      AddVariableInfo(new VariableInfo("SVMModel", "Represent the model learned by the SVM", typeof(SVMModel), VariableKind.New | VariableKind.Out));
    55 //    AddVariableInfo(new VariableInfo("SVMRangeTransform", "The applied transformation during the learning the model", typeof(SVMRangeTransform), VariableKind.New | VariableKind.Out));
    5655    }
    5756
     
    9594        modelData.RangeTransform = rangeTransform;
    9695        scope.AddVariable(new Variable(scope.TranslateName("SVMModel"), modelData));
    97         //SVMRangeTransform rangeTransformData = new SVMRangeTransform();
    98         //rangeTransformData.Data = rangeTransform;
    99         //scope.AddVariable(new Variable(scope.TranslateName("SVMRangeTransform"), rangeTransformData));
    10096        return null;
    10197      } else {
  • trunk/sources/HeuristicLab.SupportVectorMachines/3.2/SupportVectorEvaluator.cs

    r1906 r2036  
    4141
    4242      AddVariableInfo(new VariableInfo("SVMModel", "Represent the model learned by the SVM", typeof(SVMModel), VariableKind.In));
    43       // AddVariableInfo(new VariableInfo("SVMRangeTransform", "The applied transformation during the learning the model", typeof(SVMRangeTransform), VariableKind.In));
    44 
    4543      AddVariableInfo(new VariableInfo("Values", "Target vs predicted values", typeof(DoubleMatrixData), VariableKind.New | VariableKind.Out));
    4644    }
     
    5553
    5654      SVMModel modelData = GetVariableValue<SVMModel>("SVMModel", scope, true);
    57       // SVM.RangeTransform rangeTransform = GetVariableValue<SVMRangeTransform>("SVMRangeTransform", scope, true).Data;
    58 
    5955      SVM.Problem problem = SVMHelper.CreateSVMProblem(dataset, allowedFeatures, targetVariable, start, end);
    6056      SVM.Problem scaledProblem = SVM.Scaling.Scale(problem, modelData.RangeTransform);
Note: See TracChangeset for help on using the changeset viewer.