kernel_pc_boosting: Function to perform Kernel Principal Component Boosting

Description Usage Arguments Value Examples

View source: R/kernel_pc_boosting.R

Description

Function to perform Kernel Principal Component Boosting

Usage

1
kernel_pc_boosting(X, Y, g, v, ite, thr)

Arguments

X

A matrix with the explanatory variables.

Y

a matrix with the variable to predict.

g

a positive number with the width parameter for the RBF Kernel.

v

a number between 0 and 1 that corresponds to the shrinkage parameter.

ite

an integer with the number of iterations.

thr

a threshold to discard Kernel principal components whose eigenvalue

Value

function an sum of squared errors.

Examples

1
2
3
4
data(D4_multi_1)
Y = scale(matrix(D4_multi_1[,91],100,1))
X = scale(D4_multi_1[,-91])
res = kernel_pc_boosting(X,Y, g= 40, v = 0.5, ite = 3, thr = 1e-10)

Luisiglm/KBoost documentation built on May 13, 2021, 7:27 p.m.