uk.ac.ic.doc.automed.matching.modules.bidirectionalmap
Class NaiveBayesModule

java.lang.Object
  extended by uk.ac.ic.doc.automed.matching.modules.AbstractModule
      extended by uk.ac.ic.doc.automed.matching.modules.bidirectionalmap.NaiveBayesModule

public class NaiveBayesModule
extends AbstractModule

The machine learning module that compares the schema elements by examining their instances. The Naive Bayes algorithm is used for the comparison process.


Field Summary
 
Fields inherited from class uk.ac.ic.doc.automed.matching.modules.AbstractModule
bidirectionalDegrees, frame, semanticMappingNames
 
Constructor Summary
NaiveBayesModule(SchemaElement[] elementsA, SchemaElement[] elementsB)
          Constructs a NaiveBayesModule to compare the specified schema elements in the input arrays.
 
Method Summary
 
Methods inherited from class uk.ac.ic.doc.automed.matching.modules.AbstractModule
getBidirectionalDegrees, getBidirectionalDegrees, getBidirectionalSimilarity, getUSRs, saveDegrees, setBidirectionalDegrees, setUSRs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NaiveBayesModule

public NaiveBayesModule(SchemaElement[] elementsA,
                        SchemaElement[] elementsB)
                 throws UninstantiatedException,
                        java.lang.Exception,
                        MatchException
Constructs a NaiveBayesModule to compare the specified schema elements in the input arrays.

Parameters:
elementsA - an array of SchemaElement objects
elementsB - an array of SchemaElement objects
Throws:
UninstantiatedException - if an element doesn't contain any instances
java.lang.Exception
MatchException