Changeset 3888 for trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3
- Timestamp:
- 06/02/10 12:02:26 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/SupportVectorMachine/ParameterAdjustmentProblem/SupportVectorMachineParameterAdjustmentProblem.cs
r3884 r3888 150 150 Parameters.Add(new OptionalValueParameter<DoubleValue>("BestKnownQuality", "The quality of the best known solution of this test function.", new DoubleValue(0))); 151 151 Parameters.Add(new OptionalValueParameter<RealVector>("BestKnownSolution", "The best known solution for this test function instance.")); 152 Parameters.Add(new OptionalValueParameter<PercentValue>("ActualSamples", "The percentage of samples to use for cross validation.")); 152 153 153 154 strategyVectorCreator = new StdDevStrategyVectorCreator(); … … 161 162 ParameterizeSolutionCreator(); 162 163 ParameterizeEvaluator(); 163 ParameterizeAnalyzers();164 164 165 165 Initialize(); … … 253 253 } 254 254 } 255 private void ParameterizeAnalyzers() { 256 foreach (SupportVectorMachineParameterAdjustmentBestSolutionAnalyzer analyzer in Operators.OfType<SupportVectorMachineParameterAdjustmentBestSolutionAnalyzer>()) { 257 analyzer.DataAnalysisProblemDataParameter.ActualName = DataAnalysisProblemDataParameter.Name; 258 analyzer.ParameterVectorParameter.ActualName = SolutionCreator.RealVectorParameter.ActualName; 259 analyzer.QualityParameter.ActualName = Evaluator.QualityParameter.ActualName; 260 } 261 } 255 262 private void UpdateStrategyVectorBounds() { 256 263 DoubleMatrix strategyBounds = (DoubleMatrix)Bounds.Clone();
Note: See TracChangeset
for help on using the changeset viewer.