Also, I've found that nearest neighbors are often faster using a single
core given the overhead that multiprocessing brings... If you're doing a
single query over billions or more of points, parallel is faster, but if
you are doing lots of neighbor queries over hundreds of thousand or a
few million points, the single threaded call will be faster.
~Shane
On 05/30, Gael Varoquaux wrote:
You need to set the n_jobs parameter of the KNearestNeighbour object.
Gaƫl
_______________________________________________
scikit-learn mailing list
scikit-learn@python.org
https://mail.python.org/mailman/listinfo/scikit-learn
--
*PhD candidate & Research Assistant*
*Cooperative Institute for Research in Environmental Sciences (CIRES)*
*University of Colorado at Boulder*
_______________________________________________
scikit-learn mailing list
scikit-learn@python.org
https://mail.python.org/mailman/listinfo/scikit-learn