Describe the bug
A clear and concise description of what the bug is.
When mTRF-Toolbox is cross-validating discrete variables (e.g. Phonetic feature), Matlab reports an error that Matrix is close to singular or badly scaled. Is there any way to fix or improve this error? Does it have a big impact on the results?
To Reproduce
Steps to reproduce the behavior:
- mTRFcrossval
- Input data size and type [e.g. stim =9920x19 double array]
- Input data contains '...' [e.g. 0 ,1 ]
sitm: load('./data/LalorNatSpeech/dataCND/dataStim.mat','stim');
phon_feat = stim.data{3,1};
TRFtutorial_examples.m.zip
I ran lines 1 to 456 of this tutorial document and it reports this error. I trained the encoding model with phoneme features on my own data and it also reports the same error.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Training/validating model
0/16 [ ]
Warning: Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND = 5.577082e-13.
In mTRFcrossval (line 242)
Desktop (please complete the following information):
- OS: ubuntu20.04
- Software: MATLAB
- Version R2021a
Describe the bug
A clear and concise description of what the bug is.
When mTRF-Toolbox is cross-validating discrete variables (e.g. Phonetic feature), Matlab reports an error that Matrix is close to singular or badly scaled. Is there any way to fix or improve this error? Does it have a big impact on the results?
To Reproduce
Steps to reproduce the behavior:
sitm: load('./data/LalorNatSpeech/dataCND/dataStim.mat','stim');
phon_feat = stim.data{3,1};
TRFtutorial_examples.m.zip
I ran lines 1 to 456 of this tutorial document and it reports this error. I trained the encoding model with phoneme features on my own data and it also reports the same error.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Training/validating model
0/16 [ ]
Warning: Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND = 5.577082e-13.
Desktop (please complete the following information):