-
Notifications
You must be signed in to change notification settings - Fork 566
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
The init status in initialize_latent #1078
Comments
Hi @kubotty I agree with you that this is potentially unsafe and that your suggestion is better/safer. I also agree with your comments on the I joined GPy just a while ago and came more or less for maintenance. I don't have the full overview on the backend and thus I am a bit hesitating when it comes to deeper changes. With that said, feel free to start a pull request if you want :) Best |
Hi Both, @MartinBubel you're doing a great job and feel free to have confidence around deeper changes! I wouldn't be 100% sure of the protocol here, but perhaps a deprecation warning initially for empirical samples? Then that would trigger anyone who's using it to (hopefully) raise an issue if it's a problem to remove it? Neil |
thanks Neil for your input. Deprecation warning like "empirical samples is on a deprecation path will be removed in a future version, raise an issue if you need it" would definitely be a good solution - probably the best. |
@kubotty are you interested in doing the PR? If so, feel free to choose me for the review. |
In initialization.py
If the
init
has any strings that include three letters of "PCA", it takes the first branch, and if theinit
includes any length of strings in "empirical_samples" (even an empty string: ""!), it takes the second branch. There is a high possibility that an unexpected branch may be called.I propose changing it to:
In addition, I can't find any situations where 'empirical_samples' is used in any of the calling modules. The
init
possibly has two values: "PCA" and "random" (I apologize if I missed others), so it seems better like this:The text was updated successfully, but these errors were encountered: