Skip to content

Finding parameters (values of coefficients) for a system of differential equations with constant coefficients at known values at a number of points.

Notifications You must be signed in to change notification settings

lilpuzeen/NeuralODE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Finding parameters (values of coefficients) for a system of differential equations with constant coefficients at known values at a number of points.

Solved problems

  • Finding parameters (values of coefficients) for a system of differential equations with constant coefficients at known values at a number of points.
  • Consider the case where the observations of only one function from the system are known.
  • Describe the dependence of the error on the maximum of the derivative on the segment for the special point of the center.

Technologies

  • Python 3 - used as main tool
  • Scipy - for integrating a system of ordinary differential equations
  • Matplotlib - for plotting graphs
  • Numpy - arrays and various functionality
  • Tensorflow (Keras submodule)
    • Model - a model grouping layers into an object with training/inference features
    • Layers
      • Dense - just regular densely-connected NN layer
      • Input - used to instantiate a Keras tensor
      • Concatenate - layer that concatenates a list of inputs
    • Optimizers
      • Adam - Adam optimization is a stochastic gradient descent method that is based on adaptive estimation of first-order and second-order moments

Short summary

Based on the findings, the following observations can be made regarding the dependence of the error on the maximum of the derivative on the segment for the special point of the center:

  1. In experiment 1, where the maximum of the derivative is smaller, the error (MSE) is 0.0158 at the predicted parameters (with noise) [-2.0177553, 8.126868] and 0.0158 at the predicted parameters (without noise) [-1.8328079, 7.384569].
  2. In experiment 2, where the maximum of the derivative is also small, the error is 0.0057 at the predicted parameters (with noise) [-2.0182137, 8.076085] and 0.0057 at the predicted parameters (without noise) [-2.1121407, 8.456265].
  3. In experiment 3, where the maximum of the derivative increases, the error increases and is 0.0445 at the predicted parameters (with noise) [-1.9907327, 8.210772] and 0.0445 at the predicted parameters (without noise) [-1.9635643, 8.092097].
  4. Other experiments also show an increase in the error as the maximum of the derivative on the segment for the special point of the center increases. This indicates that the model is less accurate in predicting the parameters of the equation when the derivative of the function on the segment becomes more complex or rapidly increasing.

Conclusion

In general, we can conclude that the dependence of the error on the maximum of the derivative on the segment for the special point of the center indicates that the model may have difficulty in accurately predicting the parameters of the equation when the derivatives of the function change rapidly or have high values. This may require more complex models or more data for more accurate predictions in such cases.

Contributors

License

MIT License

Copyright (c) 2024 Arman Tovmasian and Maxim Khimchenko and Artemii Kister

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.CTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Finding parameters (values of coefficients) for a system of differential equations with constant coefficients at known values at a number of points.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages