Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/08/09 11:11:50 (16 years ago)
Author:
gkronber
Message:

Extended IAnalyzerModel and the default implementation AnalyzerModel to hold a dictionary of result values and extended GP algorithms for time-series prognosis and classification to store specific results (TheilInequalityCoefficient and Accuracy in the model) (#736). Also prepared IAnalyzerModel and AnalyzerModel and modeling algorithms to store meta-information about models (#731).

Location:
trunk/sources/HeuristicLab.GP.StructureIdentification.TimeSeries/3.3
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/sources/HeuristicLab.GP.StructureIdentification.TimeSeries/3.3/DefaultTimeSeriesOperators.cs

    r2341 r2344  
    9494      return seq;
    9595    }
     96
     97    internal static void SetModelData(IAnalyzerModel model, IScope scope) {
     98      model.SetResult("TrainingTheilInequalityCoefficient", scope.GetVariableValue<DoubleData>("TrainingTheilInequalityCoefficient", true).Data);
     99      model.SetResult("ValidationTheilInequalityCoefficient", scope.GetVariableValue<DoubleData>("ValidationTheilInequalityCoefficient", true).Data);
     100      model.SetResult("TestTheilInequalityCoefficient", scope.GetVariableValue<DoubleData>("TestTheilInequalityCoefficient", true).Data);
     101    }
    96102  }
    97103}
  • TabularUnified trunk/sources/HeuristicLab.GP.StructureIdentification.TimeSeries/3.3/OffspringSelectionGP.cs

    r2341 r2344  
    6565    }
    6666
     67    protected override IAnalyzerModel CreateGPModel() {
     68      IAnalyzerModel model = base.CreateGPModel();
     69      DefaultTimeSeriesOperators.SetModelData(model, Engine.GlobalScope.SubScopes[0]);
     70      return model;
     71    }
    6772  }
    6873}
  • TabularUnified trunk/sources/HeuristicLab.GP.StructureIdentification.TimeSeries/3.3/StandardGP.cs

    r2341 r2344  
    6363      return injector;
    6464    }
     65
     66    protected override IAnalyzerModel CreateGPModel() {
     67      IAnalyzerModel model = base.CreateGPModel();
     68      DefaultTimeSeriesOperators.SetModelData(model, Engine.GlobalScope.SubScopes[0]);
     69      return model;
     70    }
    6571  }
    6672}
Note: See TracChangeset for help on using the changeset viewer.