Learn R Programming

RSNNS (version 0.3-1)

assoz: Create and train an (auto-)associative memory.

Description

Create and train an (auto-)associative memory.

Usage

assoz(x, ...)
## S3 method for class 'default':
assoz(x, dimX, dimY, maxit=100, initFunc="RM_Random_Weights",
    initFuncParams=c(1, -1), learnFunc="RM_delta",
    learnFuncParams=c(0.01, 100, 0, 0, 0),
    updateFunc="Auto_Synchronous", updateFuncParams=c(50),
    shufflePatterns=TRUE, ...)

Arguments

x
a matrix with training inputs for the network
dimX
x dimension of inputs and outputs
dimY
y dimension of inputs and outputs
maxit
maximum of iterations to learn
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

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

Details

assoz: Similar to the art1 and art2 network types. The implementation assumes two-dimensional input and output (cf. art1).

See Also

art1, art2

Examples

Run this code
demo(assoz_letters)
demo(assoz_lettersSnnsR)

Run the code above in your browser using DataLab