Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/11/11 18:38:38 (14 years ago)
Author:
gkronber
Message:

Added deserialization hook for TrainingBestSymbolicClassificationSolutionAnalyzer #1369

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Classification/3.3/Symbolic/Analyzer/TrainingBestSymbolicClassificationSolutionAnalyzer.cs

    r5274 r5284  
    262262
    263263    [StorableHook(HookType.AfterDeserialization)]
    264     private void AfterDeserialization() { }
     264    private void AfterDeserialization() {
     265      if (!Parameters.ContainsKey(BestSolutionAccuracyTrainingParameterName)) {
     266        Parameters.Add(new LookupParameter<DoubleValue>(BestSolutionAccuracyTrainingParameterName, "The accuracy on the training set of the best symbolic classification  solution."));
     267      }
     268      if (!Parameters.ContainsKey(BestSolutionAccuracyTestParameterName)) {
     269        Parameters.Add(new LookupParameter<DoubleValue>(BestSolutionAccuracyTestParameterName, "The accuracy on the test set of the best symbolic classification  solution."));
     270      }
     271      if (Parameters.ContainsKey("DataAnalysisProblemData")) {
     272        Parameters["DataAnalysisProblemData"].Name = ProblemDataParameterName;
     273      }
     274    }
    265275
    266276    public override IOperation Apply() {
Note: See TracChangeset for help on using the changeset viewer.