![]() |
|||||||
|
|||||||
![]() |
![]() |
|
Once
you have generated the DLL, the process of communicating
with the DLL is made extremely simple through the use of
the freely distributable NeuroSolutions Object Library
DLL. This ActiveX DLL provides a simple protocol for
sending data to and receiving data from the neural
network DLL. By simply adding the NeuroSolutions Object
Library DLL to the References list of your development
environment, all of its methods and properties will
immediately be available to your program. The following Visual Basic code demonstrates just how easy it is to use the neural network DLL generated by the Custom Solution Wizard. This example creates a recall network, sends it sample data, and gets the network response (output), all in just a few lines of code! 'Create the input data array. Dim inputData(0 To 1, 0 To 3) As
Variant 'Create a new NeuroSolutions
NSRecallNetwork object. Dim nn As New NSRecallNetwork 'Set path to the generated recall
network DLL. 'Set path to weights file from
previous training sessions. 'Send input data to the network
DLL. 'Get the network response to this
data. 'Display the output in a message
box. |
|
Product questions? Contact info@nd.com Website questions? Contact webmaster@nd.com |