Trees | Indices | Help |
|
---|
|
This class is used internally in the MCMC sampling process to represent a position. It stores a parameter vector, a reference to the problem definition, and (optionally) caches computed values of log(P).
Instance Methods | |||
|
|||
|
|||
|
|||
position_base or a subclass |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Properties | |
Inherited from |
Method Details |
You need this function and this signature if you are going to pass it to make_list_of_positions(), but not necessarily otherwise.
|
Shows a recent logp value. It should not compute a value unless necessary. The intent is to look up a value in a cache. |
Returns a new
|
The result of this function is to be handed to problem_definition.logp(). This result must contain all the information specifying the position. Normally, this is a vector of floats, but conceivably, you could include other information. |
Returns a numpy vector. The result should contain all the information specifying the position; if not all, it should at least contain all the information that can be usefully expressed as a vector of floating point numbers. Normally, vec() and prms() are identical. |
repr(x)
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Sep 22 04:25:06 2011 | http://epydoc.sourceforge.net |