Replaced sigma argument with noise in MarginalSparse.marginal_likelihood#2969
Replaced sigma argument with noise in MarginalSparse.marginal_likelihood#2969fonnesbeck merged 5 commits intomasterfrom
Conversation
|
Wouldn't it be more consistent to have everything be |
|
Depends on what we are being consistent with. The rest of the GP module uses |
|
The logic for the different names was that in the general case the noise doesn't have to be diagonal, you can either give an arbitrary covariance func or just sigma to it. But for MarginalSparse it needs to be white. sd instead of sigma makes sense though. I'm ok with changing the name either way. |
|
I think the difference can be made clear in the docstrings, rather than in the naming. It felt odd having to switch the keyword argument when changing from a full to a sparse GP. |
Second this. @bwengals' explanation should definitely go to doc/docstring. |
Currently,
MarginalSparse.marginal_likelihooduses asigmaargument, whileMarginal.marginal_likelihoodusesnoise. Changed tonoiseto make it consistent, and deprecatedsigma.