how do i generate samples of two input xor gate for neural networks
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Thirunavukkarasu
am 24 Aug. 2014
Kommentiert: Andy L
am 28 Aug. 2014
how do i generate 32 samples for two input xor gate
0 Kommentare
Akzeptierte Antwort
Greg Heath
am 25 Aug. 2014
You mean 32 examples (a single sample is a set of multiple examples).
There are only 4 possible inputs. They are obvious.
Hope this helps.
Thank you for formally accepting my answer
Greg
4 Kommentare
Andy L
am 28 Aug. 2014
Then it is not clear what you are asking - the question you posed is asking how to generate samples you now say you have done!
Weitere Antworten (1)
Andy L
am 28 Aug. 2014
To generate a "random" binary sequence check out this similar thread! http://www.mathworks.co.uk/matlabcentral/answers/114656-random-binary-sequence-generator. You need to do it twice (one per input) and specify the number number of samples in each sequence (32). I hope this is helpful.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Function Approximation and Clustering finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!