spyrit.misc.statistics.stat_walsh_stl10

spyrit.misc.statistics.stat_walsh_stl10(stat_root=PosixPath('stats'), data_root=PosixPath('data'), img_size=64, batch_size=1024, device=device(type='cpu'))[source]
Args:

data_root is expected to contain an ‘stl10_binary’ subfolder with the test*.bin, train*.bin and unlabeled_X.bin files.

Example:
>>> data_root =  Path('../datasets/')
>>> stat_root =  Path('../stat/stl10')
>>> from spyrit.misc.statistics import stat_walsh_stl10
>>> stat_walsh_stl10(stat_root = stat_root, data_root = data_root)