Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to suppress __repr__ when fitting #1589

Open
vunh16 opened this issue Dec 22, 2023 · 1 comment
Open

Add option to suppress __repr__ when fitting #1589

vunh16 opened this issue Dec 22, 2023 · 1 comment

Comments

@vunh16
Copy link

vunh16 commented Dec 22, 2023

I usually have a loop where I call fit(), and each iteration will produce a line of lifelines.KaplanMeierFitter fitted with %g observations which just floods my notebook's output. I tried going to class BaseFitter and added s = "" but of course it only floods blank new lines instead. Do you have any suggestions that I could suppress this? Maybe add a verbose parameter?

@CamDavidsonPilon
Copy link
Owner

Hi @vunh16, thanks for the suggestion. Can you provide a simple reproducible example so I know what to look for in a fix?

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

No branches or pull requests

2 participants