Skip to content

Ensembles

Bagging

SDeMo.Bagging Type
julia
Bagging

source

SDeMo.outofbag Function
julia
outofbag(ensemble::Bagging; kwargs...)

This method returns the confusion matrix associated to the out of bag error, wherein the succes in predicting instance i is calculated on the basis of all models that have not been trained on i. The consensus of the different models is a simple majority rule.

The additional keywords arguments are passed to predict.

source

SDeMo.bootstrap Function
julia
bootstrap(y, X; n = 50)

source

julia
bootstrap(sdm::SDM; kwargs...)

source

SDeMo.iqr Function
julia
iqr(x, m=0.25, M=0.75)

Returns the inter-quantile range, by default between 25% and 75% of observations.

source

Heterogeneous ensembles

SDeMo.Ensemble Type
julia
Ensemble

An heterogeneous ensemble model is defined as a vector of SDMs.

source