Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

Thread Subject:
Test Trained Data

Subject: Test Trained Data

From: Jess J

Date: 5 Mar, 2009 13:34:01

Message: 1 of 1

Hi all,
I ve trained 150sets of userid and password and my coding is as below.
I ve stored another 50sets of userid and password for testing my
training result, but how should i apply them?
FYI, the 50sets of userid is p1 and password is t1.
Furthermore, is the mse calculation below correct?

load useridnpw
net = newff(p,t,[40],{'logsig','tansig'},'trainrp');
net = init(net);
net = train(net,p,t);
y = sim(net,p);
e = y-t;
a = mse(e);

Best regards,

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us