On 01/07/2015 8:31 AM, dpb wrote:
...
> If you can find what the format/structure of the file is, yes you can
> write a code function in Matlab to produce one given the input file but
> the key is "what is the file structure?".
It looks like there are a couple of choices but the simple-minded looks
pretty simple from an example demo I found --
They give an example that looks like it's simply a text file with a few
header lines that give dimensions
No. of patterns : N
No. of input units : I
No. of output units : O
# Input pattern 1:
data
# Output pattern 1:
outputs
...
The # are comment indicators so don't even need those.
There was a version and timestamp couple of lines shown; not sure
whether they're needed or not; I'd guess not in all likelihood.
Show a short sample of your data file and undoubtedly can convert to the
above quite readily. Shouldn't take but a few lines of code for the
simple case as above.
If your problem were to require a variable-format file I saw something
about in the SNNS documentation, that is a fair amount more complex it
appears. Still surely doable but you'd have to spend some time
deciphering the reference material to code it in its full glory.
--