Unable to approximate the sine function using a neural network

后端 未结 4 1569
后悔当初
后悔当初 2020-11-30 02:58

I am trying to approximate the sine() function using a neural network I wrote myself. I have tested my neural network on a simple OCR problem already and it worked, but I am

4条回答
  •  無奈伤痛
    2020-11-30 03:07

    I get the same behavior if use vanilla gradient descent. Try using a different training algorithm.

    As far as the Java applet is concerned, I did notice something interesting: it does converge if I use a "bipolar sigmoid" and I start with some non-random weights (such as results from a previous training using a Quadratic function).

提交回复
热议问题