starting doc

This commit is contained in:
dario-coscia
2024-07-23 15:27:38 +02:00
committed by Nicola Demo
parent 5445559cb2
commit a09c17209d
12 changed files with 118 additions and 75 deletions

View File

@@ -1,73 +1,82 @@
Welcome to PINA's documentation!
===================================================
:html_theme.sidebar_secondary.remove:
Physics Informed Neural network for Advanced modeling (**PINA**) is
an open-source Python library providing an intuitive interface for
solving differential equations using PINNs, NOs or both together.
Based on `PyTorch <https://pytorch.org/>`_ and `PyTorchLightning <https://lightning.ai/docs/pytorch/stable/>`_,
PINA offers a simple and intuitive way to formalize a specific (differential) problem
and solve it using neural networks . The approximated solution of a differential equation
can be implemented using PINA in a few lines of code thanks to the intuitive and user-friendly interface.
Welcome to PINAs documentation!
=======================================
`PyTorchLightning <https://lightning.ai/docs/pytorch/stable/>`_ as backhand is done to offer
professional AI researchers and machine learning engineers the possibility of using advancement
training strategies provided by the library, such as multiple device training, modern model compression techniques,
gradient accumulation, and so on. In addition, it provides the possibility to add arbitrary
self-contained routines (callbacks) to the training for easy extensions without the need to touch the
underlying code.
.. grid:: 6
:gutter: 1
The high-level structure of the package is depicted in our API. The pipeline to solve differential equations
with PINA follows just five steps: problem definition, model selection, data generation, solver selection, and training.
.. grid-item::
.. figure:: index_files/API_color.png
:alt: PINA application program interface
:align: center
:width: 600
.. image:: index_files/tutorial_13_3.png
:target: _rst/tutorials/tutorial2/tutorial.html
|
.. grid-item::
Physics-informed neural network
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. image:: index_files/tutorial_32_0.png
:target: _rst/tutorials/tutorial4/tutorial.html
`PINN <https://www.sciencedirect.com/science/article/abs/pii/S0021999118307125>`_ is a novel approach that
involves neural networks to solve differential equations in an unsupervised manner, while respecting
any given law of physics described by general differential equations. Proposed in "*Physics-informed neural
networks: A deep learning framework for solving forward and inverse problems
involving nonlinear partial differential equations*", such framework aims to
solve problems in a continuous and nonlinear settings.
.. grid-item::
Neural operator learning
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. image:: index_files/tutorial_13_01.png
:target: _rst/tutorials/tutorial9/tutorial.html
`Neural Operators <https://www.jmlr.org/papers/v24/21-1524.html>`_ is a novel approach involving neural networks
to learn differential operators using supervised learning strategies. By learning the differential operator, the
neural network is able to generalize across different instances of the differential equations (e.g. different forcing
terms), without the need of re-training.
.. grid-item::
.. image:: index_files/tutorial_5_0.png
:target: _rst/tutorials/tutorial10/tutorial.html
.. grid-item::
.. image:: index_files/tutorial_36_0.png
:target: _rst/tutorials/tutorial6/tutorial.html
.. grid-item::
.. image:: index_files/tutorial_15_0.png
:target: _rst/tutorials/tutorial13/tutorial.html
.. grid:: 1 1 3 3
.. grid-item::
:columns: 12 12 6 6
Physics Informed Neural network for Advanced modeling (**PINA**) is
an open-source Python library providing an intuitive interface for
solving differential equations using PINNs, NOs or both together.
Based on `PyTorch <https://pytorch.org/>`_ and `PyTorchLightning <https://lightning.ai/docs/pytorch/stable/>`_, **PINA** offers a simple and intuitive way to formalize a specific (differential) problem
and solve it using neural networks . The approximated solution of a differential equation
can be implemented using PINA in a few lines of code thanks to the intuitive and user-friendly interface.
Contact us by email for further information or questions about **PINA**, or suggest pull requests.
.. toctree::
:maxdepth: 1
:caption: Package Documentation:
API <_rst/_code>
.. grid-item-card:: Contents
:class-title: sd-fs-5
:class-body: sd-pl-4
.. the following is demo content intended to showcase some of the features you can invoke in reStructuredText
.. this can be safely deleted or commented out
.. ........................................................................................
.. toctree::
:maxdepth: 1
.. toctree::
:maxdepth: 1
:caption: Getting Started:
Installing <_rst/_installation>
Tutorial <_rst/_tutorial>
API <_rst/_code>
Installation <_rst/_installation>
Tutorials <_rst/_tutorial>
.. .. grid-item-card:: Features
.. :columns: 12 12 4 4
.. :class-title: sd-fs-5
.. :class-body: sd-pl-3
.. toctree::
:maxdepth: 1
:caption: Community:
Team & Fundings <_team.rst>
Contributing <_rst/_contributing>
License <_LICENSE.rst>
Cite PINA <_cite.rst>
.. * :bdg-secondary:`New` Objects: :ref:`API <objects_api>` | :doc:`Tutorial <tutorial/objects_interface>`
.. * Relational plots: :ref:`API <relational_api>` | :doc:`Tutorial <tutorial/relational>`
.. * Distribution plots: :ref:`API <distribution_api>` | :doc:`Tutorial <tutorial/distributions>`
.. * Categorical plots: :ref:`API <categorical_api>` | :doc:`Tutorial <tutorial/categorical>`
.. * Regression plots: :ref:`API <regression_api>` | :doc:`Tutorial <tutorial/regression>`
.. * Multi-plot grids: :ref:`API <grid_api>` | :doc:`Tutorial <tutorial/axis_grids>`
.. * Figure theming: :ref:`API <style_api>` | :doc:`Tutorial <tutorial/aesthetics>`
.. * Color palettes: :ref:`API <palette_api>` | :doc:`Tutorial <tutorial/color_palettes>`