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

changed warning for convergence #26

Merged
merged 3 commits into from
Aug 1, 2024
Merged

changed warning for convergence #26

merged 3 commits into from
Aug 1, 2024

Conversation

eweine
Copy link
Collaborator

@eweine eweine commented Jul 24, 2024

@pcarbo I've received a few questions from people using fastglmpca about what to do when fastglmpca hasn't converged. Based on the new experiments in our paper, I think it's reasonable to suggest that it might be okay to run clustering on a model that has not fully converged. What do you think?

@eweine eweine requested a review from pcarbo July 24, 2024 18:07
@pcarbo
Copy link
Member

pcarbo commented Jul 25, 2024

@eweine Toning down the message is not a bad a idea; for example, we could say something like, "Note that the specified convergence criterion was not satisified within X iterations." We could also convert it from warning to a message. We might want to complement this with a message that indicates with the convergence criterion was sastified, e.g., "Stopping at iteration X because the convergence criterion was met."

I don't see a need to mention anything specifically about clustering — clustering is an entirely independent step. The larger question about when the results are "good enough" does not have a straightforward answer; the answer to this question will depend on the data set. The user will have to use their own judgement.

@eweine
Copy link
Collaborator Author

eweine commented Jul 29, 2024

Ok @pcarbo I took your advice above.

@pcarbo
Copy link
Member

pcarbo commented Jul 30, 2024

@eweine That looks good, except that the convention in R is to use message() (analogous to warning()).

@eweine
Copy link
Collaborator Author

eweine commented Aug 1, 2024

@eweine That looks good, except that the convention in R is to use message() (analogous to warning()).

Ok, I changed it to a message.

@eweine eweine merged commit ed33367 into main Aug 1, 2024
1 of 3 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