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

Corrected kaplan_meier_estimator documentation to give correct default argument #430

Merged
merged 2 commits into from
Jan 27, 2024
Merged

Corrected kaplan_meier_estimator documentation to give correct default argument #430

merged 2 commits into from
Jan 27, 2024

Conversation

CaderIdris
Copy link
Contributor

Problem: kaplan_meier_estimator docstring shows conf_type default argument as log-log instead of None
Solution: Changed docstring to match code

Checklist

  • code is well formatted
  • documentation renders correctly

What does this implement/fix? Explain your changes

Was wondering why my code wasn't working, turns out the wrong default argument is listed on the docs. This should fix it. Haven't checked for disparity between docs and code for other functions/classes but this is the only one I've had issues with so far.

value

Problem: kaplan_meier_estimator docstring shows conf_type default
argument as log-log instead of None
Solution: Changed docstring to match code
@sebp
Copy link
Owner

sebp commented Jan 27, 2024

Thanks for your PR. Could you please also fix the documentation of sksurv.nonparametric.SurvivalFunctionEstimator?

Copy link

codecov bot commented Jan 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (d26799f) 98.04% compared to head (975de2d) 98.04%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #430   +/-   ##
=======================================
  Coverage   98.04%   98.04%           
=======================================
  Files          37       37           
  Lines        3423     3423           
  Branches      516      516           
=======================================
  Hits         3356     3356           
  Misses         32       32           
  Partials       35       35           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sebp sebp merged commit bc0199d into sebp:master Jan 27, 2024
17 checks passed
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

Successfully merging this pull request may close these issues.

2 participants