MCPcopy 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
48def 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
54def test_weights_ndim3_align():

Callers

nothing calls this directly

Calls 2

loadFunction · 0.90
transformMethod · 0.45

Tested by

no test coverage detected