Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ContextLab/hypertools
/ test_weights_ndim1
Function
test_weights_ndim1
tests/test_load.py:48–51 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
46
47
48
def
test_weights_ndim1():
49
# Should return 1 dimensional data
50
geo = load(
'weights_avg'
, reduce=
'PCA'
, ndims=1)
51
assert all(wt.shape == (100, 1)
for
wt in geo.transform())
52
53
54
def
test_weights_ndim3_align():
Callers
nothing calls this directly
Calls
2
load
Function · 0.90
transform
Method · 0.45
Tested by
no test coverage detected