how to generate simple feed-forward code with accuracy?
조회 수: 5 (최근 30일)
이전 댓글 표시
Hai. I am new to Matlab and Artificial Intelligent field. Therefore, I need your kind help to generate a simple feed forward for classification. I tried to use simple feed forward coding in Matlab R2012b but I do not know how to check the accuracy. I ve tried different code but it always lead to many errors. I do not know how to fix. I have attached my extracted features data. I need to classify 4 classes.
Previously, I have used this feed-fwd coding but i dont know how to check the accuracy. Plus, what is mean by the performance value?
clear all;
clc;
x = xlsread('mmg_selinp.xlsx');
t = xlsread('mmg_masout.xlsx');
x = x';
t = t';
net = feedforwardnet([15 10],'traingdx')
net = train(net,x,t);
view(net)
y = net(x);
perf = perform(net,y,t)
Sorry, i am really new to Matlab and AI. Your help is highly appreciated. I am not sure whether there s problem with my data. Thank you in advance.
댓글 수: 0
채택된 답변
Greg Heath
2015년 4월 4일
Use patternnet for classification.
help patternnet
doc patternnet
For c classes, the target columns are obtained from eye(c).
Search the NEWSGROUP and ANSWERS using
greg patternnet
Thank you for formally accepting my answer
Greg
PS Include "neural" in you tags
추가 답변 (0개)
참고 항목
카테고리
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!