Free cookie consent management tool by TermsFeed Policy Generator

Changeset 517 for trunk


Ignore:
Timestamp:
08/17/08 11:37:55 (16 years ago)
Author:
gkronber
Message:

fixed a bug in the cross-validation operator #259

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.StructureIdentification/CrossValidation.cs

    r516 r517  
    8484        double[] samples = new double[origDataset.Samples.Length];
    8585        Array.Copy(origDataset.Samples, samples, samples.Length);
    86         RotateArray(samples, i * nFolds);
     86        RotateArray(samples, i * nTestSamples * origDataset.Columns);
    8787
    8888        rotatedSet.Rows = origDataset.Rows;
Note: See TracChangeset for help on using the changeset viewer.