# Does MATLAB's train function (Neural Network Toolbox) output net weights at the best performance? [closed]

I want to know if when I train a Neural Network model (in Matlab) it returns to me the net weights in the best performance?

[net tr] = train(net,X,t);


Obs.: Best performance would be the epoch that got minimum error of the validation dataset.

-
 This question appears to be only about how to get MATLAB to do something, and not about the related statistical / machine-learning issues. If that's false, edit this Q to clarify those issues, if not, it should be migrated to Stack Overflow. Please do not cross-post (SE strongly discourages this), if you want your Q migrated faster, flag it for moderator attention. – gung Sep 8 '12 at 17:32

## closed as not a real question by gung, whuber♦Sep 8 '12 at 18:36

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.