Open rth opened 6 years ago
@gkjegan Thanks for reporting this issue. I imagine you are using GridSearchCV
from scikit-learn with n_jobs
parameter larger than 1?
Could you please provide a sample of code that raised this exception. Also please provide the output of the following commands,
import platform; print(platform.platform())
import sys; print("Python", sys.version)
import numpy; print("NumPy", numpy.__version__)
import scipy; print("SciPy", scipy.__version__)
import sklearn; print("Scikit-Learn", sklearn.__version__)
import pysofia; print("PySofia", pysofia.__version__)
Thanks.
Hi Roman,
Thanks for the response. here is the output
Windows-10-10.0.15063-SP0 Python 3.6.3 |Anaconda, Inc.| (default, Oct 15 2017, 03:27:45) [MSC v.1900 64 bit (AMD64)] NumPy 1.13.3 SciPy 0.19.1 Scikit-Learn 0.19.1 PySofia 0.9
I am trying just same as example
%pylab inline from sklearn import cross_validation from pysofia.compat import RankSVM, RankSVMCV
scores = cross_validation.cross_val_score(RankSVM(max_iter=200), X, y) print(scores) print(np.mean(scores))
Regards,
Jegan GK
On Thu, Nov 30, 2017 at 9:11 AM, Roman Yurchak notifications@github.com wrote:
@gkjegan https://github.com/gkjegan Thanks for reporting this issue. I imagine you are using GridSearchCV from scikit-learn with n_jobs parameter larger than 1?
Could you please provide a sample of code that raised this exception. Also please provide the output of the following commands,
import platform; print(platform.platform())import sys; print("Python", sys.version)import numpy; print("NumPy", numpy.version)import scipy; print("SciPy", scipy.version)import sklearn; print("Scikit-Learn", sklearn.version)import pysofia; print("PySofia", pysofia.version)
Thanks.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/rth/pysofia/issues/12#issuecomment-348216791, or mute the thread https://github.com/notifications/unsubscribe-auth/ABgkvN6wWXBX8piYc91eote94uhxP5k8ks5s7sW4gaJpZM4Qwsgd .
Issue reported by @gkjegan,