Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr


        

Hints

Your answer may be identical to the JOJ answer in the first several lines.

However, the main problem you meet now is Runtime Error. And the exit code of your program is 1, which should be 0.

Please double check your code to solve this problem and try again.

Your Answer

dict_items([(<generator object ParticleFilter.initializeUniformly.<locals>.<genexpr> at 0x7f9dd5fc1150>, 1.0), ((1, 3), 0.0), ((3, 3), 0.0), ((2, 3), 0.0), ((4, 3), 0.0)])
dict_items([((1, 3), 0.25), ((2, 3), 0.25), ((3, 3), 0.25), ((4, 3), 0.25), (<generator object ParticleFilter.initializeUniformly.<locals>.<genexpr> at 0x7f9dd5fc1150>, 0.0)])
*** None) Distribution deviated at move 0 by 1.2500 (squared norm) from the correct answer.
      key:     student                  reference                
   (1, 3):     0.0                      0.25                     
   (3, 3):     0.0                      0.25                     
   (2, 3):     0.0                      0.25                     
<generator object ParticleFilter.initializeUniformly.<locals>.<genexpr> at 0x7f9dd5fc1150>:     1.0                      0.0                      
   (4, 3):     0.0                      0.25                     
*** Method not implemented: observeUpdate at line 367 of inference.py

JOJ Answer

*** None) Particle filter observe test: 0 inference errors.
*** PASS: ./test_cases/q6/4-ParticleUpdate.test