Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alinlab/SelfPatch
/ __init__
Method
__init__
utils.py:638–641 ·
view source on GitHub ↗
(self, dim=256, whit=0.5)
Source
from the content-addressed store, hash-verified
636
Class to compute and apply PCA.
637
""
"
638
def
__init__(self, dim=256, whit=0.5):
639
self.dim = dim
640
self.whit = whit
641
self.mean = None
642
643
def
train_pca(self, cov):
644
""
"
Callers
2
__init__
Method · 0.45
__init__
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected