Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding the possibility to skip pruning step when using CBA function #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DouglasMesquita
Copy link

Link to the issue

close #30

How to test the changes

data("iris")
formula <- Species ~ .

trans <- prepareTransactions(formula = formula, data = iris)
rulebase <- mineCARs(
  formula = Species ~ .,
  transactions = trans,
  supp = 0.05,
  conf = 0.9
)
n_rules <- length(rulebase)

cba_no_pruning <- CBA(formula, iris, supp = 0.05, conf = 0.9, pruning = NULL)

In this case, length(rules(cba_no_pruning)) == n_rules as desired.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pruning is not necessary when the user have its own pruning method
1 participant