Changeset 14841


Ignore:
Timestamp:
04/11/17 14:15:18 (2 weeks ago)
Author:
mkommend
Message:

#2763: Set StartIndexZero = true for data rows of qualities chart.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GradientBoostedTrees/GradientBoostedTreesAlgorithm.cs

    r14780 r14841  
    2121#endregion
    2222
    23 using System;
    2423using System.Linq;
    2524using System.Threading;
     
    196195      table.Rows.Add(new DataRow("Loss (train)"));
    197196      table.Rows.Add(new DataRow("Loss (test)"));
     197      table.Rows["Loss (train)"].VisualProperties.StartIndexZero = true;
     198      table.Rows["Loss (test)"].VisualProperties.StartIndexZero = true;
     199
    198200      Results.Add(new Result("Qualities", table));
    199201      var curLoss = new DoubleValue();
     
    260262          classificationProblemData.TestPartition.End = Problem.ProblemData.TestPartition.End;
    261263
    262           classificationModel.SetThresholdsAndClassValues(new double[] { double.NegativeInfinity, 0.0 }, new []{ 0.0, 1.0 });
     264          classificationModel.SetThresholdsAndClassValues(new double[] { double.NegativeInfinity, 0.0 }, new[] { 0.0, 1.0 });
    263265
    264266
Note: See TracChangeset for help on using the changeset viewer.