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

 Réponse acceptée

Greg Heath
Greg Heath le 27 Nov 2015

2 votes

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 commentaires

Tien Tran
Tien Tran le 28 Nov 2015
Modifié(e) : Tien Tran le 28 Nov 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 le 28 Nov 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 le 29 Nov 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 le 29 Nov 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 le 30 Nov 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 le 1 Déc 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 le 1 Déc 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
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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Deep Learning Toolbox dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by