Neural Network in Matlab

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

 Accepted Answer

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 Comments

Tien Tran
Tien Tran on 28 Nov 2015
Edited: Tien Tran on 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?
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
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
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
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
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.
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

Sign in to comment.

More Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Tags

Asked:

on 26 Nov 2015

Commented:

on 2 Dec 2015

Community Treasure Hunt

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

Start Hunting!