From 1fb834b4c53b447d775aa35e7c043223266ac1bc Mon Sep 17 00:00:00 2001 From: Cheng Gong Date: Thu, 6 Jun 2024 20:21:49 -0400 Subject: [PATCH] fix urls --- docs/examples/advanced.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/examples/advanced.rst b/docs/examples/advanced.rst index d5c8a75..e93c7c4 100644 --- a/docs/examples/advanced.rst +++ b/docs/examples/advanced.rst @@ -18,7 +18,7 @@ It is possible to add additional loss functions to the total loss. Here is an ex In this example, we define a ``dict`` which contains: - ``name``: A user-defined name for the loss function. -- ``function``: A function ID from ``LOSS_DICT`` in ``deepxde.losses ``_ or ``pinnicle.utils.data_misfit ``_. These lists include most commonly used loss functions, such as ``"mean"``, ``"MAE"``, ``"MSE"``, ``"MAPE"``, ``"zero"``, ``"VEL_LOG"``, ``"MEAN_SQUARE_LOG"``, etc. Before writing your own loss function, refer to these lists, as these functions are optimized with the backends. +- ``function``: A function ID from ``LOSS_DICT`` in `deepxde.losses `_ or `pinnicle.utils.data_misfit `_. These lists include most commonly used loss functions, such as ``"mean"``, ``"MAE"``, ``"MSE"``, ``"MAPE"``, ``"zero"``, ``"VEL_LOG"``, ``"MEAN_SQUARE_LOG"``, etc. Before writing your own loss function, refer to these lists, as these functions are optimized with the backends. - ``weight``: the weight of this loss function. Finally, add the new ``dict`` to ``hp["additional_loss"]`` with the key indicating the variable to which this loss function should be applied. In the above example, we are adding the mean absolute percentage error of the velocity magnitude to the total loss. @@ -26,7 +26,7 @@ Finally, add the new ``dict`` to ``hp["additional_loss"]`` with the key indicati Dummy Equations --------------- -PINNICLE provides ``Dummy ``_ physics, which allows you to train the neural network using data only. Here is an example: +PINNICLE provides `Dummy `_ physics, which allows you to train the neural network using data only. Here is an example: .. code-block:: python