|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttextclassifier.ARCBC.ArcBCminer
public class ArcBCminer
Class which contains all necessary algorithms for association based classification.
Field Summary | |
---|---|
java.util.ArrayList<AssociationRule> |
allRules
|
java.util.ArrayList<AssociationRule> |
completeRules
|
boolean |
fidone
|
double |
mining_actCinLevel
|
int |
mining_actLevel
|
int |
mining_totalLevels
|
int |
prunedRules
|
double |
pruning_actLevel
|
boolean |
rdone
|
double |
ruling_actLevel
|
int |
totalLargeFitemsets
|
int |
totalRules
|
Constructor Summary | |
---|---|
ArcBCminer(documentConnecterBC dbconnect,
MySQLAccess dbaccess)
Constructor of the class ArcBCminer |
Method Summary | |
---|---|
java.util.ArrayList<Document> |
getAllDocuments()
Reading of all data (documents) from the input table and storing information about them into the Document obejct. |
int |
getResultSetSize(java.sql.ResultSet resultSet)
returns the size of the resultset obtained by an SQL query |
java.sql.ResultSet |
runSqlCommand(java.lang.String command)
sends a given SQL query to the MySQL server and returns a ResultSet |
void |
saveClassifierToFile()
|
java.util.ArrayList<AssociationRule> |
train(LookupTable DiscTable,
double min_supp,
double min_conf)
Training of the classifier - mining association rules |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int totalRules
public int prunedRules
public int totalLargeFitemsets
public int mining_totalLevels
public int mining_actLevel
public double mining_actCinLevel
public double ruling_actLevel
public double pruning_actLevel
public boolean fidone
public boolean rdone
public java.util.ArrayList<AssociationRule> allRules
public java.util.ArrayList<AssociationRule> completeRules
Constructor Detail |
---|
public ArcBCminer(documentConnecterBC dbconnect, MySQLAccess dbaccess)
dbconnect
- connection to the MySQL databasedbaccess
- all documents - inputs for classificationMethod Detail |
---|
public java.util.ArrayList<AssociationRule> train(LookupTable DiscTable, double min_supp, double min_conf)
DiscTable
- table of intervals created by discretizationmin_supp
- minimum support thresholdmin_conf
- minimum confidence threshold
public java.util.ArrayList<Document> getAllDocuments()
public java.sql.ResultSet runSqlCommand(java.lang.String command)
command
- string containing the SQL query
public void saveClassifierToFile()
public int getResultSetSize(java.sql.ResultSet resultSet)
resultSet
- resultset as an input
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |