Stephan van der Westhuizen
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Research Subjects
Stephan van der Westhuizen has a total of 21 co-authors. Here are the top co-authors by number of shared publications:
- Gerard B. M. Heuvelink
Soil Geography and Landscape Group Wageningen University Wageningen The Netherlands
3 shared publications - David P. Hofmeyr
Department of Statistics and Actuarial Science, Stellenbosch University, Stellenbosch, South Africa
2 shared publications - Khaled Masoumifard2 shared publications
- Pieter Andreas Swanepoel
Department of Agronomy Stellenbosch University Stellenbosch South Africa
2 shared publications - Sugnet Gardner-Lubbe
MuViSU (Centre for Multi-Dimensional Data Visualisation), Department of Statistics and Actuarial Sciences, Stellenbosch University, Stellenbosch, South Africa
2 shared publications - Amandrie Louw
Stellenbosch University
1 shared publication
Latest Publications
- Open Access
- 16 July 2026
- Published by Elsevier in SSRN Electronic Journal
Machine learning for modelling compositional soil properties in digital soil mapping
Machine learning models are widely used in digital soil mapping (DSM), including for predicting compositional soil properties such as soil texture. However, compositional responses reside in the simplex and convey relative information, whereas most machine learning models operate in Euclidean space. Although log-ratio transformations are commonly applied to accommodate compositional data, practical guidance on incorporating the principles of compositional data analysis throughout the machine learning workflow, including model calibration and performance assessment, remains limited. This study evaluates transformation-based and transformation-free machine learning approaches for modelling compositional responses in DSM using soil texture as a case study. Several random forest models were investigated, including log-ratio transformation-based approaches, conventional random forests fitted directly to the simplex, and a simplex-native Dirichlet random forest (DirRF). The results showed that log-ratio transformations yielded only modest improvements over conventional random forests while introducing the need for back-transformation, which may result in biased predictions. In contrast, DirRF achieved the best overall predictive performance while operating directly on the simplex and avoiding the need for log-ratio transformations. These findings highlight the importance of respecting the geometry of compositional data and provide practical guidance for selecting appropriate machine learning strategies for modelling compositional responses.
- 16 July 2026
- Published by Elsevier in SSRN Electronic Journal
Open AccessMachine learning for modelling compositional soil properties in digital soil mapping
Machine learning models are widely used in digital soil mapping (DSM), including for predicting compositional soil properties such as soil texture. However, compositional responses reside in the simplex and convey relative information, whereas most machine learning models operate in Euclidean space. Although log-ratio transformations are commonly applied to accommodate compositional data, practical guidance on incorporating the principles of compositional data analysis throughout the machine learning workflow, including model calibration and performance assessment, remains limited. This study evaluates transformation-based and transformation-free machine learning approaches for modelling compositional responses in DSM using soil texture as a case study. Several random forest models were investigated, including log-ratio transformation-based approaches, conventional random forests fitted directly to the simplex, and a simplex-native Dirichlet random forest (DirRF). The results showed that log-ratio transformations yielded only modest improvements over conventional random forests while introducing the need for back-transformation, which may result in biased predictions. In contrast, DirRF achieved the best overall predictive performance while operating directly on the simplex and avoiding the need for log-ratio transformations. These findings highlight the importance of respecting the geometry of compositional data and provide practical guidance for selecting appropriate machine learning strategies for modelling compositional responses.
- 23 March 2026
- Published by The R Foundation
DirichletRF: "Dirichlet Random Forest"
Implementation of the Dirichlet Random Forest algorithm for compositional response data. Supports maximum likelihood estimation ('MLE') and method-of-moments ('MOM') parameter estimation for the Dirichlet distribution. Provides two prediction strategies; averaging-based predictions (average of responses within terminal nodes) and parameter-based predictions (expected value derived from the estimated Dirichlet parameters within terminal nodes). For more details see Masoumifard, van der Westhuizen, and Gardner-Lubbe (2026, ISBN:9781032903910).
- 23 March 2026
- Published by The R Foundation
DirichletRF: "Dirichlet Random Forest"
Implementation of the Dirichlet Random Forest algorithm for compositional response data. Supports maximum likelihood estimation ('MLE') and method-of-moments ('MOM') parameter estimation for the Dirichlet distribution. Provides two prediction strategies; averaging-based predictions (average of responses within terminal nodes) and parameter-based predictions (expected value derived from the estimated Dirichlet parameters within terminal nodes). For more details see Masoumifard, van der Westhuizen, and Gardner-Lubbe (2026, ISBN:9781032903910).
- 1 January 2026
- Published by Taylor & Francis in South African Journal of Plant and Soil
- Vol. 43 (1) , 41-52
Functional diversification and performance of wheat–canola rotations in the Western Cape
- 1 January 2026
- Published by Taylor & Francis in South African Journal of Plant and Soil
- Vol. 43 (1) , 41-52
Functional diversification and performance of wheat–canola rotations in the Western Cape
- Open Access
- 13 December 2024
- Published by Wiley in Agronomy Journal
- Vol. 117 (1)
Can biostimulants and tillage rotations improve dryland crop productivity and soil microbes?
Soil microbes are essential for soil nutrient cycling. However, frequent tillage and the use of synthetic agrochemicals can reduce soil microbial diversity and enzyme activity. In this study, the effects of four tillage treatments (mouldboard plough, shallow tine‐tillage, no‐tillage, and tillage rotation) and two rates of synthetic agrochemicals (standard and reduced, with biostimulants) on soil microbial diversity and enzyme activity were investigated between 2018 and 2020 in a Mediterranean climate zone in South Africa. It was hypothesized that a reduction in tillage frequency and quantity of synthetic agrochemical application would lead to greater microbial diversity and enzyme activity. Soil samples were collected from the 0‐ to 150‐mm layer of a field trial under a dryland crop rotation system. Soil microbial species richness and abundance were assessed using the Shannon–Wiener diversity and evenness indices. The activities of four microbial enzymes—β‐glucosidase, acid phosphatase, alkaline phosphatase, and urease—were used to evaluate ecosystem functioning. The combined effects of tillage rotation with a shallow tine implement and the application of biostimulants failed to significantly improve soil microbial diversity, enzyme activity, and crop productivity relative to other treatments. However, the combination did not reduce the wheat (Triticum aestivum) grain yield and quality, and soil biological parameters. Furthermore, the less intensive tillage treatments, ST, NT, and ST‐NT‐NT‐NT, resulted in higher enzyme activity than the mouldboard treatment. Therefore, we suggest that combining non‐intensive tillage with reduced synthetic agrochemical use can be a safer, more environmentally friendly alternative to intensive tillage and high agrochemical application in dryland cropping systems.
- 13 December 2024
- Published by Wiley in Agronomy Journal
- Vol. 117 (1)
Open AccessCan biostimulants and tillage rotations improve dryland crop productivity and soil microbes?
Soil microbes are essential for soil nutrient cycling. However, frequent tillage and the use of synthetic agrochemicals can reduce soil microbial diversity and enzyme activity. In this study, the effects of four tillage treatments (mouldboard plough, shallow tine‐tillage, no‐tillage, and tillage rotation) and two rates of synthetic agrochemicals (standard and reduced, with biostimulants) on soil microbial diversity and enzyme activity were investigated between 2018 and 2020 in a Mediterranean climate zone in South Africa. It was hypothesized that a reduction in tillage frequency and quantity of synthetic agrochemical application would lead to greater microbial diversity and enzyme activity. Soil samples were collected from the 0‐ to 150‐mm layer of a field trial under a dryland crop rotation system. Soil microbial species richness and abundance were assessed using the Shannon–Wiener diversity and evenness indices. The activities of four microbial enzymes—β‐glucosidase, acid phosphatase, alkaline phosphatase, and urease—were used to evaluate ecosystem functioning. The combined effects of tillage rotation with a shallow tine implement and the application of biostimulants failed to significantly improve soil microbial diversity, enzyme activity, and crop productivity relative to other treatments. However, the combination did not reduce the wheat (Triticum aestivum) grain yield and quality, and soil biological parameters. Furthermore, the less intensive tillage treatments, ST, NT, and ST‐NT‐NT‐NT, resulted in higher enzyme activity than the mouldboard treatment. Therefore, we suggest that combining non‐intensive tillage with reduced synthetic agrochemical use can be a safer, more environmentally friendly alternative to intensive tillage and high agrochemical application in dryland cropping systems.
- Open Access
- 26 November 2024
- Published by Elsevier in Ecological Informatics
- Vol. 84, 102892
Biplots for understanding machine learning predictions in digital soil mapping
- 26 November 2024
- Published by Elsevier in Ecological Informatics
- Vol. 84, 102892
Open AccessBiplots for understanding machine learning predictions in digital soil mapping
- Open Access
- 1 September 2024
- Published by Wiley in European Journal of Soil Science
- Vol. 75 (5)
Mapping soil thickness by accounting for right‐censored data with survival probabilities and machine learning
In digital soil mapping, modelling soil thickness poses a challenge due to the prevalent issue of right‐censored data. This means that the true soil thickness exceeds the depth of sampling, and neglecting to account for the censored nature of the data can lead to poor model performance and underestimation of the true soil thickness. Survival analysis is a well‐established domain of statistical modelling that can deal with censored data. The random survival forest is a notable example of a survival‐related machine learning approach used to address right‐censored soil property data in digital soil mapping. Previous studies that employed this model either focused on mapping the probability of soil thickness exceeding certain depths, and thereby not mapping soil thickness itself, or dismissed it due to perceived poor performance. In this study, we propose an alternative survival model to map soil thickness that is based on the inverse probability of censoring weighting. In this approach, calibration data are weighted by the inverse of the probability that soil thickness exceeds a certain depth, that is, a survival probability. These weights can then be used with most machine learning models. We used the weights with a regular random forest, and compared it with a random survival forest, and other strategies for handling right‐censored data, through a comprehensive synthetic simulation study and two real‐world case studies. The results suggest that the weighted random forest model produces competitive predictions, establishing it as a viable option for mapping right‐censored soil property data.
- 1 September 2024
- Published by Wiley in European Journal of Soil Science
- Vol. 75 (5)
Open AccessMapping soil thickness by accounting for right‐censored data with survival probabilities and machine learning
In digital soil mapping, modelling soil thickness poses a challenge due to the prevalent issue of right‐censored data. This means that the true soil thickness exceeds the depth of sampling, and neglecting to account for the censored nature of the data can lead to poor model performance and underestimation of the true soil thickness. Survival analysis is a well‐established domain of statistical modelling that can deal with censored data. The random survival forest is a notable example of a survival‐related machine learning approach used to address right‐censored soil property data in digital soil mapping. Previous studies that employed this model either focused on mapping the probability of soil thickness exceeding certain depths, and thereby not mapping soil thickness itself, or dismissed it due to perceived poor performance. In this study, we propose an alternative survival model to map soil thickness that is based on the inverse probability of censoring weighting. In this approach, calibration data are weighted by the inverse of the probability that soil thickness exceeds a certain depth, that is, a survival probability. These weights can then be used with most machine learning models. We used the weights with a regular random forest, and compared it with a random survival forest, and other strategies for handling right‐censored data, through a comprehensive synthetic simulation study and two real‐world case studies. The results suggest that the weighted random forest model produces competitive predictions, establishing it as a viable option for mapping right‐censored soil property data.
- 11 June 2024
- Published by Wageningen University and Research
Enhancement of the use of machine learning in digital soil mapping
- 11 June 2024
- Published by Wageningen University and Research
Enhancement of the use of machine learning in digital soil mapping
- Top Cited PapersOpen Access
Multivariate random forest for digital soil mapping
- Open Access
- 1 March 2022
- Published by Elsevier in Spatial Statistics
- Vol. 47
Measurement error-filtered machine learning in digital soil mapping
- 1 March 2022
- Published by Elsevier in Spatial Statistics
- Vol. 47
Open AccessMeasurement error-filtered machine learning in digital soil mapping