Info

This question is closed. Reopen it to edit or answer.

In backpropagation. Why the error at the time of testing is very large, even when training produces a small error ?

1 view (last 30 days)
Hi, everyone
I'm new in Matlab and Neural Networks. I'm using this to make forecasting load transformer. I have just trained my neural network which has 3 input variables and 1 output / target. Training sample size is 30 and testing sample size is 18. My network using 1 hidden layer that contains 6 nodes and I used the traingdx function. My question are:
  1. Why is it took long time to train the data for reach the goal, eventhough my goal just 0,0001? I trained my network for 5 days, and still not reach the goal yet.
  2. When I stopped the training, my network just reach the goal 0,1111. The first one I simulated it and have mse 1,754. And then I tried to test it with new input that contains 18 data, and the error result is large. How can I do to fix that ?
Thanks in advance for any and all help
  3 Comments
Febrian Dhimas Syahfitra
Febrian Dhimas Syahfitra on 22 Jan 2018
excuse me sir, what does it mean poor quality input data ? how to create good quality input data? My data consists of historis data load transformer, population and economy from 2011 until 2017.
Walter Roberson
Walter Roberson on 22 Jan 2018
"Training sample size is 30 and testing sample size is 18"
That is not enough data to do a good job of discriminating classes if they are not well separated.
Suppose, for example, that I used rand(30,3) and told you to forecast based upon it. Any patterns that might be detected with that data would be accidental and would result in large error when used with the test data.
Data that looks like it must have some pattern might even have good patterns -- but those patterns might not be determinable with only 30 samples. For example electricity load requirements might plausibly be related to solar cycles, which have been extensively studied but continue to be surprising; see https://en.wikipedia.org/wiki/Solar_cycle for some of the hypothesized cycle lengths (including one of over 6000 years.)

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!