Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/07/10 12:45:27 (14 years ago)
Author:
gkronber
Message:

Reverted unwanted changes made with r3892. #1009

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/SupportVectorMachine/ParameterAdjustmentProblem/SupportVectorMachineParameterAdjustmentBestSolutionAnalyzer.cs

    r3892 r3900  
    8181      get { return KernelTypeParameter.Value; }
    8282    }
    83     public ILookupParameter<DataAnalysisSolution> BestSolutionParameter {
    84       get { return (ILookupParameter<DataAnalysisSolution>)Parameters[BestSolutionParameterName]; }
     83    public ILookupParameter<SupportVectorMachineModel> BestSolutionParameter {
     84      get { return (ILookupParameter<SupportVectorMachineModel>)Parameters[BestSolutionParameterName]; }
    8585    }
    8686    public ILookupParameter<DoubleValue> BestSolutionQualityParameter {
     
    102102      Parameters.Add(new ValueLookupParameter<StringValue>(KernelTypeParameterName, "The kernel type to use for the SVM.", rbfKernelType));
    103103      Parameters.Add(new ScopeTreeLookupParameter<DoubleValue>(QualityParameterName, "The cross validation quality reached with the given parameters."));
    104       Parameters.Add(new LookupParameter<DataAnalysisSolution>(BestSolutionParameterName, "The best support vector solution."));
     104      Parameters.Add(new LookupParameter<SupportVectorMachineModel>(BestSolutionParameterName, "The best support vector solution."));
    105105      Parameters.Add(new LookupParameter<DoubleValue>(BestSolutionQualityParameterName, "The quality of the best support vector model."));
    106106      Parameters.Add(new LookupParameter<ResultCollection>(ResultsParameterName, "The result collection where the best support vector solution should be stored."));
     
    124124      DataAnalysisProblemData problemData = DataAnalysisProblemData;
    125125
    126       DataAnalysisSolution bestSolution = BestSolutionParameter.ActualValue;
     126      SupportVectorMachineModel bestModel = BestSolutionParameter.ActualValue;
    127127      if (bestModel == null) {
    128128        bestModel = SupportVectorMachineModelCreator.TrainModel(DataAnalysisProblemData,
Note: See TracChangeset for help on using the changeset viewer.