Ignore:
Timestamp:
01/14/09 20:48:04 (12 years ago)
Author:
gkronber
Message:
  • re-enabled security for all WCF services;
  • debugged rdf queries
  • added tracing for WCF services
  • implemented simple version of quality based dispatching
  • extended ontology to include a number of predefined model-attributes (quality, size, evaluated solutions etc.)

ticket: #419 (Refactor CEDMA plugins)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/CEDMA-Refactoring-Ticket419/HeuristicLab.CEDMA.DB.Interfaces/Ontology.cs

    r988 r1130  
    3333    }
    3434
    35     #region model attributes
    36     public static Entity PredicateModelAttribute {
    37       get { return new Entity(CedmaNameSpace + "ModelAttribute"); }
    38     }
    39     public static Entity PredicateModelAttributeName {
    40       get { return new Entity(CedmaNameSpace + "ModelAttributeName"); }
    41     }
    42     public static Entity PredicateModelAttributeValue {
    43       get { return new Entity(CedmaNameSpace + "ModelAttributeValue"); }
    44     }
    45     public static Entity PredicateModelAttributeType {
    46       get { return new Entity(CedmaNameSpace + "ModelAttributeType"); }
    47     }
     35    #region model attribute types
    4836    /// <summary>
    4937    /// Attribute value is ordinal, values can be sorted.
     
    118106    #endregion
    119107
     108    #region default attributes
     109    public static Entity TargetVariable {
     110      get { return new Entity(CedmaNameSpace + "TargetVariable"); }
     111    }
     112    public static Entity TrainingMeanSquaredError {
     113      get { return new Entity(CedmaNameSpace + "TrainingMeanSquaredError"); }
     114    }
     115    public static Entity ValidationMeanSquaredError {
     116      get { return new Entity(CedmaNameSpace + "ValidationMeanSquaredError"); }
     117    }
     118    public static Entity TrainingMeanAbsolutePercentageError {
     119      get { return new Entity(CedmaNameSpace + "TrainingMeanAbsolutePercentageError"); }
     120    }
     121    public static Entity ValidationMeanAbsolutePercentageError {
     122      get { return new Entity(CedmaNameSpace + "ValidationMeanAbsolutePercentageError"); }
     123    }
     124    public static Entity TreeSize {
     125      get { return new Entity(CedmaNameSpace + "TreeSize"); }
     126    }
     127    public static Entity TreeHeight {
     128      get { return new Entity(CedmaNameSpace + "TreeHeight"); }
     129    }
     130    public static Entity EvaluatedSolutions {
     131      get { return new Entity(CedmaNameSpace + "EvaluatedSolutions"); }
     132    }
     133    #endregion
     134
     135    public static ICollection<Statement> InitialStatements {
     136      get {
     137        return new List<Statement> {
     138          new Statement(TargetVariable, PredicateInstanceOf, TypeCategoricalAttribute),
     139          new Statement(TrainingMeanSquaredError, PredicateInstanceOf, TypeOrdinalAttribute),
     140          new Statement(TrainingMeanSquaredError, PredicateInstanceOf, TypeQualityAttribute),
     141          new Statement(ValidationMeanSquaredError, PredicateInstanceOf, TypeOrdinalAttribute),
     142          new Statement(ValidationMeanSquaredError, PredicateInstanceOf, TypeQualityAttribute),
     143          new Statement(TrainingMeanAbsolutePercentageError, PredicateInstanceOf, TypeOrdinalAttribute),
     144          new Statement(TrainingMeanAbsolutePercentageError, PredicateInstanceOf, TypeQualityAttribute),
     145          new Statement(ValidationMeanAbsolutePercentageError, PredicateInstanceOf, TypeOrdinalAttribute),
     146          new Statement(ValidationMeanAbsolutePercentageError, PredicateInstanceOf, TypeQualityAttribute),
     147          new Statement(TreeSize, PredicateInstanceOf, TypeOrdinalAttribute),
     148          new Statement(TreeSize, PredicateInstanceOf, TypeComplexityAttribute),
     149          new Statement(TreeHeight, PredicateInstanceOf, TypeOrdinalAttribute),
     150          new Statement(TreeHeight, PredicateInstanceOf, TypeComplexityAttribute),
     151          new Statement(EvaluatedSolutions, PredicateInstanceOf, TypeOrdinalAttribute)
     152        };
     153      }
     154    }
     155
     156
    120157    /// <summary>
    121158    /// Wildcard entity for filtering.
Note: See TracChangeset for help on using the changeset viewer.