Randomisation of matrix for load forecasting

1 visualización (últimos 30 días)
NN
NN el 21 de Oct. de 2020
Editada: Walter Roberson el 21 de Oct. de 2020
Is it advicable to do randomisation while doing laod forecasting using neural network tool in matlab?
while i use the below command to a 87648*6 double matrix, i get p matrix with dimension 1*87648 double.
p = randperm(n)
Since i have different values in diffent columns of the xlsx file, p returns a single column with values.Is that correct to proceed with load forecasting?Does it mix all the values and during later stage in training the system, does it takes the values correctly?

Respuesta aceptada

Walter Roberson
Walter Roberson el 21 de Oct. de 2020
Editada: Walter Roberson el 21 de Oct. de 2020
No, not in itself. You could use p as column indices, but when you submit all of the data together then it does not care what order the columns are so it would be a waste of time.
However it would sometimes make sense to take the first part of p, such as the first half, and use that as column indices to get the data to train a model with, and then use the second part of p to get column indices for data to test how well the model works on data it was not trained on.
This kind of random division into test and training sets is the default for the "shallow" neural network routines such as feedforward networks.

Más respuestas (0)

Categorías

Más información sobre Deep Learning Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by