I want to design a neural network (newff) for following data which has one input and two out puts. can anyone help me to write matlab code

1 次查看(过去 30 天)
I want to design a neural network (newff) for following data which has one input and two out puts. can anyone help me to write matlab code
Input1 Out1 OUT 2 1.175 0.640 1.155 1.675 0.705 1.096 2.175 0.909 1009 2.675 0.671 1.027 3.175 0.781 0.899 3.675 0.781 0.781
I tried by these two MATlab commands to upload data to neural network .while training it shows some errors. i think dualout command is the incorrect. dualout= {[0.640 1.155] [0.705 1.096] [0.909 1.009] [0.671 1.027] [0.781 0.899] [0.736 0.737] [0.44 1.827]} probx=[1.175 1.675 2.175 2.675 3.175 3.675 4.175;23.9 23.9 23.9 23.9 23.9 23.9 23.9]

采纳的回答

Greg Heath
Greg Heath 2015-5-16
Of course we can help
1. Explain your problem and identify the inputs and targets
2. NEWFF has been obsolete since 2010b. However, it is still available.
3. Use the special case NEWFIT for regression and curve-fitting or the special case NEWPR for classification and pattern-recognition.
4. If you have a regression problem, see the help and documentation examples
help newfit
doc newfit
5. Initialize the random number generator once and only once before using a for loop to design 10 nets.
6. If unsuccessful, post your code and error statements.
  1 个评论
Greg Heath
Greg Heath 2015-5-16
The data you posted makes no sense.
1. The curly bracket should only be used for cells
2. There is at least one obvious misprint
3. You cannot have a constant value variable
4. You really don't have enough data.
5. Try some of the data sets obtained from either of the commands
help nndatasets
doc nndatasets

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by