Matlab Neural networks: why use sim?

After the network has been trained, there seem to be two different ways to utilize the network to make predictions:
(1) test_outputs = net(test_inputs)
(2) test_outputs = sim(net, test_inputs)
What is the difference, and which is better?

 Respuesta aceptada

Greg Heath
Greg Heath el 31 de Oct. de 2012

0 votos

The first is newer, so I guess they want you to use it.
I don't know why it was changed.Probably to take some of the load off of sim.
help sim
doc sim
Greg

Más respuestas (0)

Categorías

Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by