Main Page | Class Hierarchy | Class List | Class Members

kddml.Core.DataMining.SequentialPatterns.RulesSequenceFactory Class Reference

Inheritance diagram for kddml.Core.DataMining.SequentialPatterns.RulesSequenceFactory:

kddml.Core.DataMining.SequentialPatterns.SequenceProprietaryFactory kddml.Core.DataMining.ModelProprietaryFactory kddml.Core.DataMining.ModelResourceFactory kddml.Core.KDDMLObjectResourceFactory kddml.Core.KDDMLObjectFactory List of all members.

Public Member Functions

 RulesSequenceFactory (java.io.File f, DataDictionary dd, MiningSchema ms, double min_support, double min_confidence, int number_of_transactions, Vector< Sequence > sequences, Vector< SequenceRule > sequence_rules) throws KDDMLCoreException
KDDMLObject newInstance () throws KDDMLCoreException
void setMaxNumberOfSequences (int max_sequences)
void setMaxNumberOfRules (int max_rules)

Detailed Description

This class is used to build a sequence model from a given set of rules.

Title: KDDML

Description: Knowledge Discovery in Database Environment

Copyright: Copyright (c) 2004

Company: Universita' di Pisa - Dipartimento di Informatica

Author:
Daniele Cerra (daniele@cerra.info)
Version:
2.0.0 alfa


Constructor & Destructor Documentation

kddml.Core.DataMining.SequentialPatterns.RulesSequenceFactory.RulesSequenceFactory java.io.File  f,
DataDictionary  dd,
MiningSchema  ms,
double  min_support,
double  min_confidence,
int  number_of_transactions,
Vector< Sequence sequences,
Vector< SequenceRule sequence_rules
throws KDDMLCoreException
 

Constructor.

Parameters:
f the file containing the model
dd the data dictionary
ms the mining schema
min_support the minimum support
min_confidence the minimum confidence
number_of_transactions the number of transactions
sequences the entire set of sequences, from which rules was built
sequence_rules the ordered set of rules
Exceptions:
KDDMLCoreException 


Member Function Documentation

KDDMLObject kddml.Core.DataMining.SequentialPatterns.RulesSequenceFactory.newInstance  )  throws KDDMLCoreException [virtual]
 

Returns a new instance of this object. Throws an exception if an error occurs.

Exceptions:
KDDMLCoreException 
Returns:
KDDMLObject

Reimplemented from kddml.Core.DataMining.SequentialPatterns.SequenceProprietaryFactory.

void kddml.Core.DataMining.SequentialPatterns.RulesSequenceFactory.setMaxNumberOfSequences int  max_sequences  ) 
 

Set the maximum number of sequences allowed in the model. If given argument is less than 0 or greater than SequenceModel.MAX_NUMBER_OF_SEQUENCES, this method do nothing.

Changing the number of sequences allowed, affect builded rules: 1) all sequences are getted, 2) if number of sequences exceed given threshold, then sequences with lowest support are removed. When sequences are removed all the rules that contains them, are removed too

Parameters:
max_sequences maximum sequences

void kddml.Core.DataMining.SequentialPatterns.RulesSequenceFactory.setMaxNumberOfRules int  max_rules  ) 
 

Set the maximum number of rules allowed in the model. If given argument is less than 0 or greater than SequenceModel.MAX_NUMBER_OF_RULES, this method do nothing.

If given rules exceed given threshold, then rules with lowest confidence and support are removed.

Parameters:
max_rules maximum rules


Generated on Thu Feb 23 13:04:42 2006 for kddml by  doxygen 1.4.3