Free cookie consent management tool by TermsFeed Policy Generator

Changeset 16154 for branches


Ignore:
Timestamp:
09/18/18 06:00:18 (6 years ago)
Author:
gkronber
Message:

#2925 bug fix for the extraction of target values (missed when introducing episodes)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2925_AutoDiffForDynamicalModels/HeuristicLab.Problems.DynamicalSystemsModelling/3.3/Problem.cs

    r16153 r16154  
    230230
    231231      var problemData = ProblemData;
    232       var rows = ProblemData.TrainingIndices.ToArray();
     232      var rows = TrainingEpisodes.SelectMany(e => Enumerable.Range(e.Start, e.End - e.Start)).ToArray();
    233233      var targetVars = TargetVariables.CheckedItems.Select(i => i.Value).ToArray();
    234234      var latentVariables = Enumerable.Range(1, NumberOfLatentVariables).Select(i => "λ" + i).ToArray(); // TODO: must coincide with the variables which are actually defined in the grammar and also for which we actually have trees
Note: See TracChangeset for help on using the changeset viewer.