-
Notifications
You must be signed in to change notification settings - Fork 31
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
Composition of random variables and parameters #13
Comments
This is also needed for implementing the cdfs of the Distributions, needed for the statistical tests. |
Are you sure you can't do that by accessing the underlying theano variables with |
Ah, that should help. But we could implement that in the classes themselves, like this: def __mul__(self, object):
object * self.tvar
def __rmul__(self, object):
self.tvar * object i'll implement this for all basic operations |
It might be more elegant to return theano expressions directly from |
i overloaded the basic operators, kolmogorow smirnow tests works for now. We may find a more elegent solution . |
Then again, we will need to track extra information like bounds, so I don't see a way around implementing all the operators. |
Why did you memoize the function? |
I will change that |
Users should be able to pass combinations of random variables and parameters to a model. This would allow them to build more models, e.g. for fitting a function to data. But how would this work?
The text was updated successfully, but these errors were encountered: