Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/23/22 13:10:34 (2 years ago)
Author:
pfleck
Message:

#3040 smaller fixes and some code cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3040_VectorBasedGP/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression.Views/3.4/InteractiveSymbolicRegressionSolutionSimplifierView.cs

    r18239 r18240  
    9797      return TensorFlowConstantOptimizationEvaluator.OptimizeTree(tree, regressionProblemData,
    9898        regressionProblemData.TrainingIndices,
    99         //new int[]{ 0, 1 },
    100         applyLinearScaling: false, updateVariableWeights: true, maxIterations: maxIterations, learningRate: learningRate,
     99        applyLinearScaling: true, updateVariableWeights: true, maxIterations: maxIterations, learningRate: learningRate,
    101100        cancellationToken: cancellationToken,
    102101        progress: new SynchronousProgress<double>(cost => {
     
    126125          regressionProblemData,
    127126          regressionProblemData.TrainingIndices,
    128           //new int[] { 0, 1 },
    129           applyLinearScaling: false, maxIterations: constOptIterations, updateVariableWeights: true,
     127          applyLinearScaling: true, maxIterations: constOptIterations, updateVariableWeights: true,
    130128          cancellationToken: cancellationToken, iterationCallback: (args, func, obj) => {
    131129            double newProgressValue = progress.ProgressValue + (1.0 / (constOptIterations + 2) / maxRepetitions); // (constOptIterations + 2) iterations are reported
Note: See TracChangeset for help on using the changeset viewer.