Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/16/09 09:42:50 (15 years ago)
Author:
gkronber
Message:

Improved schema for variable impacts. #644

File:
1 edited

Legend:

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

    r2045 r2047  
    6363
    6464    #region meta-data predicates
    65     public static Entity PredicateName {
     65    public static Entity Name {
    6666      get { return new Entity(CedmaNameSpace + "Name"); }
    6767    }
     
    6969    /// Each entity can have a serialized XML representation that can be loaded in HL.
    7070    /// </summary>
    71     public static Entity PredicateSerializedData {
     71    public static Entity SerializedData {
    7272      get { return new Entity(CedmaNameSpace + "SerializedData"); }
    7373    }
     
    7676    /// A data set can have multiple models.
    7777    /// </summary>
    78     public static Entity PredicateHasModel {
     78    public static Entity HasModel {
    7979      get { return new Entity(CedmaNameSpace + "Model"); }
    8080    }
     
    8383    /// An algorithm can generate multiple models, each model is generated by exactly one algorithm.
    8484    /// </summary>
    85     public static Entity PredicateGeneratedBy {
     85    public static Entity GeneratedBy {
    8686      get { return new Entity(CedmaNameSpace + "GeneratedBy"); }
    8787    }
     88    /// <summary>
     89    /// Link from model to input variable impact
     90    /// Each model can have multiple input variables and each of the input variables can have a different impact on the model.
     91    /// </summary>
     92    public static Entity HasInputVariable {
     93      get { return new Entity(CedmaNameSpace + "InputVariable"); }
     94    }
    8895    #endregion
    8996
    9097    #region types and type relations
    91     public static Entity PredicateInstanceOf {
     98    public static Entity InstanceOf {
    9299      get { return new Entity(CedmaNameSpace + "InstanceOf"); }
    93100    }
     
    102109    }
    103110    public static Entity TypeVariableImpact {
    104       get { return new Entity(CedmaNameSpace + "VariableQualityImpact"); }
    105     }
    106     #endregion
    107 
    108     #region default attributes
     111      get { return new Entity(CedmaNameSpace + "VariableImpact"); }
     112    }
     113    #endregion
     114
     115    #region attributes for models
    109116    public static Entity TargetVariable {
    110117      get { return new Entity(CedmaNameSpace + "TargetVariable"); }
    111118    }
    112     public static Entity AlgorithmName {
    113       get { return new Entity(CedmaNameSpace + "AlgorithmName"); }
    114     }
    115119    public static Entity TrainingMeanSquaredError {
    116120      get { return new Entity(CedmaNameSpace + "TrainingMeanSquaredError"); }
     
    184188    public static Entity EvaluatedSolutions {
    185189      get { return new Entity(CedmaNameSpace + "EvaluatedSolutions"); }
     190    }
     191    #endregion
     192    #region attributes for input variables
     193    public static Entity EvaluationImpact {
     194      get { return new Entity(CedmaNameSpace + "EvaluationImpact"); }
     195    }
     196    public static Entity QualityImpact {
     197      get { return new Entity(CedmaNameSpace + "QualityImpact"); }
    186198    }
    187199    #endregion
     
    190202      get {
    191203        return new List<Statement> {
    192           new Statement(TargetVariable, PredicateInstanceOf, TypeCategoricalAttribute),
    193           new Statement(AlgorithmName, PredicateInstanceOf, TypeCategoricalAttribute),
    194           new Statement(TrainingMeanSquaredError, PredicateInstanceOf, TypeOrdinalAttribute),
    195           new Statement(TrainingMeanSquaredError, PredicateInstanceOf, TypeQualityAttribute),
    196           new Statement(ValidationMeanSquaredError, PredicateInstanceOf, TypeOrdinalAttribute),
    197           new Statement(ValidationMeanSquaredError, PredicateInstanceOf, TypeQualityAttribute),
    198           new Statement(TestMeanSquaredError, PredicateInstanceOf, TypeOrdinalAttribute),
    199           new Statement(TestMeanSquaredError, PredicateInstanceOf, TypeQualityAttribute),
    200           new Statement(TrainingMeanAbsolutePercentageError, PredicateInstanceOf, TypeOrdinalAttribute),
    201           new Statement(TrainingMeanAbsolutePercentageError, PredicateInstanceOf, TypeQualityAttribute),
    202           new Statement(ValidationMeanAbsolutePercentageError, PredicateInstanceOf, TypeOrdinalAttribute),
    203           new Statement(ValidationMeanAbsolutePercentageError, PredicateInstanceOf, TypeQualityAttribute),
    204           new Statement(TestMeanAbsolutePercentageError, PredicateInstanceOf, TypeOrdinalAttribute),
    205           new Statement(TestMeanAbsolutePercentageError, PredicateInstanceOf, TypeQualityAttribute),
    206           new Statement(TrainingMeanAbsolutePercentageOfRangeError, PredicateInstanceOf, TypeOrdinalAttribute),
    207           new Statement(TrainingMeanAbsolutePercentageOfRangeError, PredicateInstanceOf, TypeQualityAttribute),
    208           new Statement(ValidationMeanAbsolutePercentageOfRangeError, PredicateInstanceOf, TypeOrdinalAttribute),
    209           new Statement(ValidationMeanAbsolutePercentageOfRangeError, PredicateInstanceOf, TypeQualityAttribute),
    210           new Statement(TestMeanAbsolutePercentageOfRangeError, PredicateInstanceOf, TypeOrdinalAttribute),
    211           new Statement(TestMeanAbsolutePercentageOfRangeError, PredicateInstanceOf, TypeQualityAttribute),
    212           new Statement(TrainingCoefficientOfDetermination, PredicateInstanceOf, TypeOrdinalAttribute),
    213           new Statement(TrainingCoefficientOfDetermination, PredicateInstanceOf, TypeQualityAttribute),
    214           new Statement(ValidationCoefficientOfDetermination, PredicateInstanceOf, TypeOrdinalAttribute),
    215           new Statement(ValidationCoefficientOfDetermination, PredicateInstanceOf, TypeQualityAttribute),
    216           new Statement(TestCoefficientOfDetermination, PredicateInstanceOf, TypeOrdinalAttribute),
    217           new Statement(TestCoefficientOfDetermination, PredicateInstanceOf, TypeQualityAttribute),
    218           new Statement(TrainingAccuracy, PredicateInstanceOf, TypeOrdinalAttribute),
    219           new Statement(TrainingAccuracy, PredicateInstanceOf, TypeQualityAttribute),
    220           new Statement(ValidationAccuracy, PredicateInstanceOf, TypeOrdinalAttribute),
    221           new Statement(ValidationAccuracy, PredicateInstanceOf, TypeQualityAttribute),
    222           new Statement(TestAccuracy, PredicateInstanceOf, TypeOrdinalAttribute),
    223           new Statement(TestAccuracy, PredicateInstanceOf, TypeQualityAttribute),
    224           new Statement(TrainingTheilsInequalityCoefficient, PredicateInstanceOf, TypeOrdinalAttribute),
    225           new Statement(TrainingTheilsInequalityCoefficient, PredicateInstanceOf, TypeQualityAttribute),
    226           new Statement(ValidationTheilsInequalityCoefficient, PredicateInstanceOf, TypeOrdinalAttribute),
    227           new Statement(ValidationTheilsInequalityCoefficient, PredicateInstanceOf, TypeQualityAttribute),
    228           new Statement(TestTheilsInequalityCoefficient, PredicateInstanceOf, TypeOrdinalAttribute),
    229           new Statement(TestTheilsInequalityCoefficient, PredicateInstanceOf, TypeQualityAttribute),
    230 
    231           new Statement(TreeSize, PredicateInstanceOf, TypeOrdinalAttribute),
    232           new Statement(TreeSize, PredicateInstanceOf, TypeComplexityAttribute),
    233           new Statement(TreeHeight, PredicateInstanceOf, TypeOrdinalAttribute),
    234           new Statement(TreeHeight, PredicateInstanceOf, TypeComplexityAttribute),
    235           new Statement(EvaluatedSolutions, PredicateInstanceOf, TypeOrdinalAttribute)
     204          new Statement(TargetVariable, InstanceOf, TypeCategoricalAttribute),
     205          new Statement(TrainingMeanSquaredError, InstanceOf, TypeOrdinalAttribute),
     206          new Statement(TrainingMeanSquaredError, InstanceOf, TypeQualityAttribute),
     207          new Statement(ValidationMeanSquaredError, InstanceOf, TypeOrdinalAttribute),
     208          new Statement(ValidationMeanSquaredError, InstanceOf, TypeQualityAttribute),
     209          new Statement(TestMeanSquaredError, InstanceOf, TypeOrdinalAttribute),
     210          new Statement(TestMeanSquaredError, InstanceOf, TypeQualityAttribute),
     211          new Statement(TrainingMeanAbsolutePercentageError, InstanceOf, TypeOrdinalAttribute),
     212          new Statement(TrainingMeanAbsolutePercentageError, InstanceOf, TypeQualityAttribute),
     213          new Statement(ValidationMeanAbsolutePercentageError, InstanceOf, TypeOrdinalAttribute),
     214          new Statement(ValidationMeanAbsolutePercentageError, InstanceOf, TypeQualityAttribute),
     215          new Statement(TestMeanAbsolutePercentageError, InstanceOf, TypeOrdinalAttribute),
     216          new Statement(TestMeanAbsolutePercentageError, InstanceOf, TypeQualityAttribute),
     217          new Statement(TrainingMeanAbsolutePercentageOfRangeError, InstanceOf, TypeOrdinalAttribute),
     218          new Statement(TrainingMeanAbsolutePercentageOfRangeError, InstanceOf, TypeQualityAttribute),
     219          new Statement(ValidationMeanAbsolutePercentageOfRangeError, InstanceOf, TypeOrdinalAttribute),
     220          new Statement(ValidationMeanAbsolutePercentageOfRangeError, InstanceOf, TypeQualityAttribute),
     221          new Statement(TestMeanAbsolutePercentageOfRangeError, InstanceOf, TypeOrdinalAttribute),
     222          new Statement(TestMeanAbsolutePercentageOfRangeError, InstanceOf, TypeQualityAttribute),
     223          new Statement(TrainingCoefficientOfDetermination, InstanceOf, TypeOrdinalAttribute),
     224          new Statement(TrainingCoefficientOfDetermination, InstanceOf, TypeQualityAttribute),
     225          new Statement(ValidationCoefficientOfDetermination, InstanceOf, TypeOrdinalAttribute),
     226          new Statement(ValidationCoefficientOfDetermination, InstanceOf, TypeQualityAttribute),
     227          new Statement(TestCoefficientOfDetermination, InstanceOf, TypeOrdinalAttribute),
     228          new Statement(TestCoefficientOfDetermination, InstanceOf, TypeQualityAttribute),
     229          new Statement(TrainingAccuracy, InstanceOf, TypeOrdinalAttribute),
     230          new Statement(TrainingAccuracy, InstanceOf, TypeQualityAttribute),
     231          new Statement(ValidationAccuracy, InstanceOf, TypeOrdinalAttribute),
     232          new Statement(ValidationAccuracy, InstanceOf, TypeQualityAttribute),
     233          new Statement(TestAccuracy, InstanceOf, TypeOrdinalAttribute),
     234          new Statement(TestAccuracy, InstanceOf, TypeQualityAttribute),
     235          new Statement(TrainingTheilsInequalityCoefficient, InstanceOf, TypeOrdinalAttribute),
     236          new Statement(TrainingTheilsInequalityCoefficient, InstanceOf, TypeQualityAttribute),
     237          new Statement(ValidationTheilsInequalityCoefficient, InstanceOf, TypeOrdinalAttribute),
     238          new Statement(ValidationTheilsInequalityCoefficient, InstanceOf, TypeQualityAttribute),
     239          new Statement(TestTheilsInequalityCoefficient, InstanceOf, TypeOrdinalAttribute),
     240          new Statement(TestTheilsInequalityCoefficient, InstanceOf, TypeQualityAttribute),
     241
     242          new Statement(TreeSize, InstanceOf, TypeOrdinalAttribute),
     243          new Statement(TreeSize, InstanceOf, TypeComplexityAttribute),
     244          new Statement(TreeHeight, InstanceOf, TypeOrdinalAttribute),
     245          new Statement(TreeHeight, InstanceOf, TypeComplexityAttribute),
     246          new Statement(EvaluatedSolutions, InstanceOf, TypeOrdinalAttribute),
     247
     248          new Statement(Name, InstanceOf, TypeCategoricalAttribute),
     249          new Statement(QualityImpact, InstanceOf, TypeOrdinalAttribute),
     250          new Statement(EvaluationImpact, InstanceOf, TypeOrdinalAttribute)
    236251        };
    237252      }
Note: See TracChangeset for help on using the changeset viewer.