===============================
Core functions: :code:`ggml_ot`
===============================

.. module:: ggml_ot

.. currentmodule:: ggml_ot

The core functions of the ggml-ot package to train, tune and test on AnnData or array-like data.

+++++++++++++++++++++++++++++++++++++++
Training & hyperparameter tuning
+++++++++++++++++++++++++++++++++++++++
.. autosummary::
   :nosignatures:
   :toctree: ../generated/

   train
   train_emd2
   train_sinkhorn
   tune

++++++++++++++++
Cross-validation
++++++++++++++++
.. autosummary::
   :nosignatures:
   :toctree: ../generated/

   test
   train_test

+++++++++++++++
Setup dataset
+++++++++++++++
.. autosummary::
   :nosignatures:
   :toctree: ../generated/

   from_anndata
   from_numpy
