Skip to content
Prev 333815 / 398506 Next

help ANN

What you have done is create an ANN object, print it's summary information and then discard it.

if you want to keep it and use it for something, assign it to a variable; for example:

my.ANN <- ANNGA.default(x = input, y = output, design = c(1, 3, 1), population = 100,
     mutation = 0.2, crossover = 0.6, maxW = 10, minW = -10, maxGen = 1000,
     error = 0.001)

You can then inspect, print, or predict with the object my.ANN. For example, you can say simply 
predict(my.ANN) 

to see the output values predicted for the inputs you supplied.

This goes for a lot of R fitting functions; they return objects which are printed and discarded unless you assign them to something.


S Ellison



*******************************************************************
This email and any attachments are confidential. Any use...{{dropped:8}}