facebook / facebook/prophet

Suppressing Stan optimizer printing in Python

Open
#223 39 comments 2 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
20.4k
Forks
4.6k
Avg merge
19h 52m
Merged PRs (30d)
1

Description

Hi,

I recently started using Prophet in Python, and whilst it is working (quite well), it is printing out messages which appear to be generated by PySTAN and suppressing output from stdout, stderr, and stdin doesn't seem to stop it. Could you add an option to suppress output from PySTAN. I've attached screenshots of the output and the function I am trying to use to suppress the output which is not working:

![output from prophet](https://user-images.githubusercontent.com/7847409/27072867-20e88692-5022-11e7-8161-451ce6ad7944.png)

![suppress output](https://user-images.githubusercontent.com/7847409/27072868-20ef0904-5022-11e7-9dcd-e5b93543aab5.png)

Kind regards,
Stuart Reid

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.