![]() ![]() The answers that Fire_ name returns should be very close to the answers you get from NeuroShell 2, but they may differ slightly after about the 4th or 5th significant digit. If the net has 14 inputs, then the array you pass to Fire_ name must have 14 cells. ![]() However, if there were unused or actual output columns in between the input columns when you trained the net, you will ignore them. Also, you must present them in the same order as they appeared in the columns when training. When Fire_ name returns to you, it will have placed the outputs into the output array.įire_ name automatically scales the inputs and outputs for you, so you will pass them the same way you would present them to NeuroShell 2. ![]() When you call the Fire_ name procedure, you pass both addresses, but only the input array needs to contain any data, and it must contain the inputs. ![]() The source code generated is in the form of a subroutine called Fire_ name which, like its FireNet DLL counterpart mentioned previously, takes two arguments: the address (pointer) of a floating point array of inputs, and the address of a floating point array of outputs. The Source Code Generator will generate code in C, Microsoft Visual Basic, or a very generic language we call "formulas for a calculator". (This may be done in a word processor such as Microsoft Word.) Some spreadsheets may stop calculating when they come to a space without giving any error or warning. The main thing you may have to watch out for, however, is to remove spaces from the formulas. You will have to do some editing of the code. It does not even contain any looping, and thus can be transferred to almost any language easily (although the lack of looping makes it inappropriate for large networks).Īlthough it is better to call the Predict function from Excel, if you want to use the formula generated by the Source Code Generator in another spreadsheet program, it is especially convenient because the source code does not contain loops. The source code it generates is very generic, entirely self contained, and does not contain any library calls or sophisticated constructs. If, however, you want to be able to call (fire) your network from a DOS program, a workstation, a mainframe, or some special purpose processor, the Source Code Generator is appropriate for you. Refer to DLL Server - Detail for more information on calling the DLL. If you want to execute your networks from programs written to run on Microsoft Windows, then you should not use the Source Code Generator it is much easier and faster to call the FireNet function in our Dynamic Link Library (DLL). It can be used for large networks, but you will probably have to do a little custom work to get the code running, because many compilers will fail to compile the large amount of code it could generate. The Source Code Generator was designed to provide computer code to execute small or medium sized networks you build with NeuroShell 2. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |