Closed Noah-Lanier closed 2 years ago
When calculating ds features, after 13999 correctly calculated windows, there is an error saying
Error using chol Matrix must be positive definite.
Error in wilson_sf (line 78) U(:,:,j) = chol(Sarr(:,:,j) + eye(size(Sarr, 1))2eps);
Error in directed_spectrum (line 91) [H, SIG] = wilson_sf(thisCpsd, fs);
Error in saveFeatures (line 276) [directedSpectrum, dsFeatures, S] = directed_spectrum(X, labels.area, fs, f,...
This has happened two times I have tried to calculate features. This is for the cSDS_EPM data.
I am definitely using the latest version of the conditional_lsd branch btw, so it isn't an issue with me using the wrong branch/version. My directedSpectrum feature version is 'directed_spectrum_1.0'
When calculating ds features, after 13999 correctly calculated windows, there is an error saying
Error using chol Matrix must be positive definite.
Error in wilson_sf (line 78) U(:,:,j) = chol(Sarr(:,:,j) + eye(size(Sarr, 1))2eps);
Error in directed_spectrum (line 91) [H, SIG] = wilson_sf(thisCpsd, fs);
Error in saveFeatures (line 276) [directedSpectrum, dsFeatures, S] = directed_spectrum(X, labels.area, fs, f,...
This has happened two times I have tried to calculate features. This is for the cSDS_EPM data.