|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
org.knime.core.node.port.pmml.PMMLContentHandler
org.knime.base.node.mine.subgroupminer.PMMLAssociationRuleHandler
@Deprecated public class PMMLAssociationRuleHandler
This class is not sufficently tested yet and the API of this class might be still subject to changes.
| Field Summary | |
|---|---|
static String |
ID
Deprecated. Id of this handler. |
| Constructor Summary | |
|---|---|
PMMLAssociationRuleHandler()
Deprecated. Creates a new empty association rule handler. |
|
PMMLAssociationRuleHandler(int nrOfTransactions,
double minSupport,
double minConfidence,
Map<String,String> items,
Set<FrequentItemSet> itemsets,
Set<AssociationRule> rules)
Deprecated. Creates an initialized association rule handler that can be used to output the association rule model by invoking PMMLContentHandler.addPMMLModel(org.w3c.dom.DocumentFragment, PMMLPortObjectSpec). |
|
| Method Summary | |
|---|---|
protected void |
addPMMLModelContent(TransformerHandler handler,
PMMLPortObjectSpec spec)
Deprecated. Derived classes should override this method to add the model content. |
void |
characters(char[] ch,
int start,
int length)
Deprecated. |
void |
endDocument()
Deprecated. |
void |
endElement(String uri,
String localName,
String name)
Deprecated. |
Map<String,String> |
getItems()
Deprecated. |
Set<FrequentItemSet> |
getItemsets()
Deprecated. |
double |
getMinConfidence()
Deprecated. |
double |
getMinSupport()
Deprecated. |
int |
getNrOfItems()
Deprecated. |
int |
getNrOfItemsets()
Deprecated. |
int |
getNrOfRules()
Deprecated. |
int |
getNrOfTransactions()
Deprecated. |
Set<AssociationRule> |
getRules()
Deprecated. |
void |
startElement(String uri,
String localName,
String name,
Attributes atts)
Deprecated. |
| Methods inherited from class org.knime.core.node.port.pmml.PMMLContentHandler |
|---|
addPMMLModel, canReadPMMLVersion, endPrefixMapping, getPMMLModelFragment, getPreferredWriteVersion, getSupportedVersions, ignorableWhitespace, parse, 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 |
|---|
public static final String ID
| Constructor Detail |
|---|
public PMMLAssociationRuleHandler()
public PMMLAssociationRuleHandler(int nrOfTransactions,
double minSupport,
double minConfidence,
Map<String,String> items,
Set<FrequentItemSet> itemsets,
Set<AssociationRule> rules)
PMMLContentHandler.addPMMLModel(org.w3c.dom.DocumentFragment, PMMLPortObjectSpec).
nrOfTransactions - the number of transactionsminSupport - the minimum supportminConfidence - the minimum confidenceitems - the itemsitemsets - the itemsetsrules - the association rules| Method Detail |
|---|
public void characters(char[] ch,
int start,
int length)
throws SAXException
characters in interface ContentHandlercharacters in class PMMLContentHandlerSAXException
public void endDocument()
throws SAXException
endDocument in interface ContentHandlerendDocument in class PMMLContentHandlerSAXException
public void endElement(String uri,
String localName,
String name)
throws SAXException
endElement in interface ContentHandlerendElement in class PMMLContentHandlerSAXException
public void startElement(String uri,
String localName,
String name,
Attributes atts)
throws SAXException
startElement in interface ContentHandlerstartElement in class PMMLContentHandlerSAXExceptionpublic double getMinSupport()
public double getMinConfidence()
public int getNrOfTransactions()
public int getNrOfItems()
public int getNrOfItemsets()
public int getNrOfRules()
public Map<String,String> getItems()
public Set<FrequentItemSet> getItemsets()
public Set<AssociationRule> getRules()
protected void addPMMLModelContent(TransformerHandler handler,
PMMLPortObjectSpec spec)
throws SAXException
addPMMLModelContent in class PMMLContentHandlerhandler - the transformer handlerspec - the port object spec
SAXException - if the model cannot be added
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||