org.knime.base.node.mine.subgroupminer
Class PMMLAssociationRuleHandler

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by org.knime.core.node.port.pmml.PMMLContentHandler
          extended by org.knime.base.node.mine.subgroupminer.PMMLAssociationRuleHandler
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class PMMLAssociationRuleHandler
extends PMMLContentHandler

Author:
Fabian Dill, University of Konstanz

Field Summary
static String ID
          Id of this handler.
 
Constructor Summary
PMMLAssociationRuleHandler()
           
 
Method Summary
 void characters(char[] ch, int start, int length)
          
 void endDocument()
          
 void endElement(String uri, String localName, String name)
          
 Set<FrequentItemSet> getItemsets()
           
 double getMinConfidence()
           
 double getMinSupport()
           
 int getNrOfItems()
           
 int getNrOfItemsets()
           
 int getNrOfRules()
           
 int getNrOfTransactions()
           
 Set<AssociationRule> getRules()
           
 void startElement(String uri, String localName, String name, Attributes atts)
          
 
Methods inherited from class org.knime.core.node.port.pmml.PMMLContentHandler
endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
error, fatalError, notationDecl, resolveEntity, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final String ID
Id of this handler.

See Also:
Constant Field Values
Constructor Detail

PMMLAssociationRuleHandler

public PMMLAssociationRuleHandler()
Method Detail

characters

public void characters(char[] ch,
                       int start,
                       int length)
                throws SAXException

Specified by:
characters in interface ContentHandler
Specified by:
characters in class PMMLContentHandler
Throws:
SAXException

endDocument

public void endDocument()
                 throws SAXException

Specified by:
endDocument in interface ContentHandler
Specified by:
endDocument in class PMMLContentHandler
Throws:
SAXException

endElement

public void endElement(String uri,
                       String localName,
                       String name)
                throws SAXException

Specified by:
endElement in interface ContentHandler
Specified by:
endElement in class PMMLContentHandler
Throws:
SAXException

startElement

public void startElement(String uri,
                         String localName,
                         String name,
                         Attributes atts)
                  throws SAXException

Specified by:
startElement in interface ContentHandler
Specified by:
startElement in class PMMLContentHandler
Throws:
SAXException

getMinSupport

public double getMinSupport()
Returns:
the minSupport

getMinConfidence

public double getMinConfidence()
Returns:
the minConfidence

getNrOfTransactions

public int getNrOfTransactions()
Returns:
the nrOfTransactions

getNrOfItems

public int getNrOfItems()
Returns:
the nrOfItems

getNrOfItemsets

public int getNrOfItemsets()
Returns:
the nrOfItemsets

getNrOfRules

public int getNrOfRules()
Returns:
the nrOfRules

getItemsets

public Set<FrequentItemSet> getItemsets()
Returns:
the itemsets

getRules

public Set<AssociationRule> getRules()
Returns:
the rules


Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.