Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Leave-one Out validation in matlab.

Subject: Leave-one Out validation in matlab.

From: Greg Heath

Date: 28 May, 2012 13:16:40

Message: 1 of 6

On May 20, 5:42

Subject: Leave-one Out validation in matlab.

From: Star Strider

Date: 28 May, 2012 19:32:06

Message: 2 of 6

Greg Heath <g.heath@verizon.net> wrote in message <3715c3b7-a55f-4667-b2f0-660dd63cf8df@ki5g2000pbb.googlegroups.com>...
> On May 20, 5:42



-------------------------------------------------------

That's all that came through on the TMW Newsreader.

This seems to be a persistent incompatibility with google groups.

Subject: Leave-one Out validation in matlab.

From: Greg Heath

Date: 30 May, 2012 00:35:07

Message: 3 of 6

"Star Strider" wrote in message <jq0jrm$nvm$1@newscl01ah.mathworks.com>...
> Greg Heath <g.heath@verizon.net> wrote in message <3715c3b7-a55f-4667-b2f0-660dd63cf8df@ki5g2000pbb.googlegroups.com>...
> > On May 20, 5:42
> > -------------------------------------------------------
>
> That's all that came through on the TMW Newsreader.
>
> This seems to be a persistent incompatibility with google groups.

Please read my reply in Google Groups.

Hope this helps.

Greg

Subject: Leave-one Out validation in matlab.

From: Greg Heath

Date: 31 May, 2012 09:09:08

Message: 4 of 6

"Greg Heath" <heath@alumni.brown.edu> wrote in message <jq3pvr$ai2$1@newscl01ah.mathworks.com>...
> "Star Strider" wrote in message <jq0jrm$nvm$1@newscl01ah.mathworks.com>...
> > Greg Heath <g.heath@verizon.net> wrote in message <3715c3b7-a55f-4667-b2f0-660dd63cf8df@ki5g2000pbb.googlegroups.com>...
> > > On May 20, 5:42
> > > -------------------------------------------------------
> >
> > That's all that came through on the TMW Newsreader.
> >
> > This seems to be a persistent incompatibility with google groups.

Newsgroups: comp.ai.neural-nets, comp.soft-sys.matlab
From: Greg Heath <g.he...@verizon.net>
Date: Mon, 28 May 2012 06:16:40 -0700 (PDT)
Local: Mon, May 28 2012 9:16 am
Subject: Re: Leave-one Out validation in matlab.

On May 20, 5:42 pm, Maicon Kist <maiconk...@gmail.com> wrote:

> Hi list,
> I'm trying to implement a NN in Matlab using the 'leave one out' validation method.

> My code is as follows:

> ====
> net = patternnet(10);
> net = configure(net, input, target);
> net.trainParam.epochs = 1000;
> net.divideMode = 'none';
> net.divideFcn = '';
> net.showWindow = false;
> net.showCommandLine = true;
> net = train(net, input, target);
> resp = net(single_elem); % A element of the data set that wasnt used in train.
> ====

> The problem is that the results are terrible compared to when "train" is used with the 'divideFcn" function.

> Any suggestions?

1. Add comp.soft-sys.matlab to the newsgroup list.
2. Replace the commands

net.divideMode = 'none';
net.divideFcn = '';

with

net.divideFcn = 'dividetrain';
net.divideMode = 'sample'; % Default

Hope this helps.

Greg

Subject: Leave-one Out validation in matlab.

From: Star Strider

Date: 1 Jun, 2012 00:17:39

Message: 5 of 6

"Greg Heath" <heath@alumni.brown.edu> wrote in message <jq3pvr$ai2$1@newscl01ah.mathworks.com>...

> Please read my reply in Google Groups.
>
> Hope this helps.
>
> Greg

--------------------------------------------------

No, I don't want to use Google Groups. I used to use Thunderbird but uninstalled it, because other than c.s-s.m on the TMW Newsreader, I gave up surfing usenet a while ago.

No, it doesn't help, and if your brilliant reply doesn't post correctly to the TMW Newsreader it won't be searchable on TMW and will not be available to everyone.

Subject: Leave-one Out validation in matlab.

From: Greg Heath

Date: 2 Jun, 2012 05:52:26

Message: 6 of 6

"Star Strider" wrote in message <jq91n3$g9r$1@newscl01ah.mathworks.com>...
> "Greg Heath" <heath@alumni.brown.edu> wrote in message <jq3pvr$ai2$1@newscl01ah.mathworks.com>...
>
> > Please read my reply in Google Groups.
> > Hope this helps.
> > Greg
> --------------------------------------------------
> No, I don't want to use Google Groups. I used to use Thunderbird but uninstalled it, because other than c.s-s.m on the TMW Newsreader, I gave up surfing usenet a while ago.
>
> No, it doesn't help, and if your brilliant reply doesn't post correctly to the TMW >Newsreader it won't be searchable on TMW and will not be available to everyone.

I guess you were so incensed at my temporary suggestion to read the post in Google Groups that you didn't notice, BEFORE YOU WROTE YOUR SNIDE REPLY, I cut and pasted most of the screwed up GG posts directly to TMW.

Now that GG has corrected the bug, I'll be going back. So, if there are problems in the future, don't hesitate to whine again.

Greg

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us