-
Notifications
You must be signed in to change notification settings - Fork 5
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
Scaling Functions #14
Conversation
covariance term which acts as a deterministic transformation of some underlying variable.
e013e53
to
e7a7f86
Compare
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!
|
||
namespace albatross { | ||
|
||
template <typename Term> struct CovarianceFunction { | ||
Term covariance_term; | ||
Term term; |
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.
nit: In the future, could you separate pure naming changes into another commit?
* y ~ N(0, S) with S_ij = cov(y_i, y_j) | ||
* And you may then make observations of that random variable | ||
* but through a known transformation, | ||
* z = f(y) y |
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 like z = f(y) * y
?
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.
done
Add scaling functions which provide a way of defining a covariance term which acts as a deterministic transformation of some underlying variable.