scalation / analytics

ScalaTion Analytics Ontology
MIT License
7 stars 1 forks source link

Add a Unit test to check if the VariableType case objects have one-to-one correspondence with the ontology #31

Closed mvnural closed 8 years ago

mepcotterell commented 9 years ago

What would this involve?

mvnural commented 9 years ago
  1. Retrieve all variable types from the Ontology using the structural reasoner into a set. ( Example is available in the ModelClassifierInferenceTest (ModelClassifier)
  2. Somehow obtain a set from the case classes
  3. Check two sets against each other. (Case class ontologyID corresponds to the ID of the class in the ontology.

This is what comes into my mind immediately. There might be simpler way to do this

mvnural commented 8 years ago

Completed with 9eaf5d56226dbec966a10200d3455def5f6aea87