mTRFpy
mTRFpy copied to clipboard
Error in decoder train in nested_crossval
The bug causes the tmin
and tmax
being reversed twice at this two places in the nested_crossval function:
https://github.com/powerfulbean/mTRFpy/blob/53838c8e71231e772f384e06ab322ed72d867a87/mtrf/stats.py#L124 https://github.com/powerfulbean/mTRFpy/blob/53838c8e71231e772f384e06ab322ed72d867a87/mtrf/stats.py#L269-L275
Thus the finally trained decoding model uses the wrong tmin tmax value