How can i predict value from an already created neural network with nntool?
1 次查看(过去 30 天)
显示 更早的评论
i have already created my neural network, so what is the next step to predict the output for some new inputs data? I want a clear example, as I am an amateur on Matlab
0 个评论
回答(1 个)
Ameer Hamza
2018-5-1
Suppose you have trained a network named net. A variable named net will be present in your workspace. Now if you want to predict for an input value, you can just use the following syntax
predictedValue = net(inputValue);
note than inputValue should be a column vector.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!