Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/13/09 17:28:07 (15 years ago)
Author:
gkronber
Message:

Worked on #722 (IModel should provide a Predict() method to get predicted values for an input vector).
At the same time removed parameter PunishmentFactor from GP algorithms (this parameter is internal to TreeEvaluators now).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/StandardGP.cs

    r2222 r2285  
    110110      FullTreeShakingFactor = 0.1;
    111111      OnePointShakingFactor = 1.0;
    112       PunishmentFactor = 10.0;
    113112      UseEstimatedTargetValue = false;
    114113      SetSeedRandomly = true;
     
    337336    }
    338337
    339     protected internal override Model CreateGPModel(IScope bestModelScope) {
    340       Model model = base.CreateGPModel(bestModelScope);
     338    protected internal override IAnalyzerModel CreateGPModel(IScope bestModelScope) {
     339      IAnalyzerModel model = base.CreateGPModel(bestModelScope);
    341340      model.TestMeanSquaredError = bestModelScope.GetVariableValue<DoubleData>("TestQuality", false).Data;
    342341      model.TrainingCoefficientOfDetermination = bestModelScope.GetVariableValue<DoubleData>("TrainingR2", false).Data;
Note: See TracChangeset for help on using the changeset viewer.