-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom scoring function and forkserver #664
Comments
I think #645 is the same issue. |
What is the version of TPOT? I think TPOT somehow cannot recognized the customized scoring function. I agree that it maybe related to #645. What will happen if n_jobs=1? |
It works when standard fork is used for multihreading. Using latest version of TPOT |
No issue when n_jobs = 1. |
Hmm, weird. It seems that this sklearn's scorer has this pickable issue with |
Using the customer scorer in GridSearchCV with |
Yep, I reproduced this issue with codes below:
I will report this issue to scikit-learn's repo |
That's very kind of you. Could you link the issue? Would like to track. |
Heym I found this old related issue in sklearn, which seems it is still unsolved yet. I will track this one. |
I am using forkserver in order to avoid freezing of TPOT on large dataset. However, i also use a customer scoring function:
when using
scoring = cust_scoring_mcc
as argument for TPOT, it crashes and i find the following in the traceback:Any thoughts?
The text was updated successfully, but these errors were encountered: