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

 채택된 답변

Greg Heath
Greg Heath 2015년 11월 27일

2 개 추천

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

Tien Tran
Tien Tran 2015년 11월 28일
편집: Tien Tran 2015년 11월 28일
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 2015년 11월 28일
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 2015년 11월 29일
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 2015년 11월 29일
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 2015년 11월 30일
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 2015년 12월 1일
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 2015년 12월 1일
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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

태그

질문:

2015년 11월 26일

댓글:

2015년 12월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by