how does matlab splits the data set into 3 sets for nnet ?

Hello The default function for matlab nn toolbox is diverand which can also be seen in the GUI of nnstart. It splits the data set based on what percent we define the training,validation and testing.I want to ask does everytime we give the percentage for the testing training and validation the inputs are chosen entirely randomly ?

Suppose I have the input as 1234x400 and out put is 40x400 that represnt 40 class.

So it can be seen from the input that every 10 columns belongs to one class out of 40 .So If I choose training as 80% and validation as 10 and testing as 10 in the GUI so does it mean after frist 8 columns of each class will be chosen for training? And again if choose the same partition(80 10 and 10) some other 8 will be chosen for training ? means it is going to b randomly choosen always again and again ?Please explain me this.

ANSWER

Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.

You have the choice of accepting the default DIVIDERAND or changing to one of the four alternatives. For details, use the help and doc commands on each of the five settings

>> lookfor divide

divideblock  - Partition indices into three sets using blocks of indices.
divideind - Partition indices into three sets using specified indices.
divideint - Partition indices into three sets using interleaved indices.
dividerand - Partition indices into three sets using random indices.
dividetrain - Partition indices into training set only.
For example help divideblock
doc divideblock

Regardless of which you use, it is good practice to always intialize the RNG before the first design.

SEE COMPLETE ANSWER CLICK THE LINK

--

--

--

Simple! That is me, a simple person. I am passionate about knowledge and reading. That’s why I have decided to write and share a bit of my life and thoughts to.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Revisit Dependency Injection in Scala

Create a Bot with Microsoft Azure Technology

What is the good and the bad of using GWT?

I’m sick of lists of habits that are unrealistic for the majority of people.

Python — find most occurrence of a string in a list

Implementing C/C++ Dynamic Shared Libraries with Teradata UDFs

Let’s Go Back to Grade One in Mobile Development

Taking the most from Traefik in Kubernetes

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Technical Source

Technical Source

Simple! That is me, a simple person. I am passionate about knowledge and reading. That’s why I have decided to write and share a bit of my life and thoughts to.

More from Medium

Conversion from struct type to array

Machine Learning — Researchers from the field

[Machine Learning Higgs 1/3] Introduction to Deep Learning 🧿