This pull request features the full LPD functionalities implemeneted in the scope of the bachelor thesis: "Development of a local data point density approach to assess the area of applicability of spatial prediction models".
Modified functions:
aoa: possibility to calculate the LPD of the prediction data aoa(newdata, model, LPD = TRUE, maxLPD = 1
trainDI: possibility to calculate the LPD of the training data aoa(model, LPD = TRUE)
DItoErrormetric: possibility to derive the relationship between LPD and error from the training data DItoErrormetric(model, aoa, variable = "LPD")
This pull request features the full LPD functionalities implemeneted in the scope of the bachelor thesis: "Development of a local data point density approach to assess the area of applicability of spatial prediction models".
Modified functions:
aoa
: possibility to calculate the LPD of the prediction dataaoa(newdata, model, LPD = TRUE, maxLPD = 1
trainDI
: possibility to calculate the LPD of the training dataaoa(model, LPD = TRUE)
DItoErrormetric
: possibility to derive the relationship between LPD and error from the training dataDItoErrormetric(model, aoa, variable = "LPD")