How to create a Target data ? Neural Network Tool
Mostrar comentarios más antiguos
Hello,
I want to make a feedforward backpropagation neural network in order to solve a classification problem.
Let's say I want to import a data set from UCI Machine Learning Repository ( this one ) which is 4x306. How do I create a Target data set in order to train it?
Thanks in advance.
2 comentarios
Mrinmoyee Bhattacharya
el 29 de Mzo. de 2019
Movida: Walter Roberson
el 15 de Ag. de 2024
I just want to create target dataset, Is there any code? then it will be helpful for me
huda
el 15 de Ag. de 2024
Movida: Walter Roberson
el 15 de Ag. de 2024
neural network
Respuesta aceptada
Más respuestas (1)
Jing
el 30 de En. de 2013
I guess what you ask is 'preparets' function. This function prepare data for network simulation and training. Use the following command you can find the usage and an example of this function:
doc preparets
Hope it helps!
7 comentarios
Greg Heath
el 30 de En. de 2013
No.
preparets is only for "prepar"ing data to use with "t"ime "s"eries
Nikolak
el 30 de En. de 2013
Muzafar Pandit
el 9 de Feb. de 2013
How to create a target data? please write in detail
Greg Heath
el 10 de Feb. de 2013
classind =[ 3 1 2 1 3]
target = full(ind2vec(classind))
var0 = mean(var(target'))
SNR = 10
rng(0)
noise = sqrt(var0/SNR)*randn(3,5)
fakeoutput = purelin(target+noise)
predclass = vec2ind(fakeoutput)
Mrinmoyee Bhattacharya
el 29 de Mzo. de 2019
how to create target dataset?
Walter Roberson
el 29 de Mzo. de 2019
It depends which function you are using. Some of them just want a vector of class numbers. Others want the result of calling vec2ind on the vector of class numbers.
Either way you need information about what the correct class number is for each sample.
Mrinmoyee Bhattacharya
el 29 de Mzo. de 2019
I am using this function for create a target dataset:
I have imported my dataset in column vector
My dataset is showing (1x14480)
data = CP1U;
target = full(vec2ind(data))
Is this correct ?
Categorías
Más información sobre Define Shallow Neural Network Architectures en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!