Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/16/09 18:27:08 (15 years ago)
Author:
gkronber
Message:

Fixed a bug in calculation of variable impacts in GP and SVM algorithms. #644

File:
1 edited

Legend:

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

    r2044 r2051  
    370370      foreach (ItemList row in evaluationImpacts) {
    371371        string variableName = ((StringData)row[0]).Data;
    372         double impact = ((DoubleData)row[0]).Data;
     372        double impact = ((DoubleData)row[1]).Data;
    373373        model.SetVariableEvaluationImpact(variableName, impact);
    374374      }
    375375      foreach (ItemList row in qualityImpacts) {
    376376        string variableName = ((StringData)row[0]).Data;
    377         double impact = ((DoubleData)row[0]).Data;
     377        double impact = ((DoubleData)row[1]).Data;
    378378        model.SetVariableQualityImpact(variableName, impact);
    379379      }
Note: See TracChangeset for help on using the changeset viewer.