Click here to Skip to main content
15,169,069 members
Please Sign up or sign in to vote.
3.20/5 (5 votes)
Hello,

I'm developing a communication protocol to secure data transfer over a tcp network. I want to use neural networks to exchange the keys and found a protocol specification in wikipedia: http://en.wikipedia.org/wiki/Neural_cryptography#Tree_parity_machine[^] and an implementation in Delphi: Neural Cryptography[^]
and recently a new project in F#: http://neuralcryptography.codeplex.com/[^]
I've tried to implement it in C# using aforge, but I think it does not have some necessary features to implement a neural cryptography protocol.

My problem is that I don't know how to design a neural network like the one in the articles!

I have used aforge but i don't know how to train the network beacuse I didn't found any of the learning algurithm below :

* Hebbian learning rule:
w_i^+=w_i+\sigma_ix_i\Theta(\sigma_i\tau)\Theta(\tau^A\tau^B)
* Anti-Hebbian learning rule:
w_i^+=w_i-\sigma_ix_i\Theta(\sigma_i\tau)\Theta(\tau^A\tau^B)
* Random walk:
w_i^+=w_i+x_i\Theta(\sigma_i\tau)\Theta(\tau^A\tau^B)

and how to define the Signum function (it seems that it does not support custom function) and how to control the out put of the hidden neurons!


I have tested all of the features of the aforge

Does aforge support such features?
Do you know any alternative library ?
Thanks in advance!
Posted
Updated 5-Apr-11 4:25am
v4
Comments
   
What kind of help do you need? Don't expect anyone doing your work though.

"Can you help" is not a programming question. Many could answer "Yes I can", without any help. What's the question on programming?

--SA
Keith Barrow 5-Apr-11 9:26am
   
When you are clarifying a question , update the question rather than adding a comment. I have done this for you and will delete your comments.
Sandeep Mewara 5-Apr-11 4:38am
   
"Can you help me to implement it in C#" -> You stuck somewhere? Tried to implement it?
ArtificerGM 9-Jun-11 11:49am
   
Sigma Function is nothing more than Summation. A1 + A2 + A3 + A4 = Sigma
Also, I hate to sound coarse because that is not my meaning, but if you're having to ask questions like this then perhaps the question you need to ask is about your understanding of Neural Networks.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900