How to set manually training and test data for training a neural network

26 visualizzazioni (ultimi 30 giorni)
Hello All,
I am making some experiments with mathlab neural network toolbox. Usually to train a neural network i give some training and test data and the net object takes care of dividing the data. However what i need to do is divide the data by myself and set the training and test data explicitly in the net object.
If it is needed some aditional explanation please tell me. Any help would be appreciated.
Thanks.
  2 Commenti
Eduardo
Eduardo il 5 Giu 2012
Geoff thanks for your answer,
In the help I get the following:
" NET.inputs{i}.range
This property defines the minimum and maximum values of the input data
used to configure the input, or zero if the input is unconfigured.
"
However what I need is to set directly the test and training data. Again thanks for your suggestion.

Accedi per commentare.

Risposta accettata

Geoff
Geoff il 5 Giu 2012
Modificato: John Kelly il 12 Giu 2014
  2 Commenti
Eduardo
Eduardo il 5 Giu 2012
Thanks!, I think you point me out in the right way. This is helpful because I need to add external data to the training set and see if it helps in decreasing error (at least a little bit) in the test set.

Accedi per commentare.

Più risposte (1)

Greg Heath
Greg Heath il 12 Giu 2014
It is probably easier to use 'divideblock'
Hope this helps.
Greg

Categorie

Scopri di più su Sequence and Numeric Feature Data Workflows in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by