フィルターのクリア

Neural network tool application

1 回表示 (過去 30 日間)
Gaeul Lee
Gaeul Lee 2015 年 5 月 20 日
編集済み: Umakant 2015 年 5 月 20 日
When I use Neural network tool, I don't know how can I apply trained model. After I made a network file, how can I apply the model to new input data?

採用された回答

Umakant
Umakant 2015 年 5 月 20 日
編集済み: Umakant 2015 年 5 月 20 日
Hi Gaeul,
As I understand you would like to test the Neural Network for new inputs(testing data). You can use the 'net' function to test the network. Please take a look at the following code snippet:
% Create a Pattern Recognition Network
hiddenLayerSize = 10;
net = patternnet(hiddenLayerSize);
% Train the Network
[net,tr] = train(net,inputs,targets);
% Test the Network
outputs = net(inputs);
errors = gsubtract(targets,outputs);
performance = perform(net,targets,outputs)
The example given above assumes a Pattern Classification Neural Network in use.If your application involves fitting data with NN please refer to the following link:
Refer to the following link for more information on Neural Network design steps:
Thanks,
Umakant

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePattern Recognition and Classification についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by