Hyperparameter tuning and performance assessment of statistical and machine-learning algorithms using spatial data

被引:264
作者
Schratz, Patrick [1 ]
Muenchow, Jannes [1 ]
Iturritxa, Eugenia [2 ]
Richter, Jakob [3 ]
Brenning, Alexander [1 ]
机构
[1] GISci Grp, Dept Geog, Grietgasse 6, D-07743 Jena, Germany
[2] NEIKER, Apdo 46, Vitoria 01080, Arab, Spain
[3] TU Dortmund Univ, Dept Stat, Dortmund, Germany
关键词
Spatial modeling; Machine-learning; Spatial autocorrelation; Hyperparameter tuning; Spatial cross-validation; MODEL-SELECTION; LANDSLIDE SUSCEPTIBILITY; SPECIES DISTRIBUTION; CROSS-VALIDATION; PREDICTION; AUTOCORRELATION; CLASSIFICATION; OPTIMIZATION; CLASSIFIERS; CLIMATE;
D O I
10.1016/j.ecolmodel.2019.06.002
中图分类号
Q14 [生态学(生物生态学)];
学科分类号
071012 ; 0713 ;
摘要
While the application of machine-learning algorithms has been highly simplified in the last years due to their well-documented integration in commonly used statistical programming languages (such as R or Python), there are several practical challenges in the field of ecological modeling related to unbiased performance estimation. One is the influence of spatial autocorrelation in both hyperparameter tuning and performance estimation. Grouped cross-validation strategies have been proposed in recent years in environmental as well as medical contexts to reduce bias in predictive performance. In this study we show the effects of spatial autocorrelation on hyperparameter tuning and performance estimation by comparing several widely used machine-learning algorithms such as boosted regression trees (BRT), k-nearest neighbor (KNN), random forest (RF) and support vector machine (SVM) with traditional parametric algorithms such as logistic regression (GLM) and semi-parametric ones like generalized additive models (GAM) in terms of predictive performance. Spatial and non-spatial cross-validation methods were used to evaluate model performances aiming to obtain bias-reduced performance estimates. A detailed analysis on the sensitivity of hyperparameter tuning when using different resampling methods (spatial/non-spatial) was performed. As a case study the spatial distribution of forest disease (Diplodia sapinea) in the Basque Country (Spain) was investigated using common environmental variables such as temperature, precipitation, soil and lithology as predictors. Random Forest (mean Brier score estimate of 0.166) outperformed all other methods with regard to predictive accuracy. Though the sensitivity to hyperparameter tuning differed between the ML algorithms, there were in most cases no substantial differences between spatial and non-spatial partitioning for hyperparameter tuning. However, spatial hyperparameter tuning maintains consistency with spatial estimation of classifier performance and should be favored over non-spatial hyperparameter optimization. High performance differences (up to 47%) between the bias-reduced (spatial crossvalidation) and overoptimistic (non-spatial cross-validation) cross-validation settings showed the high need to account for the influence of spatial autocorrelation. Overoptimistic performance estimates may lead to false actions in ecological decision making based on biased model predictions.
引用
收藏
页码:109 / 120
页数:12
相关论文
共 97 条
  • [1] Auditing black-box models for indirect influence
    Adler, Philip
    Falk, Casey
    Friedler, Sorelle A.
    Nix, Tionney
    Rybeck, Gabriel
    Scheidegger, Carlos
    Smith, Brandon
    Venkatasubramanian, Suresh
    [J]. KNOWLEDGE AND INFORMATION SYSTEMS, 2018, 54 (01) : 95 - 122
  • [2] Positive reactions to pairs of allergens associated with polysensitization: analysis of IVDK data with machine-learning techniques
    Adler, Werner
    Gefeller, Olaf
    Uter, Wolfgang
    [J]. CONTACT DERMATITIS, 2017, 76 (04) : 247 - U103
  • [3] Alexander LV, 2014, CLIMATE CHANGE 2013: THE PHYSICAL SCIENCE BASIS, P3
  • [4] [Anonymous], 2019, R LANGUAGE ENV STAT
  • [5] [Anonymous], P 4 ANN C GEN EV COM
  • [6] [Anonymous], 2017, EARTH OBSERVATION LA
  • [7] [Anonymous], 2016, NEURAL INFORM PROCES
  • [8] [Anonymous], THESIS
  • [9] [Anonymous], APPL PREDICTIVE MODE
  • [10] [Anonymous], ARXIV180403515