-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
Survival measures #1372
Survival measures #1372
Conversation
changed default time to maximum value (still not perfect)
Now each survival model has the the training survival times attached (required for The time-dependent measures sometimes return |
FWIW, here is a nice overview: https://rstudio-pubs-static.s3.amazonaws.com/3506_36a9509e9d544386bd3e69de30bca608.html |
Ok, there is also my wished integrated AUC. |
Added iauc.uno. AUC.sh does not work for me, I get segfaults :/ |
I think this is more user friendly, similar to the cost measure constructor. Of course we should delete the other measures, if we use this one.
Good idea to make a constructor for time dependent AUC measures! |
I've cleaned it up a little. I'm still unsure whether I like the constructor or not... |
what do you dislike? (i suggested that to Phillip) |
"Philipp" please. And if you look here you could also look in the PR for getOOB. ;) |
we need a spitzname for you |
I don't see an advantage over a simple and generic |
ok thats a good point. i do have the feeling that we are invading this PR a bit though. new issue? |
What's the status here? Until we have setMeasurePars, we use the constructor? |
@studerus: We decided to delete three of the measures for time dependent auc, because they are numerically unstable. They provided results smaller than 0 and many times where NA, so they did not pass our tests. They are now in the todo-files folder, where they can potentially be fixed. Do you maybe know which of these four time dependent auc measures is the best one? |
By the way, we are thinking of writing a small paper about it (maybe after integrating also the ibs, would you like to join? |
Might be ready for merge. We will probably add more measures after this PR (we moved some to todo-files). Still no working solution for brier score. |
@PhilippPro Writing a paper is good idea and I would be happy to join. |
@mllg |
The problem was that in our tests the measures provided errors many times. See my message above:
One problem might be, that you cannot set time higher than the highest time point, but in resampling this can happen quite easily. |
With the brier score we were unhappy that in the implementations this special kind of object is needed. We also wanted to do that in a separate new commit and either use pec or (my preferential but labourious option) code it by ourselves. |
Did you also inform the developers of |
No. They probably also did not plan to use it for resampling. ;) But we could maybe write them. |
R/measures.R:1405:35: style: Commas should always have a space after. timeROC::timeROC(T = truth[,1L], delta = truth[,2L], marker = response, times = max.time,
^ R/measures.R:1405:55: style: Commas should always have a space after. timeROC::timeROC(T = truth[,1L], delta = truth[,2L], marker = response, times = max.time,
^ tests/testthat/test_learners_all_surv.R:12:100: style: Commas should always have a space after. sub.task = subsetTask(surv.task, subset = c(1:70), features = getTaskFeatureNames(surv.task)[c(1,2)])
^ |
We are somehow stuck here. How is the actual status, do we need #1742? My supervisor showed me this paper (https://bmcmedresmethodol.biomedcentral.com/articles/10.1186/s12874-017-0336-2), where they recommend the Uno-Index. |
I rewrote stuff of this PR in the survival branch in a clean way. I've discovered multiple issues, I'll get back to them in the new PR. |
No description provided.