Asked by Jude
on 16 Jan 2013

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

*No products are associated with this question.*

Answer by Greg Heath
on 17 Jan 2013

Edited by 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

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

Learn moreOpportunities for recent engineering grads.

Apply Today
## 0 Comments