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.GP.StructureIdentification/3.3/AlgorithmBase.cs

    r2041 r2051  
    434434      foreach (ItemList row in evaluationImpacts) {
    435435        string variableName = ((StringData)row[0]).Data;
    436         double impact = ((DoubleData)row[0]).Data;
     436        double impact = ((DoubleData)row[1]).Data;
    437437        model.SetVariableEvaluationImpact(variableName, impact);
    438438      }
    439439      foreach (ItemList row in qualityImpacts) {
    440440        string variableName = ((StringData)row[0]).Data;
    441         double impact = ((DoubleData)row[0]).Data;
     441        double impact = ((DoubleData)row[1]).Data;
    442442        model.SetVariableQualityImpact(variableName, impact);
    443443      }
Note: See TracChangeset for help on using the changeset viewer.