greedyMSE: Greedy optimization for MSE

View source: R/greedyOpt.R

greedyMSER Documentation

Greedy optimization for MSE

Description

Greedy optimization for minimizing the mean squared error. Works for classification and regression.

Usage

greedyMSE(X, Y, max_iter = 100L)

Arguments

X

A numeric matrix of features.

Y

A numeric matrix of target values.

max_iter

An integer scalar of the maximum number of iterations.

Value

A list with components:

model_weights

A numeric matrix of model_weights.

RMSE

A numeric scalar of the root mean squared error.

max_iter

An integer scalar of the maximum number of iterations.


caretEnsemble documentation built on Sept. 13, 2024, 1:11 a.m.