-
Notifications
You must be signed in to change notification settings - Fork 12
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
NAN Error #62
Comments
Hii @anujkhare @tdhock |
hi @theadityasam it would be great to have discussions like this one in the context of a PR where you can make references to specific commits / lines of code anyway that is great that you got an error message working... can you please add a unit test using I think it would be better to stop with an error in R code before calling the C++ routine. same thing for the cv function ... please do NOT re-shuffle folds if there is one that has either all left censored outputs or all right censored outputs. in that case please just stop with an informative error that tells the user they need to manually specify the |
Hiii Toby, |
great to see that you are comitting to the nan branch -- please open a PR for that and let's move the discussion there. yes I think there is a problem in reshuffling in the cv function. to me if the first random fold assignment does not work then there may be a problem with the data, and we should inform the user. do you agree @anujkhare ? |
@tdhock @anujkhare |
great |
So currently I believe the NAN issue occurs when the data is either completely right censored or left truncated. I'll be introducing an error message in the get_censoring_types function of iregnet_fit.cpp whenever this condition is met and then will be testing it in various cases to see if the NAN error still occurs. If it does then I need to discuss if we have missed any other cause for the error.
The text was updated successfully, but these errors were encountered: