You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as we know, ThreadPoolExecutor isn't very efficient for computing fitness scores due to python's GIL.
Some packages (e.g. sklearn) use joblib for parallelization.
I tested both joblib and ProcessPoolExecutor on a single fitness function and received minimal difference in runtime.
Both options should be tested at least once on additional examples.
The text was updated successfully, but these errors were encountered:
As far as we know,
ThreadPoolExecutor
isn't very efficient for computing fitness scores due to python's GIL.Some packages (e.g. sklearn) use
joblib
for parallelization.I tested both
joblib
andProcessPoolExecutor
on a single fitness function and received minimal difference in runtime.Both options should be tested at least once on additional examples.
The text was updated successfully, but these errors were encountered: