Learn R Programming

RSNNS (version 0.3-1)

dlvq: Create and train a dlvq network.

Description

Create and train a dlvq network.

Usage

dlvq(x, ...)
## S3 method for class 'default':
dlvq(x, y, initFunc="DLVQ_Weights", initFuncParams=c(1, -1),
    learnFunc="Dynamic_LVQ", learnFuncParams=c(0.03, 0.03, 10),
    updateFunc="Dynamic_LVQ", updateFuncParams=c(0),
    shufflePatterns=TRUE, ...)

Arguments

x
a matrix with training inputs for the network
y
the corresponding target values
initFunc
the initialization function to use
initFuncParams
the parameters for the initialization function
learnFunc
the learning function to use
learnFuncParams
the parameters for the learning function
updateFunc
the update function to use
updateFuncParams
the parameters for the update function
shufflePatterns
should the patterns be shuffled?
...
additional function parameters (currently not used)

Value

  • dlvq.default: an rsnns object. The fitted.values member contains the activation patterns for all inputs.

Examples

Run this code
demo(dlvq_ziff)
demo(dlvq_ziffSnnsR)

Run the code above in your browser using DataLab