Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/12/10 13:25:24 (14 years ago)
Author:
mkommend
Message:

Corrected updating of ´ClassificationProblemData` parameters after data import (ticket #939).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/DataAnalysisProblemData.cs

    r4722 r4780  
    405405      InputVariables.SetItemCheckedState(variableNames.First(), false);
    406406      int middle = (int)(csvFileParser.Rows * 0.5);
     407      TrainingSamplesEnd = new IntValue(middle);
    407408      TrainingSamplesStart = new IntValue(0);
    408       TrainingSamplesEnd = new IntValue(middle);
     409      TestSamplesEnd = new IntValue(csvFileParser.Rows);
    409410      TestSamplesStart = new IntValue(middle);
    410       TestSamplesEnd = new IntValue(csvFileParser.Rows);
    411411      suppressEvents = false;
    412412      OnProblemDataChanged(EventArgs.Empty);
Note: See TracChangeset for help on using the changeset viewer.