Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
93be99a
Adding PCovC code
rvasav26 Apr 10, 2025
cb9dba8
Merge remote-tracking branch 'upstream/main'
rvasav26 Apr 18, 2025
ead6516
Changing check_lr_fit to check_cl_fit and updating respective tests.
rvasav26 Apr 10, 2025
8d00fe6
Adding KPCovC code, as well as KPCovC tests.
rvasav26 Apr 18, 2025
427dc8d
Adding PCovC code
rvasav26 Apr 10, 2025
4697039
Changing check_lr_fit to check_cl_fit and updating respective tests.
rvasav26 Apr 10, 2025
e51ddd7
Adding KPCovC code, as well as KPCovC tests.
rvasav26 Apr 18, 2025
3191c26
Fixing error in pull request
rvasav26 Apr 18, 2025
bd21668
Working on KPCovC
rvasav26 Apr 18, 2025
44169bc
Moving files around
rvasav26 Apr 18, 2025
96ae408
Investigating PCovCSPaceTest errors
rvasav26 Apr 19, 2025
1b99d0f
Adding _BasePCov class and modifying PCovR and PCovC to implement bas…
rvasav26 Apr 20, 2025
ab45da6
Working on _BasePCov class and changing docstrings for PCovC
rvasav26 Apr 20, 2025
ae1dc0d
Fixing errors with PCovC self.classifier_
rvasav26 Apr 21, 2025
1bb0d75
Cleaning up _BasePCov along with new PCovR and PCovC subclasses
rvasav26 Apr 25, 2025
5d5dd32
Working on KPCovC SVC compatibility
rvasav26 Apr 26, 2025
9d784c6
Working on KPCovC, investigating minor errors
rvasav26 May 2, 2025
86968dc
Fixing decision_function shape for PCovC, writing corresponding Z test
rvasav26 May 2, 2025
2e83a57
Changing check_cl_fit to check for classifier coefficient mismatches
rvasav26 May 3, 2025
f1bc971
Cleaning up documentation, refactoring KPCovC
rvasav26 May 3, 2025
206abea
Tweaking docstrings for PCovC
rvasav26 May 4, 2025
a120baf
Renaming files, reworking check for compatible classifiers/regressors
rvasav26 May 5, 2025
a42d669
Setting up __init__.py
cajchristian May 5, 2025
153b815
Minor fix to PCovR after skmatter update with sklearn 1.6
rvasav26 May 6, 2025
bbd90d0
Fixing imports
cajchristian May 6, 2025
6318783
Minor sklearn update changes to PCovC, modifying example graphs
rvasav26 May 8, 2025
a030906
Cleaning up files, working on fixing KPCovC errors
rvasav26 May 8, 2025
0c8fa48
Using validate_data in PCovC/KPCovC for scikit-learn compatibility
rvasav26 May 8, 2025
4e0404a
Fixing formatting for example notebooks
rvasav26 May 10, 2025
efe6488
Modifying decision_function for PCovC/KPCovC
rvasav26 May 10, 2025
a7438de
Fixing prefit and precomputed classification for KPCovC
rvasav26 May 11, 2025
6ead7a7
Modifying _pcovc_utils
rvasav26 May 11, 2025
5b0b418
Merge branch 'adding-pcovc' into adding-pcovc
rvasav26 May 11, 2025
7759594
Inheriting LinearClassifierMixin
cajchristian May 11, 2025
9bbecb0
Adding some checks
cajchristian May 11, 2025
b43454c
Modifying example notebook, cleaning up tests folder
rvasav26 May 12, 2025
fdf97c5
Fixing bug in decision_function + LR in test suite again
cajchristian May 12, 2025
2123b9b
Add mixin to PCovR
cajchristian May 12, 2025
0d39d53
Updating pcovr tags
cajchristian May 12, 2025
6addac0
Adding _BaseKPCov and modifying KPCovR/KPCovC to inherit from it
rvasav26 May 12, 2025
4fd100f
Modifying _pcovc_utils
rvasav26 May 13, 2025
4242a0d
Reorganizing and cleaning up some code
rvasav26 May 13, 2025
4d00974
Cleaning up code for second classifier fit
rvasav26 May 13, 2025
1ec8a1e
Cleaning up comments and docstrings
rvasav26 May 13, 2025
1c3fab9
Adding PCovC code along with base class, modifying PCovR to inherit f…
rvasav26 May 13, 2025
513241b
Merge pull request #246 from rvasav26/adding-pcovc-new
cajchristian May 14, 2025
d80ba52
Merge pull request #247 from rvasav26/adding-kpcovc
rvasav26 May 14, 2025
7f24a7d
Finalizing/touching up docs
cajchristian May 14, 2025
0c841dd
Fixing linting
cajchristian May 14, 2025
21907be
Merging adding-pcovc-new branch's updates with adding-kpcovc
rvasav26 May 14, 2025
f807237
Minor changes to examples, formatting
rvasav26 May 14, 2025
c651e23
Fixing docstrings to address docs build errors
rvasav26 May 14, 2025
c0a16aa
Fixing whitespace for linter
rosecers May 14, 2025
f66aa9d
Adding pcovc to docs
rosecers May 14, 2025
c5c47e5
Investigating KPCovC errors
rvasav26 May 14, 2025
3995e16
Making PCovC accessible via API reference on docs for now.
rvasav26 May 14, 2025
b3d0e84
Merging adding-pcovc-new branch's updates with adding-kpcovc
rvasav26 May 14, 2025
5267aa6
Investigating KPCovC test_linear_matches_pcovc and test_reconstructio…
rvasav26 May 15, 2025
df8fa2e
Making PCovC accessible via API reference on docs for now.
rvasav26 May 14, 2025
160790e
Modifying docstrings and setting up docs
rvasav26 May 15, 2025
ba9070f
Touching up docstrings
rvasav26 May 16, 2025
f56ea06
Implementing Rosy's suggestions to code
rvasav26 May 16, 2025
3de7697
Changing test_kpcovc_error
rvasav26 May 21, 2025
c414699
Merging latest changes from adding-pcovc-new branch
rvasav26 May 21, 2025
2e34f07
Adding KPCovC to docs
rvasav26 May 21, 2025
d28e3bd
Changing assertTrue to assertEqual for correctness
rvasav26 May 25, 2025
43d91e2
Investigating into KPCovC inconsistencies
rvasav26 May 27, 2025
9dd8a29
Trying out some things for KPCovC problems
rvasav26 May 29, 2025
c7b70a9
Changing KPCovC's test_precomputed_classification
rvasav26 May 29, 2025
8b19a1d
Continuing KPCovC investigation
rvasav26 Jun 4, 2025
4ff6377
Changing _BasePCov and _BaseKPCov to be abstract base classes
rvasav26 Jun 1, 2025
6385512
Cleaning up print statements
rvasav26 Jun 4, 2025
02e218a
Merging PCovC update
rvasav26 Jun 4, 2025
480f029
Removing KPCovC experiment
rvasav26 Jun 4, 2025
e33524b
Trying mixing=1.0 for KPCovC/PCovC match
rvasav26 Jun 5, 2025
bbddbdf
Switching KPCovC back to using SVC
rvasav26 Jun 8, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions docs/src/references/decomposition.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,19 @@ Kernel PCovR
.. automethod:: predict
.. automethod:: inverse_transform
.. automethod:: score

.. _KPCovC-api:

Kernel PCovC
------------

.. autoclass:: skmatter.decomposition.KernelPCovC
:show-inheritance:
:special-members:

.. automethod:: fit
.. automethod:: transform
.. automethod:: predict
.. automethod:: inverse_transform
.. automethod:: decision_function
.. automethod:: score
5 changes: 5 additions & 0 deletions src/skmatter/decomposition/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,20 @@
"""

from ._pcov import _BasePCov
from ._kpcov import _BaseKPCov

from ._pcovr import PCovR
from ._pcovc import PCovC

from ._kernel_pcovr import KernelPCovR
from ._kernel_pcovc import KernelPCovC


__all__ = [
"_BasePCov",
"_BaseKPCov",
"PCovR",
"PCovC",
"KernelPCovR",
"KernelPCovC",
]
Loading
Loading