.. _sphx_glr_auto_examples_customization:
Defining a custom model or loss function
-----------------------------------------
In addition to the built-in models and loss functions, you can write custom ones.
.. raw:: html
.. raw:: html
.. only:: html
.. image:: /auto_examples/customization/images/thumb/sphx_glr_plot_custom_model_polydata_thumb.png
:alt:
:ref:`sphx_glr_auto_examples_customization_plot_custom_model_polydata.py`
.. raw:: html