kernmat: ELMSurv kernmat

Description Usage Arguments Value Author(s) References See Also

Description

A Kermatrix Compuation

Usage

1
kernmat(xtrain, kernel_type, kernel_para, xtest)

Arguments

xtrain

The covariates(predictor variables) of training data.

kernel_type

Type of kernel matrix. kerneltype=1,a RBF kernel;kerneltype=2 , a linear kernel;kerneltype=3 ,a polynomial kernel;kerneltype=4, a sigmoid kernel.

kernel_para

Parameters for different types of kernels. A single value for kerneltype=1 or 2. A vector for kerneltype=3 or 4.

xtest

The covariates(predictor variables) of test data.

Value

A kernel matrix

Author(s)

Hong Wang

References

See Also

elm_surv


whcsu/ELMSurv documentation built on May 6, 2019, 5:04 p.m.