diff --git a/src/main/java/de/mpii/frequentrulesminning/AssociationRuleMiningSPMF.java b/src/main/java/de/mpii/frequentrulesminning/AssociationRuleMiningSPMF.java index 3916b10..df7ff53 100644 --- a/src/main/java/de/mpii/frequentrulesminning/AssociationRuleMiningSPMF.java +++ b/src/main/java/de/mpii/frequentrulesminning/AssociationRuleMiningSPMF.java @@ -329,7 +329,7 @@ private void findExceptionCandidateSets(AssocRulesExtended rules, TransactionsDa rules.getRules().stream().parallel().forEach((rule)-> { List exceptionCandidates= null; try { - exceptionCandidates = em.mineExceptions2(rule); + exceptionCandidates = em.mineExceptionsAsSetManipulation(rule); rule.setExceptionCandidates(exceptionCandidates); } catch (IOException e) { e.printStackTrace(); diff --git a/src/main/java/de/mpii/frequentrulesminning/ExceptionMining.java b/src/main/java/de/mpii/frequentrulesminning/ExceptionMining.java index 7ff0712..4523638 100644 --- a/src/main/java/de/mpii/frequentrulesminning/ExceptionMining.java +++ b/src/main/java/de/mpii/frequentrulesminning/ExceptionMining.java @@ -141,7 +141,7 @@ private List removeBodyItemsFromTransactions(AssocRuleWithException - public List mineExceptions(AssocRuleWithExceptions rule) throws IOException { + public List mineExceptionsAsFrequentSetMining(AssocRuleWithExceptions rule) throws IOException { Set negativeTransactions = getNegativeTransactions(rule); Collection filteredNegTrans=removeBodyItemsFromTransactions(rule,negativeTransactions); @@ -158,7 +158,7 @@ public List mineExceptions(AssocRuleWithExceptions rule) throws return patternsFlatItems; } - public List mineExceptions2(AssocRuleWithExceptions rule) throws IOException { + public List mineExceptionsAsSetManipulation(AssocRuleWithExceptions rule) throws IOException { // Get negative transactions and remove the body items Set negativeTransactions = getNegativeTransactions(rule);