erf | R Documentation |
Fits an extremal random forest (ERF).
erf(
X,
Y,
min.node.size = 5,
lambda = 0.001,
intermediate_estimator = c("grf", "neural_nets"),
intermediate_quantile = 0.8
)
X |
Numeric matrix of predictors, where each row corresponds to an observation and each column to a predictor. |
Y |
Numeric vector of responses. |
min.node.size |
Minimum number of observations in each tree
leaf used to fit the similarity weights
(see also |
lambda |
Penalty for the shape parameter used in the weighted likelihood.
Default is |
intermediate_estimator |
A character specifying the estimator used to fit the intermediate threshold. Options available are:
|
intermediate_quantile |
Intermediate quantile
level, used to predict the intermediate threshold.
For further information see \insertCitemerg2020;textualerf.
Default is |
An object with S3 class "erf
".
It is a named list with the following elements:
quantile_forest |
An object with S3 class " |
min.node.size |
Minimum number of observations in each tree leaf used
to fit the |
lambda |
Penalty for the shape parameter used in the weighted log-likelihood. |
intermediate_threshold |
An object with S3 class:
This is a fitted object used to predict the intermediate thresholds. |
intermediate_quantile |
Intermediate quantile level, used to predict the intermediate threshold. |
Q_X |
Vector with intermediate quantile predicted on the training data
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.