bbalasub1 / glmnet_python

GNU General Public License v3.0
200 stars 95 forks source link

Allow number of cores to be specified for parallel cvglmnet #29

Closed johnlees closed 6 years ago

johnlees commented 6 years ago

This allows the parallel argument to specify a number of cores lower than the total available (and also avoids NotImplementedError on some systems). Follows the convention of scikit-learn of using -1 to specify all available cores