search for: traininput

Displaying 1 result from an estimated 1 matches for "traininput".

2009 Jul 23
1
Activation Functions in Package Neural
...far, I have created a basic network, but I have been unable to change the default activation function. If someone has a suggestion, please advise. The goal of the network is to properly classify a number as positive or negative. Simple 1-layer network with a single neuron in each layer. Rcode: trainInput <- matrix(rnorm(10)) trainAnswers <- ifelse(trainInput <0, -1, 1) trainNeurons <- 1 trainingData <- mlptrain(inp=trainInput, neurons=trainNeurons, out=trainAnswers, it=1000) ## To call this network, we can see how it works on a set of known positive and negative values testInput...