Giter VIP home page Giter VIP logo

lesson's Introduction

#ML and Dev

๐Ÿ‘‹ Hello, I'm Beanie

Always pondering and crafting services
to make life fun and convenient.

ย 

Website Gmail LinkedIn

lesson's People

Contributors

beanie00 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

h4kan

lesson's Issues

What is the meaning of performance?

Hi,

Thanks for this great job. I'm using your method as a baseline and have a question about the learning curves in Fig 2. Is the performance the success rate or some normalized score? I did not find some explanation in the paper.

Thanks.

Clipping inducing bias

y = np.clip(y, 0.05, 0.95)

The clip in the softmax call makes the probabilities have a sum != 1, this means that later the sampling will be biased

def choice(self, options,probs):
x = np.random.rand()
cum = 0
for i,p in enumerate(probs):
cum += p
if x < cum:
break
return options[i]

For low temperatures 1/ww it's likely that many of the probabilities go to 0 and get bumped up to 0.05, with 4 actions if you have 3 of them to zero, you get sums up to ~1.15

[1, 0, 0, 0], becomes [0.95, 0.05, 0.05, 0.05] but the sampling will only consider the first two (because np.random.rand only goes as high as 0.999..) so the distribution becomes equivalent to [0.95, 0.05, 0.00, 0.00].

My suggestion is either re-normalize the clipped probability or just normalize after the clipping.

Also consider using a implementation that subtract the max to avoid numerical issues that could come from extreme Q or ww parameters.

Intrinsic reward coefficient

Hi,

I find the Intrinsic reward coefficient is set to a pretty small value, like 0.01 and 0.001. Does this mean the intrinsic reward has a tiny contibute to the learning?

Thanks.

Temperature parameter (tau)

In the appendix (table 1) you mention a task dependent parameter "Temperature" but there is no "tau" or "temperature" in the code, only softmax_ww.

Is this the parameter you tuned?

The default parameter is 50 which is not in the paper range, would it be softmax_ww = 1/tau?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.