ENNreg_init function

Parameter initialization for the ENNreg model

Parameter initialization for the ENNreg model

ENNreg_init returns initial parameter values for the ENNreg model.

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)

Returns

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

Details

Prototypes are initialized by the k-means algorithm.

Examples

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

See Also

ENNreg

Author(s)

Thierry Denoeux.

  • Maintainer: Thierry Denoeux
  • License: GPL-3
  • Last published: 2024-05-09

Useful links