Neural Network Tutorial - Ch. 10.3 Example: Parabola fitting

preview_player
Показать описание
In this video we train a back propagation network to do some simple curve fitting, not using discrete data points as source, but instead generating them from a function. Conceptually, this is easily extensible to training a network to learn something based on user input, or based on a simulation, which itself may be quite complex, but whose solution may be approximated by the network.

Additionally, a brief discussion on training data quality and domain is presented, displaying how you must be careful not to extrapolate with BPNs.

Рекомендации по теме
Комментарии
Автор

Hi, my neural network is not converging with ease on this function. I'm wondering if your neural network is configured a great deal different than mine. Thank you. My configuration:
layerSizes = {1, 2, 1}, with biases on all layers, and the first two layers activated with the Tanh function. The last layer has no activation function applied to it. I am not using batch normalization.

jakeharrison
Автор

Yea, I wasn't about to go into using hyperbolic trig functions... You can also add the arc-tangent, but both trig and exponential take more time to compute than rational expressions. (Not to say you couldn't use it)

TheRyanFellow
Автор

Initializing the network with 10 nodes in the hidden layer, it got a result at ~96K epochs. :)
Not consistently though. ;)
This one seems to get it most of the time: int[] layerSizes = new int[4] { 1, 20, 20, 1 };

sorentauberlassen
Автор

Thanks! Unfortunately I have never done anything with time-series prediction so I wouldn't want to try and teach it. It is interesting though, and conceptually seems simple. As far as the csv file, I assume you want that in the context of loading time-series data. Couldn't you just open the file and parse it? I've never actually tried... haha

TheRyanFellow