I am trying to use one of the GGS functions in Python 2.7 (https://github.com/cvxgrp/GGS, the function that I am trying to use is located inside ggs.py and it is called GGSCrossVal, row 72) but Python shown me this error:
Attempt to start a new process before the current process has finished its bootstrapping phase. This probably means that you are on Windows and you have forgotten to use the proper idiom in the main module: if name == 'main': freeze_support() ... The "freeze_support()" line can be omitted if the program is not going to be frozen to produce a Windows executable.
Where do I have to put this command? .
I have generated a data matrix of 2x3740, data taken from a bivariate distribution with a certain mean and a certain covariance matrix (actually I have generated them in MATLAB and imported in Python) and called the function in this way:
trainTestResults = GGSCrossVal(data, 25, [10, 1, 0.1, 0.01, 0.001, 0.0001], [], False)
Could someone please help me? Thank you