University of Waikato Research
Permanent URI for this communityhttps://researchcommons.waikato.ac.nz/handle/10289/10288
Browse
10 results
Search Results
Item type:Publication, Machine learning for data streams with CapyMOA2026, SpringerThe exponential growth of data in recent decades has underscored the need for high-speed, real-time, and adaptive processing in machine learning. Data stream learning provides an effective framework to address this challenge. This article introduces CapyMOA, an open-source library designed specifically for data stream learning, offering powerful tools for building and deploying adaptive ML models. GitHub: https://github.com/adaptive-machine-learning/CapyMOA. Website: https://capymoa.org.Item type:Publication, Streaming Isolation Forest2025, SpringerAnomaly detection is crucial to identify unusual patterns in various domains. In particular, continuous and rapid flow creates distinct challenges within streaming data. This paper introduces the Streaming Isolation Forest (SiForest), a novel algorithm that uses isolation principles and reservoir sampling to align the model with current data distributions. SiForest efficiently detects anomalies with minimal computational and memory requirements and dynamically updates its model using a subtree regrowing strategy. Empirical evaluation on twenty-three benchmark datasets demonstrates that SiForest outperforms eight state-of-the-art algorithms in terms of AUC-ROC scores, achieving greater precision and adaptability.Item type:Publication, Adaptive Isolation Forest2025, SpringerAnomaly detection in real-world data streams often struggles with concept drift, where evolving data distributions challenge algorithms to maintain a balance between accuracy, speed, stability, and plasticity. We present Adaptive Isolation Forest (AIF), a novel anomaly detection algorithm designed to effectively adapt to such changes in a resource-efficient and balanced manner. AIF’s novelty can be found in the combination of a smart model update mechanism together with a newly developed MinTreeMaxMass (MTMM) criterion, which scores individual trees for replacement. Extensive evaluations on various benchmark datasets demonstrate that AIF significantly outperforms existing state-of-the-art streaming anomaly detection algorithms in terms of detection accuracy. Moreover, AIF achieves linear time and space complexities, providing a robust solution that maintains high accuracy and efficiency, balancing stability and plasticity in dynamic data streams.Item type:Publication, Concept drift detection in delayed and partially labeled data streams: An experimental survey2026, ElsevierFully labeled data is the ideal scenario for supervised model training. However, labels might be scarce in many situations, specially when large data is produced as an open-ended stream. Moreover, in dynamic streams, it is assumed that the underlying process generating the data is non-stationary, changing its behavior over time. Therefore, concepts learned by the classification model are likely to change, and non-adaptive models will suffer performance degradation, a phenomenon known as concept drift. The challenge of recognizing and reacting to such changes is even more complex by facing streams with partial or delayed labels. This refers to realistic scenarios where the true label of an incoming point is not immediately available (delay) or might never be available (partial). In this work, we focus on investigating the performance of concept drift detectors in handling delayed and partially labeled data streams. We categorize the main methods from the literature, providing a taxonomy of concept drift detectors and an overview of the most influential approaches for evaluating these detectors under conditions of delayed or partial labeling. Finally, we conduct a series of experiments to analyze the performance of these detectors in scenarios with label scarcity. Concluding, the survey discusses its main limitations and offers insights into potential avenues for future research in the field.Item type:Publication, Accelerated weka: GPU machine learning with weka workbench2025-09-14, ElsevierRecent advancements in Machine Learning (ML) have driven increased interest and demand in the field. However, the complexity and mathematical background required for many techniques can be challenging for newcomers and enthusiasts. For many years, Weka has been a cornerstone in introductory ML courses worldwide, offering a user-friendly interface that facilitates understanding of various methods. As an open-source software with an active community, Weka has continued to evolve with new attributes. With the growing size of datasets, users are increasingly looking for ways to accelerate computations. GPUs have become a preferred solution for efficiently building and deploying ML models. This paper presents Accelerated Weka, a software framework that integrates GPU-accelerated methods within Weka's intuitive graphical user interface, significantly reducing execution times for large datasets while preserving Weka's accessibility. Benchmark results indicate that Accelerated Weka can achieve 2,198x speedup on an A100 chip. The framework retains Weka's GPL 3.0 license and offers a straightforward installation process through the Conda environment.Item type:Publication, A survey of data stream-based intrusion detection systems2025-04-15, IEEEDetecting malicious activities in network environments poses a challenge that attracts significant attention due to its complexity and importance. Advances in the field have led to the development of several algorithms that approach the problem under the view of a data stream machine learning task. This task involves a set of steps: data collection or choice of public datasets, data pre-processing, data reduction, development or application of data mining techniques, and evaluation methodology. However, these steps must address the inherent issues of dynamic environments such as data streams and intrusion detection systems. These issues include, but are not limited to, the continuous influx of data, changes in both normal and attack class distributions, the emergence of new attack types, and the scarcity of labeled data examples to update the decision models. This survey provides an overview of intrusion detection systems (IDS) using data stream machine learning techniques, characterizing the literature approaches according to the classic steps of the data mining task. In addition, we discuss recommendations for practical IDS development and highlight datasets and tools that can aid in detecting malicious behavior. Finally, we outline potential avenues for future research and open questions in the field.Item type:Publication, Online Isolation Forest2024, PMLRThe anomaly detection literature is abundant with offline methods, which require repeated access to data in memory, and impose impractical assumptions when applied to a streaming context. Existing online anomaly detection methods also generally fail to address these constraints, resorting to periodic retraining to adapt to the online context. We propose ONLINE-IFOREST, a novel method explicitly designed for streaming conditions that seamlessly tracks the data generating process as it evolves over time. Experimental validation on real-world datasets demonstrated that ONLINE-IFOREST is on par with online alternatives and closely rivals state-of-the-art offline anomaly detection techniques that undergo periodic retraining. Notably, ONLINE-IFOREST consistently outperforms all competitors in terms of efficiency, making it a promising solution in applications where fast identification of anomalies is of primary importance such as cybersecurity, fraud and fault detection.Item type:Publication, Mini-batching with fused training and testing for data streams processing on the Edge2024, ACMEdge Computing (EC) has emerged as a solution to reduce energy demand and greenhouse gas emissions from digital technologies. EC supports low latency, mobility, and location awareness for delay-sensitive applications by bridging the gap between cloud computing services and end-users. Machine learning (ML) methods have been applied in EC for data classification and information processing. Ensemble learners have often proven to yield high predictive performance on data stream classification problems. Mini-batching is a technique proposed for improving cache reuse in multi-core architectures of bagging ensembles for the classification of online data streams, which benefits application speedup and reduces energy consumption. However, the original mini-batching presents limited benefits in terms of cache reuse and it hinders the accuracy of the ensembles (i.e., their capacity to detect behavior changes in data streams). In this paper, we improve mini-batching by fusing continuous training and test loops for the classification of data streams. We evaluated the new strategy by comparing its performance and energy efficiency with the original mini-batching for data stream classification using six ensemble algorithms and four benchmark datasets. We also compare mini-batching strategies with two hardware-based strategies supported by commodity multi-core processors commonly used in EC. Results show that mini-batching strategies can significantly reduce energy consumption in 95% of the experiments. Mini-batching improved energy efficiency by 96% on average and 169% in the best case. Likewise, our new mini-batching strategy improved energy efficiency by 136% on average and 456% in the best case. These strategies also support better control of the balance between performance, energy efficiency, and accuracy.Item type:Publication, Time-evolving data science and artificial intelligence for Advanced Open Environmental Science (TAIAO) programme2024, International Joint Conferences on Artificial Intelligence OrganizationNew Zealand's unique ecosystems face increasing threats from climate change, impacting biodiversity and posing challenges to safety, livelihoods, and well-being. To tackle these complex issues, advanced data science and artificial intelligence techniques can provide unique solutions. Currently, in its fourth year of a seven-year program, TAIAO focuses on methods for analyzing environmental datasets. Recognizing this urgency, the open-source TAIAO platform was developed. This platform enables new artificial intelligence research for environmental data and offers an open-access repository to enhance reproducibility in the field. This paper will showcase four environmental case studies, artificial intelligence research, platform implementation details, and future development plans.Item type:Publication, Balancing performance and energy consumption of bagging ensembles for the classification of data streams in edge computing2022, IEEEIn recent years, the Edge Computing (EC) paradigm has emerged as an enabling factor for developing technologies like the Internet of Things (IoT) and 5G networks, bridging the gap between Cloud Computing services and end-users, supporting low latency, mobility, and location awareness to delay-sensitive applications. An increasing number of solutions in EC have employed machine learning (ML) methods to perform data classification and other information processing tasks on continuous and evolving data streams. Usually, such solutions have to cope with vast amounts of data that come as data streams while balancing energy consumption, latency, and the predictive performance of the algorithms. Ensemble methods achieve remarkable predictive performance when applied to evolving data streams due to several models and the possibility of selective resets. This work investigates a strategy that introduces short intervals to defer the processing of mini-batches. Well balanced, our strategy can improve the performance (i.e., delay, throughput) and reduce the energy consumption of bagging ensembles to classify data streams. The experimental evaluation involved six state-of-art ensemble algorithms (OzaBag, OzaBag Adaptive Size Hoeffding Tree, Online Bagging ADWIN, Leveraging Bagging, Adaptive RandomForest, and Streaming Random Patches) applying five widely used machine learning benchmark datasets with varied characteristics on three computer platforms. As a result, our strategy can significantly reduce energy consumption in 96% of the experimental scenarios evaluated. Despite the trade-offs, it is possible to balance them to avoid significant loss in predictive performance.