Open ehtisham409 opened 4 years ago
continuous_time_identification (Burgers)/Burgers.py
model.train(0)
For this specific example, when we have the noiseless data, the nIter = 0
means that no Adam optimization will be performed and the model is trained using L-BFGS only (using the arguments under options
in ScipyOptimizerInterface
). You can test by increasing the number of iteration (say nIter = 10000
) but it will not improve the result significantly(?).
model.train(10000)
Because of the noise, the valley is more difficult to find compared to the noiseless data. Therefore, for the noised data, a Adam optiimization precedes the L-BGFS method.
See https://www.tensorflow.org/tutorials/customization/custom_training_walkthrough#create_an_optimizer for more detail on optimizers.
for simple ODEs can i consider the case as no noise?
A good test would be to start with nIter=0 and then increase it until you are satisfied with the result
Can you point to the specific code that you are referring to ?