Skip to content

Commit

Permalink
extending to binary and fix methods names in ExceptionMining
Browse files Browse the repository at this point in the history
  • Loading branch information
gadelrab committed Jul 6, 2016
1 parent 8789058 commit b88cfc6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ private void findExceptionCandidateSets(AssocRulesExtended rules, TransactionsDa
rules.getRules().stream().parallel().forEach((rule)-> {
List<ExceptionItem> exceptionCandidates= null;
try {
exceptionCandidates = em.mineExceptions2(rule);
exceptionCandidates = em.mineExceptionsAsSetManipulation(rule);
rule.setExceptionCandidates(exceptionCandidates);
} catch (IOException e) {
e.printStackTrace();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ private List<Transaction> removeBodyItemsFromTransactions(AssocRuleWithException



public List<ItemsetString> mineExceptions(AssocRuleWithExceptions rule) throws IOException {
public List<ItemsetString> mineExceptionsAsFrequentSetMining(AssocRuleWithExceptions rule) throws IOException {

Set<Transaction> negativeTransactions = getNegativeTransactions(rule);
Collection filteredNegTrans=removeBodyItemsFromTransactions(rule,negativeTransactions);
Expand All @@ -158,7 +158,7 @@ public List<ItemsetString> mineExceptions(AssocRuleWithExceptions rule) throws
return patternsFlatItems;
}

public List<ExceptionItem> mineExceptions2(AssocRuleWithExceptions rule) throws IOException {
public List<ExceptionItem> mineExceptionsAsSetManipulation(AssocRuleWithExceptions rule) throws IOException {

// Get negative transactions and remove the body items
Set<Transaction> negativeTransactions = getNegativeTransactions(rule);
Expand Down

0 comments on commit b88cfc6

Please sign in to comment.