Using NuSVC with nilearn

How can I use NuSVC as the classifier in nilearn? It is not implemented.

Is there any specific reason why NuSVC is not implemented? I tried implementing it myself by adding code to the decoder.py file, it ran for a few subjects but then threw an error:

ValueError: The dual coefficients or intercepts are not finite. The input data may contain large values and need to bepreprocessed.

Hi,
What you can esily do is to use a NiftiMasker objects to obtain the features as a Numpy array, and then use any Classification engine —nuSVC if you wish— on these features + the labels, and possibly the group information you have.
Home that this answers you question.
Best,
Bertrand