@pymc.deterministic
def my_deterministic(name="my_deterministic", x = my_stochastic):
return(x**2 - x)
Is there a way to access the original my_deterministic function object given the pymc Deterministic object? I want to use line_profiler on the function.
I want to access the function used to create a deterministic object using the deterministic decorator.
For example, if I have a stochastic:
my_stochastic = pymc.Uniform(name="my_stochastic",lower=0,upper=1)
And a deterministic
Is there a way to access the original my_deterministic function object given the pymc Deterministic object? I want to use line_profiler on the function.