- Timestamp:
- 06/02/10 19:10:35 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/SupportVectorMachine/ParameterAdjustmentProblem/SupportVectorMachineParameterAdjustmentBestSolutionAnalyzer.cs
r3884 r3892 81 81 get { return KernelTypeParameter.Value; } 82 82 } 83 public ILookupParameter< SupportVectorMachineModel> BestSolutionParameter {84 get { return (ILookupParameter< SupportVectorMachineModel>)Parameters[BestSolutionParameterName]; }83 public ILookupParameter<DataAnalysisSolution> BestSolutionParameter { 84 get { return (ILookupParameter<DataAnalysisSolution>)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< SupportVectorMachineModel>(BestSolutionParameterName, "The best support vector solution."));104 Parameters.Add(new LookupParameter<DataAnalysisSolution>(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 SupportVectorMachineModel bestModel= BestSolutionParameter.ActualValue;126 DataAnalysisSolution bestSolution = BestSolutionParameter.ActualValue; 127 127 if (bestModel == null) { 128 128 bestModel = SupportVectorMachineModelCreator.TrainModel(DataAnalysisProblemData,
Note: See TracChangeset
for help on using the changeset viewer.