You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting preload=False in the TRF instance, crossval produces an error. I don't have time to fix this right now, so I'll just leave a minimal example here:
frommtrfimportTRF, load_sample_datafrommtrf.statsimportcrossvaltmin, tmax=0, 0.4regularization=1000stimulus, response, fs=load_sample_data(n_segments=10)
# This workdstrf=TRF()
crossval(trf, stimulus, response, fs, tmin, tmax, regularization)
# This does nottrf=TRF(preload=False)
crossval(trf, stimulus, response, fs, tmin, tmax, regularization)
The text was updated successfully, but these errors were encountered:
When setting
preload=False
in theTRF
instance,crossval
produces an error. I don't have time to fix this right now, so I'll just leave a minimal example here:The text was updated successfully, but these errors were encountered: