How can I create a custom neural network by this following data set?

1 次查看(过去 30 天)
I have to take 4 inputs (Independent data array) and 2 inputs (dependent data array). I have 18 sets of data. The number of layers are 2.
Thanks

采纳的回答

Greg Heath
Greg Heath 2015-12-15
I see no reason to use a custom network.
Use fitnet for regression or curvefitting
Use patternnet for classification or pattern recognition.
Use the commands help and doc to access the documentation that includes an example for each function.
For example:
help fitnet
doc patternnet
Hope this helps.
Greg
  2 个评论
Yeasir Mohammad Akib
Do I need to use 'mapminmax' function for normalization of input and targeted output?
Greg Heath
Greg Heath 2015-12-16
In general, I recommend transforming inputs and outputs. Mapminmax is the default, i.e., it will be implemented automatically. If you wish, you can remove it or change to mapstd for zero-mean/unit-variance:
help mapstd
doc mapstd
However, I like to implement that transformation explicitly before training by using zscore:
help zscore
doc zscore
Then I can modify or delete outliers before training. Since I am lazy, I just accept the default mapminmax instead of removing it.
I have posted zillions of examples in both the NEWSGROUP and ANSWERS. Include greg and zscore in your search words.
Hope this helps.
Thank you for formally accepting my answer
Greg

请先登录,再进行评论。

更多回答(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