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?

Do you have any special learning algorithm for binary inputs?

Asked by Jude

Jude

on 16 Jan 2013
Accepted Answer by Greg Heath

Greg Heath

I am using neural network tool box to prove a concept. I like to use binary inputs for my learning. Do we have any special learning algorithm available for binary inputs? (OR how should I modify this call (change any arguments for BI inputs?);

newff(xll',y_learn,[20],{'tansig','tansig'},'trainbfg','learngdm','msereg');

to fit a binary inputs)

I m using as follows:

NETff = newff(xll',y_learn,[20],{'tansig','tansig'},'trainbfg','learngdm','msereg');
NETff.trainParam.epochs = 100000;
NETff.trainParam.goal = 0.00001;
NETff= train(NETff,xll',y_learn);
Yff = sim(NETff,xll');

Where xll’ is a binary number, eg: 1010101010

Thanks.

Jude

0 Comments

Jude

Jude

Products

No products are associated with this question.

1 Answer

Answer by Greg Heath

Greg Heath

on 17 Jan 2013
Edited by Walter Roberson

Walter Roberson

on 18 Jan 2013
Accepted answer

I have given a graciously lengthy answer to your questions in your Newsgroup Thread

Subject: Neural Network with Binary Inputs

From: Jude

Date: 16 Jan, 2013 19:40:09

http://www.mathworks.com/matlabcentral/newsreader/view_thread/325832#895606

Hope this helps.

Thank you for graciously accepting my answer.

Greg

0 Comments

Greg Heath

Greg Heath

Contact us