University of Waikato Research
Permanent URI for this communityhttps://researchcommons.waikato.ac.nz/handle/10289/10288
Browse
25 results
Filters
Advanced Search
Filter by
Settings
Search Results
Item type:Publication, BELLA: Black-box model explanations by local linear approximations2025, TMLRUnderstanding the decision-making process of black-box models has become not just a legal requirement, but also an additional way to assess their performance. However, the state of the art post-hoc explanation approaches for regression models rely on synthetic data generation, which introduces uncertainty and can hurt the reliability of the explanations. Furthermore, they tend to produce explanations that apply to only very few data points. In this paper, we present BELLA, a deterministic model-agnostic post-hoc approach for explaining the individual predictions of regression black-box models. BELLA provides explanations in the form of a linear model trained in the feature space. BELLA maximizes the size of the neighborhood to which the linear model applies so that the explanations are accurate, simple, general, and robust.Item type:Publication, Identifying biological fluids using hyperspectral near-infrared imaging and machine learning for forensics analysis2025, IEEENear-infrared hyperspectral imaging captures subtle spatial and spectral characteristics of biological fluids on fabrics for forensics analysis. It is a non-destructive approach that could potentially be used for onsite crime scene investigations. However, current data processing methods lack the accuracy and sensitivity required for real-world applications. This paper utilised a 900-1700nm hyperspectral camera to capture blood, semen, and urine fluids that were systematically applied onto a patterned rayon fabric. Multi-Later Perception (MLP) and 1D Convolutional Neural Network (1D-CNN) classifiers were then trained to identify them. A dual evaluation approach, combining machine learning model evaluation metrics (F1-score and accuracy) with uncertainty quantification (Entropy-based and Modal Predictionbased) was then used to assess the performance of the classifiers. The results indicated that the MLP slightly outperformed the 1DCNN for fluid-specific classification tasks, achieving slightly better accuracy and F1-score and lower uncertainty in predictions.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, On the impact of different light wavelengths in decoding human intention in lightmyography controlled prosthetic hands2025, IEEELightmyography is a method of human interfacing proposed for the control of prosthetic systems in which light is reflected on the skin and captured using photosensors. While sharing conceptual similarities with forcemyography, lightmyography differentiates itself in the way it interacts with the skin due to skin optics. Different wavelengths of light interact with the skin in different depths and degrees, a principle utilized in photoplethysmography to estimate heart rate and blood oxygen levels. Therefore, lightmyography was previously designed with two wavelengths of light, green and near-infrared. This study seeks to examine the impact of using different wavelengths of light in the decoding of hand postures using different machine learning methods. Four light configurations were tested: using only green light, using only infrared light, using both green and infrared light blinking alternately each 250 ms, and finally using both lights blinking at 125 ms. Data was decoded using four machine learning algorithms, namely linear discriminant analysis, random forest, convolutional neural networks, and a transformer-based model. Statistical testing showed no significant effect from light configuration in the machine learning decoding of hand posture performance. The dataset collected in this study has been made available for further investigation.Item type:Publication, Choosing the right time to learn evolving data streams2023, IEEEContinuous data generation over time presents new challenges for Machine Learning systems, which must develop real-time models due to memory and latency limitations. Streaming Machine Learning algorithms analyze data streams one sample at a time, progressively updating their models. However, is it necessary to utilize all the data for model updates? This paper introduces the Online Ensemble SPaced Learning (OE-SPL) strategy, an ensemble meta-strategy that combines online ensemble learning and the Spaced Learning heuristic to rapidly learn underlying concepts without using all samples. We evaluated OE-SPL on synthetic and real data streams containing various concept drifts, providing statistical evidence that OE-SPL achieves comparable performance to state-of-the-art ensemble models while recovering from multiple concept drift occurrences more efficiently, using less time and RAM-Hours.Item type:Publication, Building adaptive knowledge bases for evolving continual learning models2025, Springer NatureContinual learning addresses catastrophic forgetting and knowledge transfer when learning from task streams. Dynamic architectures have introduced task-specific components like adapters layered over fixed pre-trained backbones. However, identifying the task of a new input remains a core challenge, leading to task-agnostic and dynamic detection methods. Existing approaches often overlook the reuse of previously learned adapters, missing opportunities for efficient forward and backwards transfer. We propose Continual Adapter-Based Learning (CABLE), a reinforcement learning framework that computes gradient similarity between new examples and past tasks. This similarity score drives a policy that assigns existing adapters when beneficial, rewarding improved performance and reducing reliance on newly initialised parameters. CABLE adopts a dynamic adapter routing strategy without assuming prior task labels. Evaluations on image classification and time series forecasting show that CABLE mitigates catastrophic forgetting and promotes efficient knowledge transfer across tasks.Item type:Publication, ARES: Anomaly Recognition Model for Edge Streams2026-04-20, ACMMany real-world scenarios involving streaming information can be represented as temporal graphs, where data flows through dynamic changes in edges over time. Anomaly detection in this context has the objective of identifying unusual temporal connections within the graph structure. Detecting edge anomalies in real time is crucial for mitigating potential risks. Unlike traditional anomaly detection, this task is particularly challenging due to concept drifts, large data volumes, and the need for real-time response. To face these challenges, we introduce ARES, an unsupervised anomaly detection framework for edge streams. ARES combines Graph Neural Networks (GNNs) for feature extraction with Half-Space Trees (HST) for anomaly scoring. GNNs capture both spike and burst anomalous behaviors within streams by embedding node and edge properties in a latent space, while HST partitions this space to isolate anomalies efficiently. ARES operates in an unsupervised way without the need for prior data labeling. To further validate its detection capabilities, we additionally incorporate a simple yet effective supervised thresholding mechanism. This approach leverages statistical dispersion among anomaly scores to determine the optimal threshold using a minimal set of labeled data, ensuring adaptability across different domains. We validate ARES through extensive evaluations across several real-world cyber-attack scenarios, comparing its performance against existing methods while analyzing its space and time complexity. The code used to perform the experiments is publicly available at https://github.com/AnomalyRecognitionModelForEdgeStreams/ARES.Item type:Publication, Adaptive approaches towards fully incremental prediction interval for data stream regression2026, Springer NaturePrediction intervals (PIs) are a practical tool for uncertainty quantification in regression, but comparatively little work has addressed fully incremental PI generation for data streams. In streaming settings, data arrive continuously, each instance is typically processed once, and concept drift can quickly invalidate a previously well-calibrated interval. These properties make many batch PI methods and window-based adaptations difficult to apply efficiently. This paper studies Adaptive Prediction Interval (AdaPI), an online post-calibration framework that adjusts interval width according to observed coverage. We instantiate the framework with a fully incremental variant of Mean and Variance Estimation (MVE) and investigate three adaptive scaling functions. We also adopt an evaluation perspective that jointly considers coverage accuracy and interval width. Experiments on a collection of real-world and synthetic regression streams show that AdaPI can often move coverage closer to the desired confidence level while maintaining competitive interval width; under the default 95% confidence setting and coverage-heavy CING weighting, the linear variant frequently gives the strongest empirical coverage–width trade-off among the three adaptive strategies.