Back to PLS Help

convergence error svd
alenarto
Posted on 06/02/08 20:15:32
Number of posts: 41
alenarto posts:

Any thoughts? This is a new error for me. It occurs irrespective of if I try a bhvr or task PLS (I thought maybe it was bhvr data producing null values). I am looking at the raw datamats but this takes a while. One oddity in my dataset set up - 1/2 of the conditions are  normalized to the first time point, and the other 1/2 are normalized to -3 time point - it shouldn't matter but I mention it!

Agatha

Loading datamat: 18 out of 18
??? Error using ==> svd
NaN or Inf prevents convergence.

Error in ==> fmri_perm_behav at 60
       [brainlv,s,behavlv] = svd(stacked_datamatcorrs',0);

Error in ==> fmri_pls_analysis at 418
           [brainlv,s,behavlv,brainscores,behavscores,lvcorrs, ...

Error in ==> fmri_analysis_ui>ExecutePLS at 1787
        fmri_pls_analysis(PLSoptions.profiles, 'BEHAV', ...

Error in ==> fmri_analysis_ui at 90
           ExecutePLS;

??? Error using ==> fmri_analysis_ui('RUN_BUTTON_PRESSED');
Error using ==> svd
NaN or Inf prevents convergence.

??? Error using ==> waitfor
Error while evaluating uicontrol Callback

Replies:

Untitled Post

I'm Online
jshen
Posted on 06/03/08 16:16:48
Number of posts: 291
jshen replies:

If you are running Behavior PLS, make sure you have at least 3 subjects, and also make sure the behavior data are not all the same. Otherwise, I can only imagine that the brain data you got is very different. Please check the brain data also.



Untitled Post
alenarto
Posted on 06/05/08 17:54:55
Number of posts: 41
alenarto replies:

Thanks Jimmy! The brain data were incorrect created. Note I had set the reference scan DURATION (rather than onset) to -3 - producing a whole lot of NaN values in the result. The program noted that it's dividing by zero in datamat creation but it didn't choke.

All fixed.
Agatha



Login to reply to this topic.

  • Keep in touch

Enter your email above to receive electronic messages from Baycrest, including invitations to programs and events, newsletters, updates and other communications.
You can unsubscribe at any time.
Please refer to our Privacy Policy or contact us for more details.

  • Follow us on social
  • Facebook
  • Instagram
  • Linkedin
  • Pinterest
  • Twitter
  • YouTube

Contact Us:

3560 Bathurst Street
Toronto, Ontario
Canada M6A 2E1
Phone: (416) 785-2500

Baycrest is an academic health sciences centre fully affiliated with the University of Toronto