logo


niarules - Numerical Association Rule Mining using Population-Based Nature-Inspired Algorithms

R build status

About ๐Ÿ“‹

niarules is an R framework designed for mining numerical association rules through the utilization of nature-inspired algorithms for optimization. Drawing inspiration from both the NiaARM Python package and NiaARM.jl package, this repository introduces the capability to perform numerical association rule mining in the R programming language.

The current version of niarules included in this framework offers seamless functionality for automatic dataset loading and preprocessing. It facilitates the exploration of numerical association rules through the application of nature-inspired algorithms, ultimately presenting a comprehensive output that includes identified association rules. Aligning with the principles of the original NiaARM implementation, the process of numerical association rule mining is conceptualized as an optimization problem, and the solution is achieved using population-based nature-inspired algorithms integrated within this framework.

Detailed insights โœจ

The current version includes (but is not limited to) the following functions:

Installation ๐Ÿ“ฆ

Usage ๐Ÿš€

Basic run example

library("niarules")
dataset <- "Abalone.csv"
# read dataset
data <- read_dataset(dataset)
# get features
features = extract_feature_info(data)
dim <- problem_dimension(features)
# Use Differential Evolution algorithm for discovering association rules
de <- differential_evolution(D = dim, NP = 30, F = 0.5, CR = 0.9, nfes = 1000, features, data)
print_association_rules(de$arules)

Reference papers ๐Ÿ“„

Ideas are based on the following research papers:

[1] Stupan, ลฝ., & Fister Jr., I. (2022). NiaARM: A minimalistic framework for Numerical Association Rule Mining. Journal of Open Source Software, 7(77), 4448.

[2] I. Fister Jr., A. Iglesias, A. Gรกlvez, J. Del Ser, E. Osaba, I Fister. Differential evolution for association rule mining using categorical and numerical attributes In: Intelligent data engineering and automated learning - IDEAL 2018, pp.ย 79-88, 2018.

[3] I. Fister Jr., V. Podgorelec, I. Fister. Improved Nature-Inspired Algorithms for Numeric Association Rule Mining. In: Vasant P., Zelinka I., Weber GW. (eds) Intelligent Computing and Optimization. ICO 2020. Advances in Intelligent Systems and Computing, vol 1324. Springer, Cham.

[4] I. Fister Jr., I. Fister A brief overview of swarm intelligence-based algorithms for numerical association rule mining. arXiv preprint arXiv:2010.15524 (2020).

See also

[1] NiaARM.jl: Numerical Association Rule Mining in Julia

[2] NiaARM: Numerical Association Rule Mining in Python

[3] arm-preprocessing: Implementation of several preprocessing techniques for Association Rule Mining (ARM)

License

This package is distributed under the MIT License. This license can be found online at http://www.opensource.org/licenses/MIT.

Disclaimer

This framework is provided as-is, and there are no guarantees that it fits your purposes or that it is bug-free. Use it at your own risk!