You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the user is expected to provide a list in the inference language named observers which contains the observation function for each simulator defined the simulators list (which lives in the modelling language).
The default pattern for the observation functions looks like:
The first pattern can and should be fully automated by the vscgpm wrapper. The user can then "override" the default observation by defining a dictionary mapping output index to desired observer function, e.g.
The above code tells vscgpm that the observer for output index 0 (i.e. sim_period) is the obs_period procedure, whereas sim_cluster_id and sim_error should be observed using the "default pattern".
The text was updated successfully, but these errors were encountered:
fsaad
changed the title
Make default implementation of ``observers'' in VentureScript CGPM
vscgpm: make default implementation of ``observers''
Jan 15, 2018
Currently, the user is expected to provide a list in the inference language named
observers
which contains the observation function for each simulator defined thesimulators
list (which lives in the modelling language).The default pattern for the observation functions looks like:
whereas a custom observation function might be:
The first pattern can and should be fully automated by the vscgpm wrapper. The user can then "override" the default observation by defining a dictionary mapping output index to desired observer function, e.g.
The above code tells vscgpm that the observer for output index 0 (i.e.
sim_period
) is theobs_period
procedure, whereassim_cluster_id
andsim_error
should be observed using the "default pattern".The text was updated successfully, but these errors were encountered: