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

Expose _predict_risk_score in Pipeline #374

Merged
merged 2 commits into from
Jun 10, 2023
Merged

Conversation

sebp
Copy link
Owner

@sebp sebp commented Jun 10, 2023

Checklist

What does this implement/fix? Explain your changes
Adds conditional property _predict_risk_score to sklearn.pipeline.Pipeline if the final estimator of the pipeline has such property.

Superseeds #327

Finesim97 and others added 2 commits June 10, 2023 17:42
Adds conditional property _predict_risk_score to pipeline
if the final estimator of the pipeline has such property.

Fixes #324
@codecov
Copy link

codecov bot commented Jun 10, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.01 🎉

Comparison is base (e376da4) 97.92% compared to head (309ef8e) 97.94%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #374      +/-   ##
==========================================
+ Coverage   97.92%   97.94%   +0.01%     
==========================================
  Files          37       37              
  Lines        3326     3352      +26     
  Branches      502      508       +6     
==========================================
+ Hits         3257     3283      +26     
  Misses         33       33              
  Partials       36       36              
Impacted Files Coverage Δ
sksurv/__init__.py 100.00% <100.00%> (ø)
sksurv/util.py 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@sebp sebp merged commit c65ab0b into master Jun 10, 2023
@sebp sebp deleted the Finesim97-pipeline_scale_fix branch June 10, 2023 16:58
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.

SciKit-Learn Pipeline not patched with "_predict_risk_score"
2 participants