Free cookie consent management tool by TermsFeed Policy Generator

Changeset 1352


Ignore:
Timestamp:
03/17/09 11:01:59 (16 years ago)
Author:
gkronber
Message:

Implemented #525 (The type of algorithm that generated a model should be stored together with other model attributes).

Location:
trunk/sources
Files:
2 edited

Legend:

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

    r1287 r1352  
    110110      get { return new Entity(CedmaNameSpace + "TargetVariable"); }
    111111    }
     112    public static Entity AlgorithmName {
     113      get { return new Entity(CedmaNameSpace + "AlgorithmName"); }
     114    }
    112115    public static Entity TrainingMeanSquaredError {
    113116      get { return new Entity(CedmaNameSpace + "TrainingMeanSquaredError"); }
     
    179182        return new List<Statement> {
    180183          new Statement(TargetVariable, PredicateInstanceOf, TypeCategoricalAttribute),
     184          new Statement(AlgorithmName, PredicateInstanceOf, TypeCategoricalAttribute),
    181185          new Statement(TrainingMeanSquaredError, PredicateInstanceOf, TypeOrdinalAttribute),
    182186          new Statement(TrainingMeanSquaredError, PredicateInstanceOf, TypeQualityAttribute),
  • trunk/sources/HeuristicLab.CEDMA.Server/Executer.cs

    r1287 r1352  
    132132      store.Add(new Statement(finishedExecution.DataSetEntity, Ontology.PredicateHasModel, model));
    133133      StoreModelAttribute(model, Ontology.TargetVariable, finishedExecution.TargetVariable);
     134      StoreModelAttribute(model, Ontology.AlgorithmName, finishedExecution.Description);
    134135      Scope bestModelScope = finishedEngine.GlobalScope.GetVariableValue<Scope>("BestValidationSolution", false);
    135136      StoreModelVariable(model, Ontology.TrainingMeanSquaredError, bestModelScope, "Quality");
Note: See TracChangeset for help on using the changeset viewer.