Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/26/19 10:02:47 (5 years ago)
Author:
abeham
Message:

#2521: worked on removing virtual from Maximization for single-objective problems

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2521_ProblemRefactoring/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/GaussianProcessCovarianceOptimizationProblem.cs

    r17226 r17270  
    135135    #endregion
    136136
    137     public override bool Maximization {
    138       get { return true; } // return log likelihood (instead of negative log likelihood as in GPR
    139     }
    140 
    141137    // problem stores a few variables for information exchange from Evaluate() to Analyze()
    142138    private readonly object problemStateLocker = new object();
     
    151147
    152148    public GaussianProcessCovarianceOptimizationProblem() : base(new SymbolicExpressionTreeEncoding()) {
     149      Maximization = true; // return log likelihood (instead of negative log likelihood as in GPR)
    153150      Parameters.Add(new ValueParameter<IRegressionProblemData>(ProblemDataParameterName, "The data for the regression problem", new RegressionProblemData()));
    154151      Parameters.Add(new FixedValueParameter<IntValue>(ConstantOptIterationsParameterName, "Number of optimization steps for hyperparameter values", new IntValue(50)));
Note: See TracChangeset for help on using the changeset viewer.