createTrainMetaLayer | R Documentation |
Creates and store a TrainMetaLayer on the Training object passed as argument. The meta-layer encapsulates the meta-learner and the fold predictions (internally created) of the layer-specific base models.
createTrainMetaLayer(
training,
meta_layer_id,
lrner_package = NULL,
lrn_fct,
param_train_list = list(),
param_pred_list = list(),
na_action = "na.impute",
x_lrn = "x",
y_lrn = "y",
object = "object",
data = "data",
extract_pred_fct = NULL
)
training |
|
meta_layer_id |
|
lrner_package |
|
lrn_fct |
|
param_train_list |
|
param_pred_list |
|
na_action |
|
x_lrn |
|
y_lrn |
|
object |
|
data |
|
extract_pred_fct |
|
Internal meta-learners are available in the package.
The cobra meta-learner implements the COBRA (COmBined Regression Alternative),
an aggregation method for combining predictions from multiple individual learners (Biau et al. 2014).
This method aims to tune key parameters for achieving optimal predictions
by averaging the target values of similar candidates in the training dataset's predictions.
Only the training points that are sufficiently similar to the test point
(based on the proximity threshold epsilon
) are used for prediction.
If no suitable training points are found, the function returns NA
.
The weightedMeanLearner evaluates the prediction performance of modality-specific learners and uses these estimates to weight the base models, aggregating their predictions accordingly.
The bestLayerLearner evaluates the prediction performance of modality-specific learners and returns predictions made by the best learner as the meta-prediction.
Beyond the internal meta-learners, any other learning algorithm can be used.
The updated Training object (with the new layer) is returned.
Fouodo C.J.K, Bleskina M. and Szymczak S. (2024). fuseMLR: An R package for integrative prediction modeling of multi-omics data, paper submitted.
Biau, G., Fischer, A., Guedj, B., & Malley, J. D. (2014). COBRA: A combined regression strategy. The Journal of Multivariate Analysis 46:18-28
createTrainLayer, varSelection, and fusemlr.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.