Filter löschen
Filter löschen

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

3 Ansichten (letzte 30 Tage)
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]

Akzeptierte Antwort

Greg Heath
Greg Heath am 16 Mai 2015
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 Kommentar
Greg Heath
Greg Heath am 16 Mai 2015
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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Sequence and Numeric Feature Data Workflows finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by