Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/15/09 14:07:34 (15 years ago)
Author:
gkronber
Message:

Fixed #740 (SimpleEvaluators in HL.GP.StructId and HL.SVM are not compatible with evaluators in HL.Modeling).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.SupportVectorMachines/3.2/SupportVectorEvaluator.cs

    r2349 r2357  
    6060      double[,] values = new double[scaledProblem.Count, 2];
    6161      for (int i = 0; i < scaledProblem.Count; i++) {
    62         values[i, 0] = SVM.Prediction.Predict(modelData.Model, scaledProblem.X[i]);
    63         values[i, 1] = dataset.GetValue(start + i, targetVariable);
     62        values[i, 0] = dataset.GetValue(start + i, targetVariable);
     63        values[i, 1] = SVM.Prediction.Predict(modelData.Model, scaledProblem.X[i]);
    6464      }
    6565
Note: See TracChangeset for help on using the changeset viewer.