Free cookie consent management tool by TermsFeed Policy Generator

Changeset 9517


Ignore:
Timestamp:
05/23/13 13:30:47 (12 years ago)
Author:
gkronber
Message:

#2052 minor adaptations in cross-validation

File:
1 edited

Legend:

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

    r9504 r9517  
    387387
    388388    private void AggregateResultValues(IDictionary<string, IItem> results) {
    389       Dictionary<string, List<double>> resultValues = new Dictionary<string, List<double>>();
    390389      IEnumerable<IRun> runs = clonedAlgorithms.Select(alg => alg.Runs.FirstOrDefault()).Where(run => run != null);
    391390      IEnumerable<KeyValuePair<string, IItem>> resultCollections = runs.Where(x => x != null).SelectMany(x => x.Results).ToList();
     
    550549      }
    551550      if (problem != null) problem.Reset -= new EventHandler(Problem_Reset);
    552       if (Problem != null) Problem.Reset += new EventHandler(Problem_Reset);
    553551      problem = (IDataAnalysisProblem)algorithm.Problem;
     552      if (problem != null) problem.Reset += new EventHandler(Problem_Reset);
    554553      OnProblemChanged();
    555554    }
Note: See TracChangeset for help on using the changeset viewer.