FITNET - Non-linear prediction of vectors

조회 수: 2 (최근 30일)
Dimitrios Gkotsoulias
Dimitrios Gkotsoulias 2019년 11월 26일
편집: Dimitrios Gkotsoulias 2019년 12월 5일
Hello,
I am using FITNET to try multiple DL functions on my data, which include 3840 training samples of 7 dim.
The output is 6 dimensions.
Using the following snipet and the data of the attached .mat file:
---
out_train = double(out_train');
in_train = double(in_train');
net = fitnet([56,28],'trainbr');
net = train(net, in_train, out_train);
---
I seem to get an mse approximation using Bayesian Regularization, of around 0.004 (my inputs/outputs are normalized on -1,1 but mostly centered close to 0 so thsi mse really affects the results).
The actuall prediction does not seem ok, having pretty high differences from the wanted values, even for the training set.
The correlation between my data is complex, and non-linear.
Using more layers, the iterations become extremely slow and eventually does not seem to help the problem much.
Any suggestion would be helpful.
Thanks in advance,
Dimitri

답변 (1개)

Raunak Gupta
Raunak Gupta 2019년 12월 5일
Hi,
As it is mentioned that adding more layers isn’t affecting the results much, I suggest to try to different trainFcn which can capture the complex mapping between inputs and output. Since gradient descent works on the gradients of the error after each iteration it may be suitable for this problem. You may try using traingd or other variant mentioned in trainFcn. Also, it may be helpful increasing the hidden nodes in layers instead of increasing the number of layers.
Hope it helps.
  댓글 수: 1
Dimitrios Gkotsoulias
Dimitrios Gkotsoulias 2019년 12월 5일
편집: Dimitrios Gkotsoulias 2019년 12월 5일
Hello,
Thank you for the indications.
I have tried Gradient Descent with worse results than Bayesian Regularization. 1000 epochs goes really fast with GD, and the network doesnt seem to learn better that 0.04.
The number of layers I have increased until no further improvement, so the 56, 28 gave me the best results for now.

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by