Skip to content

Different policy types with particle filter #385

Discussion options

You must be logged in to vote

Hi @DonalOCois , welcome to the Julia POMDP ecosystem.

It looks like your problem is in the FunctionPolicy. First, just to make sure you understand the syntax, you may want to review the docs about anonymous functions: https://docs.julialang.org/en/v1/manual/functions/#man-anonymous-functions . In particular, right now, the function in your FunctionPolicy returns a function (either a->a[2] or a->a[1]) when it should just return an action (either -1 or 1).

Additionally, if you are using a particle filter, you should be defining a policy that acts on beliefs, not states. This means you should use the distribution interface or particle belief interface to interact with the belief. Since you …

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@DonalOCois
Comment options

@rejuvyesh
Comment options

@DonalOCois
Comment options

@zsunberg
Comment options

@DonalOCois
Comment options

Answer selected by DonalOCois
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants