Changeset 17033


Ignore:
Timestamp:
06/25/19 18:00:01 (2 months ago)
Author:
mkommend
Message:

#2883: Adapted unit test for GBTs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/HeuristicLab.Tests/HeuristicLab.Algorithms.DataAnalysis-3.4/GradientBoostingTest.cs

    r15287 r17033  
    237237      gbt.Iterations = 5000;
    238238      gbt.MaxSize = 20;
    239       gbt.CreateSolution = false;
     239      gbt.ModelCreation = GradientBoostedTrees.ModelCreation.QualityOnly;
    240240      #endregion
    241241
     
    265265      gbt.Nu = 0.02;
    266266      gbt.LossFunctionParameter.Value = gbt.LossFunctionParameter.ValidValues.First(l => l.ToString().Contains("Absolute"));
    267       gbt.CreateSolution = false;
     267      gbt.ModelCreation = GradientBoostedTrees.ModelCreation.QualityOnly;
    268268      #endregion
    269269
     
    293293      gbt.Nu = 0.005;
    294294      gbt.LossFunctionParameter.Value = gbt.LossFunctionParameter.ValidValues.First(l => l.ToString().Contains("Relative"));
    295       gbt.CreateSolution = false;
     295      gbt.ModelCreation = GradientBoostedTrees.ModelCreation.QualityOnly;
    296296      #endregion
    297297
Note: See TracChangeset for help on using the changeset viewer.