Learn R Programming

⚠️There's a newer version (0.4-18) of this package.Take me there.

RSNNS (version 0.4-4)

Neural Networks in R using the Stuttgart Neural Network Simulator (SNNS)

Description

The Stuttgart Neural Network Simulator (SNNS) is a library containing many standard implementations of neural networks. This package wraps the SNNS functionality to make it available from within R. Using the RSNNS low-level interface, all of the algorithmic functionality and flexibility of SNNS can be accessed. Furthermore, the package contains a convenient high-level interface, so that the most common neural network topologies and learning algorithms integrate seamlessly into R.

Copy Link

Version

Install

install.packages('RSNNS')

Monthly Downloads

4,371

Version

0.4-4

License

LGPL (>= 2) | file LICENSE

Maintainer

Christoph Bergmeir

Last Published

December 16th, 2013

Functions in RSNNS (0.4-4)

SnnsRObject$getWeightMatrix

Get the weight matrix between two sets of units
art1

Create and train an art1 network
RSNNS-package

Getting started with the RSNNS package
rsnnsObjectFactory

Object factory for generating rsnns objects
SnnsRObject$getAllOutputUnits

Get all output units of the net.
SnnsRObject$createNet

Create a layered network
print.rsnns

Generic print function for rsnns objects
SnnsRObject$getAllUnits

Get all units present in the net.
analyzeClassification

Converts continuous outputs to class labels
SnnsRObject$getUnitsByName

Find all units whose name begins with a given prefix.
decodeClassLabels

Decode class labels to a binary matrix
splitForTrainingAndTest

Function to split data into training and test set
denormalizeData

Revert data normalization
toNumericClassLabels

Convert a vector (of class labels) to a numeric vector
SnnsRObjectMethodCaller

Method caller for SnnsR objects
matrixToActMapList

Convert matrix of activations to activation map list
SnnsRObject$getSiteDefinitions

Get the sites definitions of the network.
confusionMatrix

Computes a confusion matrix
getSnnsRFunctionTable

Get SnnsR function table
SnnsRObject$getInfoHeader

Get an info header of the network.
readPatFile

Load data from a pat file
snnsData

Example data of the package
SnnsRObject$resetRSNNS

Reset the SnnsR object.
jordan

Create and train a Jordan network
weightMatrix

Function to extract the weight matrix of an rsnns object
assoz

Create and train an (auto-)associative memory
art2

Create and train an art2 network
SnnsRObject$extractNetInfo

Get characteristics of the network.
elman

Create and train an Elman network
plotRegressionError

Plot a regression error plot
SnnsRObject$somPredictCurrPatSetWinnersSpanTree

Get the spanning tree of the SOM
SnnsRObject$genericPredictCurrPatSet

Predict values with a trained net
plotIterativeError

Plot iterative errors of an rsnns object
dlvq

Create and train a dlvq network
getNormParameters

Get normalization parameters of the input data
vectorToActMap

Convert a vector to an activation map
extractNetInfo

Extract information from a network
SnnsR-class

The main class of the package
mlp

Create and train a multi-layer perceptron (MLP)
rbf

Create and train a radial basis function (RBF) network
SnnsRObject$getCompleteWeightMatrix

Get the complete weight matrix.
SnnsRObject$getAllUnitsTType

Get all units in the net of a certain ttype.
inputColumns

Get the columns that are inputs
rbfDDA

Create and train an RBF network with the DDA algorithm
SnnsRObject$getAllInputUnits

Get all input units of the net
SnnsRObject$setTTypeUnitsActFunc

Set the activation function for all units of a certain ttype.
SnnsRObjectFactory

SnnsR object factory
savePatFile

Save data to a pat file
summary.rsnns

Generic summary function for rsnns objects
outputColumns

Get the columns that are targets
SnnsRObject$somPredictCurrPatSetWinners

Get most of the relevant results from a som
SnnsRObject$whereAreResults

Get a list of output units of a net
artmap

Create and train an artmap network
SnnsRObject$somPredictComponentMaps

Calculate the som component maps
plotROC

Plot a ROC curve
SnnsRObject$setUnitDefaults

Set the unit defaults
setSnnsRSeedValue

Set the SnnsR seed value
plotActMap

Plot activation map
resolveSnnsRDefine

Resolve a define of the SNNS kernel
SnnsRObject$predictCurrPatSet

Predict values with a trained net
SnnsRObject$getUnitDefinitions

Get the unit definitions of the network.
encodeClassLabels

Encode a matrix of (decoded) class labels
exportToSnnsNetFile

Export the net to a file in the original SNNS file format
getSnnsRDefine

Get a define of the SNNS kernel
SnnsRObject$extractPatterns

Extract the current pattern set to a matrix
SnnsRObject$getTypeDefinitions

Get the FType definitions of the network.
normTrainingAndTestSet

Function to normalize training and test set
som

Create and train a self-organizing map (SOM)
train

Internal generic train function for rsnns objects
SnnsRObject$getAllHiddenUnits

Get all hidden units of the net
SnnsRObject$initializeNet

Initialize the network
SnnsRObject$createPatSet

Create a pattern set
SnnsRObject$train

Train a network and test it in every training iteration
normalizeData

Data normalization
readResFile

Rudimentary parser for res files.
predict.rsnns

Generic predict function for rsnns object