Path: news.mathworks.com!not-for-mail
From: "Luca I" <luca_iannone@hotmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How to list neural net input/output processing options ?
Date: Mon, 24 Dec 2012 08:55:12 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 45
Message-ID: <kb959g$141$1@newscl01ah.mathworks.com>
References: <kb80us$72p$1@newscl01ah.mathworks.com>
Reply-To: "Luca I" <luca_iannone@hotmail.com>
NNTP-Posting-Host: www-01-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1356339312 1153 172.30.248.46 (24 Dec 2012 08:55:12 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 24 Dec 2012 08:55:12 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 3900859
Xref: news.mathworks.com comp.soft-sys.matlab:785323

"Greg Heath" <heath@alumni.brown.edu> wrote in message <kb80us$72p$1@newscl01ah.mathworks.com>...
> [x,t] = simplefit_dataset;
> net = newff(x,t,4);
> 
>   1. Using either  net.inputs{:}   or  net.inputs{:,:}, I get the list
>   
>  ans = 
> 
>     Neural Network Input
> 
>               name: 'Input'
>     feedbackOutput: []
>        processFcns: {'fixunknowns', removeconstantrows,
>                     mapminmax}
>      processParams: {1x3 cell array of 2 params}
>    processSettings: {1x3 cell array of 3 settings}
>     processedRange: [1x2 double]
>      processedSize: 1
>              range: [1x2 double]
>               size: 1
>           userdata: (your custom info)
>           
> 2. How do I list ONLY net.inputs.processFcns? I am only getting the first 
> component from net.inputs.processFcns{ : }, net.inputs.processFcns{ :, : }, 
> net.inputs.processFcns{ 1, : } and net.inputs.processFcns{ 1,1:end }.
> 
> TIA
> 
> Greg

__________________________________________________________-

I suppose that you must write:

net.inputs{1}processFcns to obtain something like:

ans=

'fixunknowns' 'removeconstantrows' 'mapminmax'

and to overwrite these functions you must write:

net.inputs{1}.processFcns = {'removeconstantrows' 'mapminmax'};

I hope I've understand what you need...