|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttextclassifier.ARCBC.ArcBC
public class ArcBC
Class that manages all important algorithms necessary for association rule based classification (their implmentation are in ArcBCminer, ArcBCclassifier and ArcBCdiscretizer.
Constructor Summary | |
---|---|
ArcBC(documentConnecterBC dbc,
MySQLAccess dba)
Constructor of a classifier (class ArcBC) |
Method Summary | |
---|---|
int |
classifyDocument(java.util.ArrayList<AssociationRule> ARC,
Document D,
double conf_thresh)
Classification phase of the method - using association rules |
java.util.ArrayList<Document> |
getAllDocuments()
Returns the set of all documents (set of relational table records) used for classification. |
java.util.ArrayList<AssociationRule> |
train(float supp,
float conf)
Training phase of classification - mining assocciation rules |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArcBC(documentConnecterBC dbc, MySQLAccess dba)
dba
- instance of MySQLaccess class. Contains information about connection to
the MySQL database.dbc
- instance of documentConnecterBC class. Contains information about how to
get information about input documents.Method Detail |
---|
public java.util.ArrayList<AssociationRule> train(float supp, float conf)
supp
- value of minimum supportconf
- value of minimum confidence
public int classifyDocument(java.util.ArrayList<AssociationRule> ARC, Document D, double conf_thresh)
ARC
- list of association rules from the training phaseD
- a document to be classifiedconf_thresh
- minimum confidence threshold
public java.util.ArrayList<Document> getAllDocuments()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |