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

New to MATLAB?

Thread Subject:
average of the nearest neighbours

Subject: average of the nearest neighbours

From: Aparna Sampath

Date: 28 Sep, 2010 13:23:20

Message: 1 of 1

Hi All

I am using the method knnclassify() from matlab in order to find the nearest neighbors of the observations in my dataset. But results from the folds then should be averaged (or otherwise combined) to produce a single estimation. Can anyone tell me how to do this??

My dataset is divided into k=5.

Any help pls!


Tags for 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