Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/04/17 12:37:52 (7 years ago)
Author:
bwerth
Message:

#2745 added several new InfillCriteria and moved Parameters from the InfillProblem to the Criteria themselves; added Sanitiy checks for GaussianProcessRegression

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/EfficientGlobalOptimization/HeuristicLab.Algorithms.EGO/InfillCriteria/ExpectedQuality.cs

    r14741 r14818  
    2424using HeuristicLab.Encodings.RealVectorEncoding;
    2525using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    26 using HeuristicLab.Problems.DataAnalysis;
    2726
    2827// ReSharper disable once CheckNamespace
     
    4241    #endregion
    4342
    44     public override double Evaluate(IRegressionSolution solution, RealVector vector, bool maximization) {
    45       return solution.Model.GetEstimation(vector);
     43    public override double Evaluate(RealVector vector) {
     44      return RegressionSolution.Model.GetEstimation(vector);
     45    }
     46
     47    public override bool Maximization() {
     48      return ExpensiveMaximization;
     49    }
     50
     51    protected override void Initialize() {
    4652    }
    4753  }
Note: See TracChangeset for help on using the changeset viewer.