Skip to content

Commit

Permalink
ENH: Remove math.utils module
Browse files Browse the repository at this point in the history
Remove the `math.utils` module:
- The positive semidefinite check for the kernels is built-in in
  `scikit-learn` `GaussianProcessRegressor` class:
  https://github.com/dalmia/scikit-learn/blob/598c651afd987a540e404ccdb3491d530e0b0abb/sklearn/gaussian_process/gpr.py#L245
- The `math.utils.compute_angle` function, as it was superseded by
  `model.gpr.compute_pairwise_angles`.
  • Loading branch information
jhlegarreta committed Dec 20, 2024
1 parent a58c265 commit 2b6e33e
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 138 deletions.
1 change: 0 additions & 1 deletion docs/developers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ Information on specific functions, classes, and methods.
api/nifreeze.data.dmri
api/nifreeze.estimator
api/nifreeze.exceptions
api/nifreeze.math
api/nifreeze.model
api/nifreeze.registration
api/nifreeze.testing
Expand Down
Empty file removed src/nifreeze/math/__init__.py
Empty file.
Empty file.
48 changes: 0 additions & 48 deletions src/nifreeze/math/tests/test_utils.py

This file was deleted.

89 changes: 0 additions & 89 deletions src/nifreeze/math/utils.py

This file was deleted.

0 comments on commit 2b6e33e

Please sign in to comment.