Detailed API

Here, we provide detailed documentation for many of the functions that you may find useful when using MRExo. They are organized into the following modules:

  • fit_nd.py

    Contains the main user-facing function for fitting the model.

  • mle_utils_nd.py

    Contains most of the heavy-lifting functions for implementing the model.

  • aic_nd.py

    Contains the functions for running the degree selection using AIC.

  • cross_validate_nd.py

    Contains the functions for running the degree selection using cross-validation.

  • utils_nd.py

    Contains some utility functions (including for logging outputs).