Free cookie consent management tool by TermsFeed Policy Generator

Changeset 1890


Ignore:
Timestamp:
05/25/09 16:40:11 (16 years ago)
Author:
gkronber
Message:

Added evaluation of VAF to hard-coded GP algorithms. VAF values for training, validation, test are stored as model attributes. #641 (CEDMA should also store VAF of models)

Location:
trunk/sources
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.CEDMA.DB.Interfaces/3.3/Ontology.cs

    r1873 r1890  
    145145    public static Entity TestCoefficientOfDetermination {
    146146      get { return new Entity(CedmaNameSpace + "TestCoefficientOfDetermination"); }
     147    }
     148    public static Entity TrainingVarianceAccountedFor {
     149      get { return new Entity(CedmaNameSpace + "TrainingVarianceAccountedFor"); }
     150    }
     151    public static Entity ValidationVarianceAccountedFor {
     152      get { return new Entity(CedmaNameSpace + "ValidationVarianceAccountedFor"); }
     153    }
     154    public static Entity TestVarianceAccountedFor {
     155      get { return new Entity(CedmaNameSpace + "TestVarianceAccountedFor"); }
    147156    }
    148157    public static Entity TrainingAccuracy {
  • trunk/sources/HeuristicLab.CEDMA.Server/3.3/Executer.cs

    r1873 r1890  
    145145      StoreModelVariable(model, Ontology.ValidationCoefficientOfDetermination, bestModelScope, "ValidationR2");
    146146      StoreModelVariable(model, Ontology.TestCoefficientOfDetermination, bestModelScope, "TestR2");
     147      StoreModelVariable(model, Ontology.TrainingCoefficientOfDetermination, bestModelScope, "TrainingVAF");
     148      StoreModelVariable(model, Ontology.ValidationCoefficientOfDetermination, bestModelScope, "ValidationVAF");
     149      StoreModelVariable(model, Ontology.TestCoefficientOfDetermination, bestModelScope, "TestVAF");
    147150      StoreModelVariable(model, Ontology.TrainingTheilsInequalityCoefficient, bestModelScope, "TrainingTheilInequalityCoefficient");
    148151      StoreModelVariable(model, Ontology.ValidationTheilsInequalityCoefficient, bestModelScope, "ValidationTheilInequalityCoefficient");
  • trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/StandardGP.cs

    r1873 r1890  
    240240      testR2Evaluator.GetVariableInfo("SamplesStart").ActualName = "TestSamplesStart";
    241241      testR2Evaluator.GetVariableInfo("SamplesEnd").ActualName = "TestSamplesEnd";
     242      VarianceAccountedForEvaluator trainingVAFEvaluator = new VarianceAccountedForEvaluator();
     243      trainingVAFEvaluator.Name = "TrainingVAFEvaluator";
     244      trainingVAFEvaluator.GetVariableInfo("VAF").ActualName = "TrainingVAF";
     245      trainingVAFEvaluator.GetVariableInfo("SamplesStart").ActualName = "TrainingSamplesStart";
     246      trainingVAFEvaluator.GetVariableInfo("SamplesEnd").ActualName = "TrainingSamplesEnd";
     247      VarianceAccountedForEvaluator validationVAFEvaluator = new VarianceAccountedForEvaluator();
     248      validationVAFEvaluator.Name = "ValidationVAFEvaluator";
     249      validationVAFEvaluator.GetVariableInfo("VAF").ActualName = "ValidationVAF";
     250      validationVAFEvaluator.GetVariableInfo("SamplesStart").ActualName = "ValidationSamplesStart";
     251      validationVAFEvaluator.GetVariableInfo("SamplesEnd").ActualName = "ValidationSamplesEnd";
     252      VarianceAccountedForEvaluator testVAFEvaluator = new VarianceAccountedForEvaluator();
     253      testVAFEvaluator.Name = "TestVAFEvaluator";
     254      testVAFEvaluator.GetVariableInfo("VAF").ActualName = "TestVAF";
     255      testVAFEvaluator.GetVariableInfo("SamplesStart").ActualName = "TestSamplesStart";
     256      testVAFEvaluator.GetVariableInfo("SamplesEnd").ActualName = "TestSamplesEnd";
     257
    242258      ProgrammableOperator progOperator = new ProgrammableOperator();
    243259      progOperator.RemoveVariableInfo("Result");
     
    257273      bestSolutionProcessor.AddSubOperator(validationR2Evaluator);
    258274      bestSolutionProcessor.AddSubOperator(testR2Evaluator);
     275      bestSolutionProcessor.AddSubOperator(trainingVAFEvaluator);
     276      bestSolutionProcessor.AddSubOperator(validationVAFEvaluator);
     277      bestSolutionProcessor.AddSubOperator(testVAFEvaluator);
    259278      bestSolutionProcessor.AddSubOperator(progOperator);
    260279      return bestSolutionProcessor;
Note: See TracChangeset for help on using the changeset viewer.