ENNreg_init {evreg}R Documentation

Parameter initialization for the ENNreg model

Description

ENNreg_init returns initial parameter values for the ENNreg model.

Usage

ENNreg_init(X, y, K, nstart = 100, c = 1)

Arguments

X

Input matrix of size n x p, where n is the number of objects and p the number of attributes.

y

Vector of length n containing observations of the response variable.

K

Number of prototypes.

nstart

Number of random starts of the k-means algorithm (default: 100)

c

Multiplicative coefficient applied to scale parameter gamma (defaut: 1)

Details

Prototypes are initialized by the k-means algorithm.

Value

An object of class "ENNreg", which can be passed to function ENNreg.

Author(s)

Thierry Denoeux.

See Also

ENNreg

Examples

## Boston dataset
library(MASS)
attach(Boston)
X <- as.matrix(scale(Boston[,1:13]))
y <- Boston[,14]
psi <- ENNreg_init(X,y,K=30)

[Package evreg version 1.1.1 Index]