Skip to main content
Question Protected by gung - Reinstate Monica
added 2 characters in body; edited tags; edited title
Source Link
user88
user88

Difference What is the difference between test set and validation set?

I found this confusing when I use the neural network toolbox in Matlab. 
It divided the raw data set into three parts:

  1. training set
  2. validation set
  3. test set

I notice in many training or learning algorithm, the data is often divided into 2 parts, the training set and the test set.

My questions are:

  1. what is the difference between validation set and test set?
  2. Is the validation set really specific to neural network? Or it is optional.
  3. To go further, is there a difference between validation and testing in context of machine learning?

Difference between test set and validation set

I found this confusing when I use the neural network toolbox in Matlab. It divided the raw data set into three parts

  1. training set
  2. validation set
  3. test set

I notice in many training or learning algorithm, the data is often divided into 2 parts, the training set and the test set.

My questions are:

  1. what is the difference between validation set and test set?
  2. Is the validation set really specific to neural network? Or it is optional.
  3. To go further, is there a difference between validation and testing in context of machine learning?

What is the difference between test set and validation set?

I found this confusing when I use the neural network toolbox in Matlab. 
It divided the raw data set into three parts:

  1. training set
  2. validation set
  3. test set

I notice in many training or learning algorithm, the data is often divided into 2 parts, the training set and the test set.

My questions are:

  1. what is the difference between validation set and test set?
  2. Is the validation set really specific to neural network? Or it is optional.
  3. To go further, is there a difference between validation and testing in context of machine learning?
Source Link
xiaohan2012
  • 7.3k
  • 6
  • 22
  • 19

Difference between test set and validation set

I found this confusing when I use the neural network toolbox in Matlab. It divided the raw data set into three parts

  1. training set
  2. validation set
  3. test set

I notice in many training or learning algorithm, the data is often divided into 2 parts, the training set and the test set.

My questions are:

  1. what is the difference between validation set and test set?
  2. Is the validation set really specific to neural network? Or it is optional.
  3. To go further, is there a difference between validation and testing in context of machine learning?