<link rel="stylesheet" href="styles.cf390c6bfbe7555f.css">

Computing and Mathematical Sciences

Permanent URI for this communityhttps://researchcommons.waikato.ac.nz/handle/10289/5

This community houses research from the Faculty of Computing and Mathematical Sciences at the University of Waikato.

Browse

Search Results

Now showing 1 - 7 of 7
  • Item type:Publication,
    Empower innovations in routine soil testing
    2022-01-01, MDPI
    Conventional soil tests are commonly used to assess single soil characteristics. Thus, many different tests are needed for a full soil fertility/soil quality assessment, which is laborious and expensive. New broad-spectrum soil tests offer the potential to assess many soil characteristics quickly, but often face challenges with calibration, validation, and acceptance in practice. Here, we describe the results of a 20 year research program aimed at overcoming the aforementioned challenges. A three-step approach was applied: (1) selecting and establishing two contrasting rapid broad-spectrum soil tests, (2) relating the results of these new tests to the results of conventional soil tests for a wide variety of soils, and (3) validating the results of the new soil tests through field trials and communicating the results. We selected Near Infrared Spectroscopy (NIRS) and multi-nutrient 0.01 M CaCl2 extraction (1:10 soil to solution ratio; w/v) as broad-spectrum techniques. NIRS was extensively calibrated and validated for the physical, chemical, and biological characteristics of soil. The CaCl2 extraction technique was extensively calibrated and validated for ‘plant available’ nutrients, often in combination with the results of NIRS. The results indicate that the accuracy of NIRS determinations is high for SOM, clay, SOC, ECEC, Ca-CEC, N-total, sand, and inorganic-C (R2 ≥ 0.95) and good for pH, Mg-CEC, and S-total (R2 ≥ 0.90). The combination of the CaCl2 extraction technique and NIRS gave results that related well (R2 > 0.80) to the results of conventional soil tests for P, K, Mg, Na, Mn, Cu, Co, and pH. In conclusion, the three-step approach has revolutionized soil testing in The Netherlands. These two broad-spectrum soil tests have improved soil testing; have contributed to increased insights into the physical, chemical, and biological characteristics of soil; and have thereby led to more sustainable soil management and cropping systems.
  • Item type:Publication,
    Efficiently correcting machine learning: considering the role of example ordering in human-in-the-loop training of image classification models
    2022, ACM
    Arguably the most popular application task in artificial intelligence is image classification using transfer learning. Transfer learning enables models pre-trained on general classes of images, available in large numbers, to be refined for a specific application. This enables domain experts with their own—generally, substantially smaller—collections of images to build deep learning models. The good performance of such models poses the question of whether it is possible to further reduce the effort required to label training data by adopting a human-in-the-loop interface that presents the expert with the current predictions of the model on a new batch of data and only requires correction of these predictions—rather than de novo labelling by the expert—before retraining the model on the extended data. This paper looks at how to order the data in this iterative training scheme to achieve the highest model performance while minimising the effort needed to correct misclassified examples. Experiments are conducted involving five methods of ordering, using four image classification datasets, and three popular pre-trained models. Two of the methods we consider order the examples a priori whereas the other three employ an active learning approach where the ordering is updated iteratively after each new batch of data and retraining of the model. The main finding is that it is important to consider accuracy of the model in relation to the number of corrections that are required: using accuracy in relation to the number of labelled training examples—as is common practice in the literature—can be misleading. More specifically, active methods require more cumulative corrections than a priori methods for a given level of accuracy. Within their groups, active and a priori methods perform similarly. Preliminary evidence is provided that suggests that for “simple” problems, i.e., those involving fewer examples and classes, no method improves upon random selection of examples. For more complex problems, an a priori strategy based on a greedy sample selection method known as “kernel herding” performs best.
  • Item type:Publication,
    An application of data mining to fruit and vegetable sample identification using Gas Chromatography-Mass Spectrometry
    2012, iEMSs
    One of the uses of Gas Chromatography-Mass Spectrometry (GC-MS) is in the detection of pesticide residues in fruit and vegetables. In a high throughput laboratory there is the potential for sample swaps or mislabelling, as once a sample has been pre-processed to be injected into the GC-MS analyser, it is no longer distinguishable by eye. Possible consequences of such mistakes can be the destruction of large amounts of actually safe produce or pesticide-contaminated produce reaching the consumer. For the purposes of food safety and traceability, it can also be extremely valuable to know the source (country of origin) of a food product. This can help uncover fraudulent attempts of trying to sell food originating from countries deemed unsafe. In this study, we use the workflow environment ADAMS to examine whether we can determine the fruit/vegetable, and the country of origin of a sample from a GC-MS chromatogram. A workflow is used to generate data sets using different data pre-processing methods, and data representations from a database of over 8000 GC-MS chromatograms, consisting of more than 100 types of fruit and vegetables from more than 120 countries. A variety of classification algorithms are evaluated using the WEKA data mining workbench. We demonstrate excellent results, both for the determination of fruit/vegetable type and for the country of origin, using a histogram of ion counts, and Classification by Regression using Random Regression Forest with PLS-transformed data.
  • Item type:Publication,
    A comparison of methods for estimating prediction intervals in NIR spectroscopy: Size matters
    2011, Elsevier
    In this article we demonstrate that, when evaluating a method for determining prediction intervals, interval size matters more than coverage because the latter can be fixed at a chosen confidence level with good reliability. To achieve the desired coverage, we employ a simple non-parametric method to compute prediction intervals by calibrating estimated prediction errors, and we extend the basic method with a continuum correction to deal with small data sets. In our experiments on a collection of several NIR data sets, we evaluate several existing methods of computing prediction intervals for partial least-squares (PLS) regression. Our results show that, when coverage is fixed at a chosen confidence level, and the number of PLS components is selected to minimize squared error of point estimates, interval estimation based on the classic ordinary least-squares method produces the narrowest intervals, outperforming the U-deviation method and linearization, regardless of the confidence level that is chosen.
  • Item type:Publication,
    Predicting polycyclic aromatic hydrocarbon concentrations in soil and water samples
    2010, International Environmental Modelling and Software Society
    Polycyclic Aromatic Hydrocarbons (PAHs) are compounds found in the environment that can be harmful to humans. They are typically formed due to incomplete combustion and as such remain after burning coal, oil, petrol, diesel, wood, household waste and so forth. Testing laboratories routinely screen soil and water samples taken from potentially contaminated sites for PAHs using Gas Chromatography Mass Spectrometry (GC-MS). A GC-MS device produces a chromatogram which is processed by an analyst to determine the concentrations of PAH compounds of interest. In this paper we investigate the application of data mining techniques to PAH chromatograms in order to provide reliable prediction of compound concentrations. A workflow engine with an easy-to-use graphical user interface is at the heart of processing the data. This engine allows a domain expert to set up workflows that can load the data, preprocess it in parallel in various ways and convert it into data suitable for data mining toolkits. The generated output can then be evaluated using different data mining techniques, to determine the impact of preprocessing steps on the performance of the generated models and for picking the best approach. Encouraging results for predicting PAH compound concentrations, in terms of correlation coefficients and root-mean-squared error are demonstrated.
  • Item type:Publication,
    Analysing chromatographic data using data mining to monitor petroleum content in water
    2009, Springer
    Chromatography is an important analytical technique that has widespread use in environmental applications. A typical application is the monitoring of water samples to determine if they contain petroleum. These tests are mandated in many countries to enable environmental agencies to determine if tanks used to store petrol are leaking into local water systems. Chromatographic techniques, typically using gas or liquid chromatography coupled with mass spectrometry, allow an analyst to detect a vast array of compounds—potentially in the order of thousands. Accurate analysis relies heavily on the skills of a limited pool of experienced analysts utilising semi-automatic techniques to analyse these datasets—making the outcomes subjective. The focus of current laboratory data analysis systems has been on refinements of existing approaches. The work described here represents a paradigm shift achieved through applying data mining techniques to tackle the problem. These techniques are compelling because the efficacy of preprocessing methods, which are essential in this application area, can be objectively evaluated. This paper presents preliminary results using a data mining framework to predict the concentrations of petroleum compounds in water samples. Experiments demonstrate that the framework can be used to produce models of sufficient accuracy—measured in terms of root mean squared error and correlation coefficients—to offer the potential for significantly reducing the time spent by analysts on this task.
  • Item type:Publication,
    Facilitating multiple copy/past operations
    1999-05, Computer science.university of Waikato
    Copy and paste, or cut and paste, using a clipboard or paste buffer has long been the principle facility provided to users for transferring data between and within GUI applications. We argue that this mechanism can be clumsy in circumstances where several pieces of information must be moved systematically. In two situations - extraction of data fields from unstructured data found in a directed search process, and reorganisation of computer program source text - we present alternative, more natural, user interface facilities to make the task less onerous, and to provide improved visual feedback during the operation. For the data extraction task we introduce the Stretchable Selection Tool, a semi-transparent overlay augmenting the mouse pointer to automate paste operations and provide information to prompt the user. We describe a prototype implementation that functions in a collaborative software environment, allowing users to cooperate on a multiple copy/paste operation. For text reorganisation, we present an extension to Emacs, providing similar functionality, but without the collaborative features.
All items in Research Commons are provided only to permit fair dealing for the purposes of research or private study. They are protected by copyright with all rights reserved unless otherwise indicated.