- Timestamp:
- 06/07/10 12:45:27 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/SupportVectorMachine/ParameterAdjustmentProblem/SupportVectorMachineParameterAdjustmentBestSolutionAnalyzer.cs
r3892 r3900 81 81 get { return KernelTypeParameter.Value; } 82 82 } 83 public ILookupParameter< DataAnalysisSolution> BestSolutionParameter {84 get { return (ILookupParameter< DataAnalysisSolution>)Parameters[BestSolutionParameterName]; }83 public ILookupParameter<SupportVectorMachineModel> BestSolutionParameter { 84 get { return (ILookupParameter<SupportVectorMachineModel>)Parameters[BestSolutionParameterName]; } 85 85 } 86 86 public ILookupParameter<DoubleValue> BestSolutionQualityParameter { … … 102 102 Parameters.Add(new ValueLookupParameter<StringValue>(KernelTypeParameterName, "The kernel type to use for the SVM.", rbfKernelType)); 103 103 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.")); 105 105 Parameters.Add(new LookupParameter<DoubleValue>(BestSolutionQualityParameterName, "The quality of the best support vector model.")); 106 106 Parameters.Add(new LookupParameter<ResultCollection>(ResultsParameterName, "The result collection where the best support vector solution should be stored.")); … … 124 124 DataAnalysisProblemData problemData = DataAnalysisProblemData; 125 125 126 DataAnalysisSolution bestSolution= BestSolutionParameter.ActualValue;126 SupportVectorMachineModel bestModel = BestSolutionParameter.ActualValue; 127 127 if (bestModel == null) { 128 128 bestModel = SupportVectorMachineModelCreator.TrainModel(DataAnalysisProblemData,
Note: See TracChangeset
for help on using the changeset viewer.