Skip to content
This repository has been archived by the owner on Jul 10, 2021. It is now read-only.

Turn off predict_proba() terminal output #213

Open
jaquim opened this issue Jun 22, 2016 · 2 comments
Open

Turn off predict_proba() terminal output #213

jaquim opened this issue Jun 22, 2016 · 2 comments

Comments

@jaquim
Copy link

jaquim commented Jun 22, 2016

Hi,

I am running an early stage webservice like application.

What I aim to do is getting a variable (an array) and predict upon that, using an trained and saved (pickled) classifier.

However, everytime predict_proba() is called, it needs to reload its model parameters and prints those parameters to the screen. As this needs to be done more than 40 times, it slows down the request to the webservice significantly. So is there a way to turn that off?

I am thankful in advance, and happy to share additional difficulties if something is unclear.

Cheerio,

Jaquim

@alexjc
Copy link
Member

alexjc commented Jun 22, 2016

I think there was a PR recently to fix this. Try getting latest? Editing the code should be easy enough to remove the print.

@jaquim
Copy link
Author

jaquim commented Jun 22, 2016

Hi Alex,

I am running latest.
Could you specifically point me where to remove the print?

Kind regards

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants