- I am interested in building systems which involves machine learing/opitmization.
- Dr. Eng.
uidilr / bayesian_irl Goto Github PK
View Code? Open in Web Editor NEWBayesian Inverse Reinforcement Learning with simple environments
License: MIT License
Bayesian Inverse Reinforcement Learning with simple environments
License: MIT License
Hi ! thank you for posting the BIRL algorithm for everyone's learning. May i check if this line of code is correct ? because the model being used to compute q_pi_r_tilda is the env model which contains the reward, R (step 1) rather than the reward of r_tilda as described in the BIRL algorithm ?
Hello, thank you for sharing your code. When I run python src/birl.py
, this is the output I get:
sub optimal actions 8/200
100%|โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ| 5000/5000 [00:16<00:00, 310.46it/s]
True rewards: [0, 0, 0.7, 0.7]
Estimated rewards: [-0.8338625 -0.549475 -0.5760875 -0.2005125]
expert_q_values
[[8.866157 8.422768]
[9.091539 8.422768]
[9.336886 9.122767]
[9.570042 9.122767]]
learner_q_values
[[-9.23189 -9.604087]
[-8.833096 -9.319699]
[-8.967461 -9.346312]
[-8.719601 -8.970737]]
Is a0 optimal action for all states: True
Looking at the values of True rewards
and Estimated rewards
in particular: is this the expected behaviour? I would have expected the true and estimated rewards to be very close in value. Maybe I have misinterpreted the output?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.