Skip to content

arules_1.7-0

Compare
Choose a tag to compare
@mhahsler mhahsler released this 14 Nov 18:26
· 132 commits to master since this release

arules 1.7-0 (11/12/2021)

New Feature

  • Constructors and conversion

    • constructor transactions() can now also create transactions from data in long format (tid, item).
    • rules and itemsets have now a constructor.
    • toLongFormat converts transactions into a long format data.frame.
  • Interest measures

    • interestMeasure for rules has now measure "table" which returns the contingency table.
    • new interest measure "riskRatio" was added.
    • interestMeasure for contingency table-based measures now accept the additional parameter smoothCounts
      which is added to each count to avoid counts of zero (Laplace smoothing).
    • new method for stats confint to calculate confidence intervals for some interest measures added.
    • is_redundant can now also use confidence intervals to determine statistical redundancy.
    • removed option "chiSquared" from crossTable.
  • Mining algorithms

    • apriori and eclat gain ... additional arguments are now added to the parameter list.
    • added new function is.generators to find itemset generators.
    • apriori and eclat now store the call in the info slot of the created associations.

Changes

  • we use now a better check for installed suggested packages.
  • inspect uses now a space after the comma.
  • interestMeasures: reuse = TRUE now only reuses the basic measures of "support", "confidence", "coverage" and
    "lift". All other measures are recalculated to account for possible differences in additional parameters.
  • set methods are now also exported as S3 methods using package generics so they do not conflict with tidyverse (dplyr).

Bug Fixes

  • fixed mistake in the man page for weclat. The weight column needs to be called weight (reported by Alexander Ruth).
  • frequent itemsets now do not report "transIdenticalToItemsets" (reported by galadrielbriere).
  • fixed read.transactions reading in single format with a header from a connection. The first item is no longer dropped.