Re: Creating standalone application that contains neural network



"Ashish Uthama" <first.last@xxxxxxxxxxxxx> wrote in message <op.ur24qwr2a5ziv5@xxxxxxxxxxxxxxxxxxxxxxxxxx>...
On Fri, 27 Mar 2009 02:51:04 -0400, Christine <christine_gee@xxxxxxxxxxx> wrote:

> i have checked what the MATLAB Compiler 4.10 can and cannot be compiled > in the below link:
> http://www.mathworks.com/products/compiler/compiler_support.html
>
>
> I am using the Neural Network Toolbox 6.0.2 in my gui and...
>
> THIS CAN BE COMPILED
> Pre-trained network
> command line functions
>
>
> THIS CANNOT BE COMPILED
> * All other command line functionality
> * All GUIs provided with toolbox
> * Simulink blocks
> * gensim
>
>
>
> Is that means that there is no way to create a standalone application > from GUI that contains neural network toolbox functions?


Christine,

You will not be able to compile any function which trains the network (like ADAPT). Though the link does not explicitly list these funcions (like ADAPT), they fall under the 'All other command line functionality'.

However, you can deploy a M function code which uses a pre-trained network. I believe the SIM function will deploy fine.

The workflow I see is:
1. In MATLAB, train you network using test input/output
2. Save the network (mat file?)
3. Create a deployable function which then uses the pretrained network for new data. The network itself would not change/adapt/train in this function
4. Compile and deploy the above function


I have the same problem.
I can live with this case that we can't train or change the network.
I have a pre-trained network saved to file. but when I load the network and try to get the output of a test sample I get the following error:
"Subscript indices must either be real positive integers or logicals"

for this line of code ----> testOutput = net(data_inputNN);
I'm using matlab2010b

I added a line in my function to save the network to see how it's handling the network.
after opening the mat file in matlab I noticed that it has saved the network as a "struct" and all the weights and biases are empty.

Please help.

Thank you.
.



Relevant Pages

  • Re: Verizon Express Network (1X, 3G) Under Linux
    ... I have the acm compiled as a loadable kernel module and I loaded it ... > Network by way of a Motorola v120e handset. ... USB Setup. ... Make sure you compile the ...
    (comp.os.linux.networking)
  • Re: Creating standalone application that contains neural network
    ... > I can live with this case that we can't train or change the network. ... but when I load the network and try to get the output of a test sample I get the following error: ... but my problem is that my code works totally fine through matlab itself, and it even works great if I use Matlab Engine's com interface from VisualStudio. ... as mentioned above assuming that I can't train or change the network using the .NET assembly how can I just get the output of new inputs with a previously trained network. ...
    (comp.soft-sys.matlab)
  • Re: Pimp my GRUB
    ... to compile a webbrowser like w3m into grub, so i have a boottime of 2 ... active network (which makes your webbrowser pointless). ... Between LinuxBIOS to speed the boot loading, ...
    (comp.os.linux.setup)
  • Re: Pimp my GRUB
    ... to compile a webbrowser like w3m into grub, so i have a boottime of 2 ... active network. ... Between LinuxBIOS to speed the boot loading, ... specialized box that does nothing but a web browser as far as a user can ...
    (comp.os.linux.setup)
  • Save NN command
    ... I am tying to use the code below to create, train, save my NN on ... I want to save my trained network to use it later even ... after closing matlab. ...
    (comp.soft-sys.matlab)