-
Notifications
You must be signed in to change notification settings - Fork 71
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
Clarify how to adjust GP hyp masks and cutoffs #200
Conversation
@nw13slx feel free to squash and merge if this looks good! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. It'll be even better if the arguments can be slightly adjusted for the update_kernel function
flare/gp.py
Outdated
|
||
if hyps_mask is not None: | ||
self.hyps_mask = hyps_mask | ||
if self.cutoffs!= hyps_mask['cutoffs']: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe make cutoff as an argument instead? hyps_mask does not necessarily have a cutoff argument.
flare/gp.py
Outdated
if self.cutoffs!= hyps_mask['cutoffs']: | ||
self.adjust_cutoffs(hyps_mask['cutoffs'],train = False, | ||
new_hyps_mask = hyps_mask) | ||
self.hyps = hyps_mask['hyps'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above. let's just make hyps as an optional input argument.
>> hyps_mask = pm.as_dict() | ||
>> hyps = hyps_mask['hyps'] | ||
>> kernels = hyps_mask['kernels'] | ||
>> gp_model.update_kernel(kernels, 'mc', hyps_mask) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can be revised accordingly.
…are into steven/documentation-update
…documentation-update
Codifying some advice @nw13slx has given me in private communication into FLARE documentation, and updating the GP update_kernel method to simplify changing an extant GP to use a new set of hyperparameters.