Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Compile problem

0 views
Skip to first unread message

shen

unread,
Aug 23, 2007, 11:02:50 PM8/23/07
to
I met a problem in compiling the following function about
prediction. I noticed that Matlab Builder supports
functions from Nero Network Tool. I list the error message
in the end when I try to use it in Asp.net.

function f=PredictValue(X,Y,Xyc)
[X_gy,minX, maxX,Y_gy,minY,maxY]=premnmx(X,Y);
k=2;
net=newff(minmax(X_gy),[k,1],
{'tansig' 'purelin'}, 'traincgf'); % net.performFcn
= 'sse';
net.performParam.ratio = 0.5;
net.trainParam.show = 5;
net.trainParam.epochs = 300;
net.trainParam.goal = 1e-5;
[net,tr]=train(net,X_gy,Y_gy);
Y_nh=sim(net,X_gy)
[Y_nh_hy]=postmnmx(Y_nh,minY,maxY);
Xyc_gy=tramnmx(Xyc,minX,maxX);
Xyc_yc_net=sim(net,Xyc);
[Xyc_yc_hy]=postmnmx(Xyc_yc_net,minY,maxY)

f=Xyc_yc_hy;

Next is the error Message:
MWMCR::EvaluateFunction error: Error using ==>
network.subsasgn at 489 "performFcn" cannot be set to non-
existing function "mse".

Any idea will be appreciated.
Thanks,
HL

shen

unread,
Aug 31, 2007, 5:43:58 AM8/31/07
to
I have clear the problem yet.

matth...@gmail.com

unread,
Oct 24, 2007, 5:42:04 PM10/24/07
to
On Aug 31, 2:43 am, "shen " <shenhailiang2...@yahoo.com.cn> wrote:
> I have clear the problem yet.

hi,

I get the same error message. what did you do to solve the problem?

Thanks.

Arash Jalalian

unread,
Nov 12, 2007, 1:05:47 AM11/12/07
to
i have the same problem :((
did you find any solution?

MWMCR::EvaluateFunction error: Error using ==>
network.subsasgn at 489
"performFcn" cannot be set to non-existing function
"mse".Error in =>testnewff.m at 4.
0 new messages