I have input and output data to train neural network. How can I predict the following data using Matlab?

 Respuesta aceptada

Greg Heath
Greg Heath el 27 de Nov. de 2015

2 votos

For regression or curve-fitting see documentation and an example using
help fitnet
doc fitnet
For classification or pattern recognition see documentation and an example using
help patternnet
doc patternnet
Otherwise provide more thorough information
Hope this helps.
Greg

8 comentarios

Tien Tran
Tien Tran el 28 de Nov. de 2015
Editada: Tien Tran el 28 de Nov. de 2015
thank for your answer Mr.Greg.
However, my question means that I have input data (such as: Pressure, temperature, gravity), output data (z-factor), with 100 input data, I have corresponding 100 output data. I have used ANN in Matlab to train it. So, if I have other 200 input data without output data ,what can I do to know result?
Greg Heath
Greg Heath el 28 de Nov. de 2015
The obvious answer is to run the input through the trained net.
If the net was trained to prevent overfitting or overtraining an overfit net, the only thing I can think of is to add noise to the original data to estimate it's generalization ability.
Good Luck.
Greg
Tien Tran
Tien Tran el 29 de Nov. de 2015
I have understood. Thank for your answer.
However, How to add bias for input without output? Can you give me a example? Wish you the best
Greg Heath
Greg Heath el 29 de Nov. de 2015
I do not understand why you need to add a bias to anything.Please explain what you are doing. I have a feeling that you didn't understand.
Greg
Tien Tran
Tien Tran el 30 de Nov. de 2015
Yes. Indeed, I haven't yet understood about neural network. My school in Vietnam don't teach this knowledge. I read scientific article and find a lot of research with ANN, so I am finding ANN in Matlab. Can you explain detail about ANN, what is main purpose of ANN?. I must have input and corresponding output to train data. However, if I know output why I have to use ANN? Please, explaining for me this stupid question
Greg Heath
Greg Heath el 1 de Dic. de 2015
The net is a mathematical model for obtaining answers when only the input unknown. The caveat is that the properties of the new input should be similar to those of the training and testing data.
Tien Tran
Tien Tran el 1 de Dic. de 2015
Thank Mr.Greg Heath
I have created a neural network for myself. The train performance, R is equal 1, so is it true? Because I have read that ANN just predict approximately
Greg Heath
Greg Heath el 2 de Dic. de 2015
It is not unusual to obtain R=1 for trivial problems.
Try your hand at the MATLAB examples obtained by using the commands
help nndatsets
doc nndatasets
Hope this helps.
Greg

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 26 de Nov. de 2015

Comentada:

el 2 de Dic. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by