VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Neural Network v1.0.4

BrewGuru99  (3 Submissions)   Miscellaneous   Visual Basic 3.0   Advanced   Wed 3rd February 2021

Neural networks (NN) emulate the thinking process of the human brain, including the ability to "learn". Many applications exsist for NN's, most popular of which is video games. This is a complete NN "Engine", all nicely packaged into one class module.




v1.0.2: Some optimization and NN saving.


v1.0.3: Actually made the NN export work (:Þ) and added NNImport. Toyed around a bit with Memory Banks, but have put them off in the background for now.


v1.0.4: Added Noise and Momentum factors. Noise is useful for a small sample of scalar data, while momentum prevents drastic changes when training as well as promoating continued change in the right direction.


Also see my chess program that uses this class. (Not yet updated with v1.0.4... on its way...)


Just also want to say that this work is heavly based off of the work by Ulli. His code used to be available here on VBC, but I don't know what happened to it.

Assumes
NN's are inheritly slow, and the more you want it capable of doing, the larger and slower it will be. Although a NN may be capable of being all you need as a Game AI, coupling it with another, faster algorythm may be benificial (like the A* pathing algorythm or alpha-beta method.)

Side Effects
In theory, with a large enough and powerful enough computer, one may be able to create artificial life... ie: The Terminator/Matrix.
Enjoy.

Rate Neural Network v1.0.4 (9(9 Vote))

Download Neural Network v1.0.4

Neural Network v1.0.4 Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters