I want to build a multi-threaded server around a scikit-learn estimator.
At the heart of this server there will be a scikit-learn estimator, e.g., a
logistic regression classifier.
The server will handle requests in parallel. Most requests will include a
feature vector, and for these I will return a prediction by calling the
'predict' or 'predict_proba' method on the classifier. If the server has
several threads running concurrently, can they all simultaneously make
calls to the classifier's predict method without causing problems?
What if one of these threads calls the fit() method, while others are still
calling predict? I suspect that will cause problems...
Conrad
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general