Description Usage Arguments Author(s) Examples
Once the Artificial Neural Network is optimized, the output can be predicted.
1 2 |
object |
Object of class "ANN", an already optimized ANN. |
input |
Input inserted into the ANN to predict outputs. |
... |
not used |
Francis Roy-Desrosiesrs
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | #use the command demo(ANN) to see how dataANN was created
data("dataANN")
par( mfrow=c(2,2) )
plot(sin(t), main="sin")
plot(noisy_sin, main="sin + 0.5 * rnorm")
plot(output, main="sin + 0.5 * rnorm in [0,1]")
plot(input, main="input should be in the range [0,1]")
demoResultANN
ANNObject<-demoResultANN[[3]]
ANNObject #or print(ANNObject)
plot(ANNObject)
p <-predict( ANNObject, input )
#printing 'p'
p
plot(p$predict,main="Predicted Output")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.