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

Support arrdist #331

Merged
merged 38 commits into from
Oct 16, 2023
Merged

Support arrdist #331

merged 38 commits into from
Oct 16, 2023

Conversation

RaphaelS1
Copy link
Collaborator

No description provided.

bblodfon and others added 3 commits September 8, 2023 10:27
* Use the Matdist or Arrdist object and not the matrix or array,
same as other scores that use weighted_survival_score()
* Add tests to verify that the score didn't change
Support for `Arrdist` prediction types
R/PredictionSurv.R Outdated Show resolved Hide resolved
R/PredictionSurv.R Outdated Show resolved Hide resolved
R/PredictionSurv.R Outdated Show resolved Hide resolved
@RaphaelS1 RaphaelS1 marked this pull request as ready for review September 15, 2023 16:25
R/PredictionSurv.R Outdated Show resolved Hide resolved
R/integrated_scores.R Outdated Show resolved Hide resolved
* All calls to 'weighted_survival_score' use the internal data (matrix or array)
and not the $distr interface which is slower
* Do not convert to Arrdist, just extract the median survival probabilities matrix
from the 3d array
@RaphaelS1
Copy link
Collaborator Author

dfc97f0

You might want to change which.curve = p_uty() to which.curve = p_dbl(special_vals = "median")

R/PredictionDataSurv.R Outdated Show resolved Hide resolved
R/PredictionDataSurv.R Outdated Show resolved Hide resolved
R/PredictionDataSurv.R Outdated Show resolved Hide resolved
@RaphaelS1 RaphaelS1 merged commit 76dbb0a into main Oct 16, 2023
3 of 4 checks passed
@RaphaelS1 RaphaelS1 deleted the support_arrdist branch October 16, 2023 08:11
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