Skip to content

Instantly share code, notes, and snippets.

View thengl's full-sized avatar
😎

Tomislav Hengl thengl

😎
View GitHub Profile
@thengl
thengl / help-this-poor-RF-model.R
Last active July 5, 2021 10:30 — forked from dylanbeaudette/help-this-poor-RF-model.R
Ensemble Machine Learning showing how to combine models with applicable structures and non-linear decision trees, without under-estimating errors / producing artifacts
## orignal script: https://gist.github.com/dylanbeaudette/b386f0008133167f518960a113283a0d#file-help-this-poor-rf-model-r
## discussion: https://twitter.com/DylanBeaudette/status/1410666900581851138
library(randomForest)
library(ranger)
library(rpart)
library(rms)
library(mlr)
library(forestError)
rmse <- function(a, b) {