Skip to content

Releases: mhahsler/arules

arules_1.7-9

15 Dec 16:24
Compare
Choose a tag to compare

arules 1.7-9 (12/14/2024)

Internal Changes

  • C code: Legacy variable length arrays in structs use now C99 syntax so
    that UBSAN's static analysis does not report a non-existing
    out-of-bounds violation.

arules 1.7-8 (08/21/2024)

Changes

  • Updated tests for testthat edition 3.

Internal Changes

  • Disable internal ngCMatrix subsetting code which has issues with R-devel.
    We use now subsetting provided by package Matrix which is almost as fast.
  • Disable internal code for rowSums and colSums for ngCMatrix.
  • Internal code for t for ngCMatrix is now only used internally.
  • The custom code and the exported symbols are now deprecated and will be
    removed in the next major release.

Bugfixes

  • Fixed 'Error in .basicRuleMeasure(..) unused argument
    (complement = TRUE)' reported by bachnguyen-tomo.
  • Added package anchors in man pages for ngCMatrix-class.

arules 1.7-7 (11/28/2023)

Changes

  • is.significant gained parameter reuse. The default for adjust was changed
    to "none."
  • improved some error messages.
  • Added Wikipedia links to measures.md.
  • Added interest measure LIC.

Bugfixes

  • Fixed appearance code for fim4r (reported by mytarmail).

arules_1.7-6

24 Mar 14:16
Compare
Choose a tag to compare

arules 1.7-6 (03/23/2023)

Changes

  • Improved the interface for fim4r. support and confidence now uses [0, 1]; added verbose
    and origialSupport.

Bugfixes

  • eclat and apriori now use the next smaller representable double for minsupp to make sure that >= minsupp works.

arules 1.7-5 (10/20/2022)

Bugfixes

  • discretize(): dig.lab is now correctly passed on to cut() (reported by LectronPusher).
  • Fixed C prototype warnings

arules_1.7-4

17 Aug 13:53
Compare
Choose a tag to compare

arules 1.7-4 (8/16/2022)

Changes

  • We install now the latest version of fim4r
  • Changes in coercion for Matrix 1.4-2

Bugfix

  • eclat() now correctly returns frequent itemsets when all have exactly minsupport (reported by GauthierMagnin).

arules_1.7-3

10 Jan 00:23
Compare
Choose a tag to compare

Changes

  • Manual pages are now created using roxygen2.
  • support() uses now explicit arguments instead of control.
  • ruleInduction() uses now explicit arguments instead of control.

New Feature

  • Added interface to fim4r algorithms.

arules

19 Nov 12:57
Compare
Choose a tag to compare

Bugfixes

  • Fixed some C issues: unsigned int in bitmat.c (function static int _exists) to ensure bit shifting works. The bitmap support buffer is now initialized with zeros.

arules_1.7-0

14 Nov 18:26
Compare
Choose a tag to compare

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.

arules_1.6-8

17 May 21:53
Compare
Choose a tag to compare

New Feature

  • transactions have now a constructor function called transactions().
  • Added new method compatible() to itemMatrix to check if the item coding is compatible
    between two objects.
  • c() now produces a warning if two itemMatrices with different itemCoding are combined.
  • encode and recode accept now for itemLabels also objects with an itemLabels method.
  • recode is now also available for associations (itemsets and rules).

Changes

  • recode: parameter match is now deprecated. Use itemLabels

Bug Fixes

  • fixed addAggregate problem with character (reported by javiercoh).

arules_1.6-7

16 Mar 22:08
Compare
Choose a tag to compare

New Features

  • Added interest measure confidence boost (boost) with help from Jens Harbers, Cordes & Graefe KG.

Bug Fixes

  • interest measure improvement now does not produce inf values if no subset rule can be found.

arules_1.6-6

15 May 17:25
Compare
Choose a tag to compare

New Features

  • added interestMeasure rhsSupport.
  • added interestMeasure stdLift.
  • addComplement now adds variables and levels to indicate what items are complments.

Changes

  • apriori and eclat now by default also reports coverage (ext defaults to TRUE and lhs.support is now called coverage).
  • addComplement now adds variables and levels itemInfo.
  • discretize now drops non-unique breaks with a warning (instead of producing an error).

Bug Fixes

  • DATAFRAME now works if itemsetInfo is empty.
  • interestMeasure hyperlift now works without specifying transactions.
  • Changed c() to as.integer() for factors (R has changed).

arules_1.6-5

04 Apr 13:38
Compare
Choose a tag to compare

New Features

  • improved speed for calculating interestMeasures for rules and itemsets with no available
    quality information or reuse = FALSE.
  • Manual pages for associations were improved with examples for itemCoding.
  • MAnual page for interestMeasures is now linked with the associated web page.
  • interest measure laplace (Laplace confidence) gained parameter k for the number of classes.

Bug Fixes

  • read.transactions: Parameter encoding is now correctly passed on to scan (reported by Sisi-Wiciel).
  • interestMeasure was not calculating count for itemsets (reported by clcazer).
  • removed the duplicated interest measure: "descriptiveConfirm" use "confirmedConfidence" instead.