Changeset 15882


Ignore:
Timestamp:
04/04/18 10:53:10 (17 months ago)
Author:
bburlacu
Message:

#2912: Make sure to explicitly set the PositiveClass to the correct value.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification.Views/3.4/SolutionComparisonView.cs

    r15583 r15882  
    9191      var newDs = new Dataset(variableNames, variableValues);
    9292      var newProblemData = new ClassificationProblemData(newDs, variableNames.Take(variableNames.Length - 1), variableNames.Last());
     93      newProblemData.PositiveClass = problemData.PositiveClass;
    9394      newProblemData.TrainingPartition.Start = problemData.TrainingPartition.Start;
    9495      newProblemData.TrainingPartition.End = problemData.TrainingPartition.End;
Note: See TracChangeset for help on using the changeset viewer.