MATLAB: How to create a custom neural network by this following data set

Deep Learning Toolbox

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

Best Answer

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