We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Public method for parameter initialisation on all objects.
import jaxkern as jk import gpjax as gpx import jax.random as jr prior = gpx.Prior(kernel = jk.RBF()) # Current initialisation method: key = jr.PRNGKey(123) params = prior._initialise_params(key)
# Preferred: params = prior.init_params(key) # Alternative: params = prior.initialise_params(key)
Thoughts @thomaspinder?
The text was updated successfully, but these errors were encountered:
.init_params(key) looks good to me. We need to make sure we add a deprecation flag to ._initialise_params(key) and don't just drop it.
.init_params(key)
._initialise_params(key)
Sorry, something went wrong.
_initialise_params
init_params
No branches or pull requests
Public method for parameter initialisation on all objects.
Example
Current
Proposed
Thoughts @thomaspinder?
The text was updated successfully, but these errors were encountered: