06-28-2012 07:56 AM
Number of words, in your case 100. If you were searching thousands of words thousands of times, then you would probably find the variant attribute method an order of magnitude faster.
Since you're just starting out, it is probably best to learn the basic looping, array and cluster functions first.
Good luck and enjoy learning LabVIEW!
06-28-2012 08:01 AM
PhilipBrooks,
is there a way to link the variant in neural network and training?
06-28-2012 08:46 AM
what do you mean?
06-28-2012 08:48 AM
Ray.R,
what do i mean with what?
06-28-2012 08:52 AM
is there a way to link the variant in neural network and training?
In what way do you want to train your neural net?
Or did I misunderstand what you meant by training?
06-28-2012 08:55 AM
Ray.R
training as in like the one in the example where you make the system learn the translation.
I know that variant can save data, so I was wondering if there was a way to save what the system has learned.
06-28-2012 09:24 AM
Sorry for crazy questions.. but here goes:
When the NN learns the translation do you:
1) want the system to "forget" and re-learn everytime the application is run?
or
2) want the system to remember what it learned during previous runs?
a) but forget after the application is taken out of memory
b) but remember even though a reboot of the machine occurred (ie: writes what it learned to file for later retrieval)
06-28-2012 09:36 AM
2
06-28-2012 10:29 AM
So back to your question about using variants: yes you could use it. Write to a file as a storage means, which would also allow you to retrieve it during the next run.
The reason for those questions is that there might be better alternatives, but you can use variants easily with files.
In the Cluster, Class & Variant palette (from the block diagram), you can find the Variant functions. You may need to use the Flatten to String function before writing it to file. You can also find functions to Set Attributes to the variant.
The Context Help (question mark at top right corner of block diagram or under Help menu), will help you with the use of the functions.
You can also look under the Help Menu and use the Find examples to do a search on variant.
06-28-2012 11:07 AM
actually I asked help in variants some time ago but with a slightly different problem. The VI here can "translate" in a way but it doesnt store the added or "learned" data permanently and it has no training or weights to the input. I was hoping if I could ask for your help in making this into a neural net, if it's not too much to ask