Better HN
topnewbestaskshowjobs
Log inSign up

gh1

486 karma · joined Oct 10, 2016 (10y ago) · 150 submissions

Submissions

comment 4y ago · link · parent

I think the idea is not to replace learning the theory or math, but rather to just postpone it. Learning the practical aspects of an engineering discipline can provide the necessary motivation to study the theory/math, and this is the oft ignored factor. I also think there is some benefit in learning a topic using the tool that you will actually use in production (if that is possible without adding unnecessary complexity in the syllabus).

I personally learned DRL from David Silver's course and Sutton & Burto back in the days. They were the only good resources around and I liked them very much. But I think that with the advent of high-level frameworks in DRL, there are better learning paths.

I do intend to teach the theory/math in a later installment of this series, but I wanted to do it by showing students how to implement the various classes of algorithms e.g. Q-learning (DQN/Rainbow), policy gradients (PPO) and model-based (AlphaZero) using RLlib. This would kill two birds with one stone: you can simultaneously pick up the theory/math and the lower level API of the tool that you will be using in the future anyway.

comment 4y ago · link · parent

Depends on what you mean by faster. Do you mean "time to solution" or "time to inference"? I think there are also more factors to take into consideration when considering the merit of the method e.g. performance, robustness, ability to handle non-linearity, ability to solve the full online problem etc.

When all these factors are taken into account, I have encountered situations where Deep RL performed better.

There are also very public examples of this e.g. Google's data center cooling [0] and competitive sailing [1].

[0] https://www.technologyreview.com/2018/08/17/140987/google-ju... [1] https://www.mckinsey.com/business-functions/mckinsey-digital...

comment 4y ago · link · parent

I think the levels (high, low etc.) are relevant for the Deep RL algorithm, not the environment. The lower level version of OpenAI Gym canned environments would be custom Gym environments. I don't see much reason to go any lower than that.

The situation looks different for Deep RL algorithm. You can implement them from scratch yourself using Tensorflow or any other similar library. Otherwise, you could just use a higher-level library like RLlib which implements the algorithm using modular components and exposes hyperparameters as configuration parameters.

In many real world use cases, all one needs to do is to use RLlib's implementation and then tune the hyperparameters. In that way RLlib is to Deep RL what Keras is to Deep Learning.

This course uses RLlib. Does that answer your question?

comment 4y ago · link · parent

Maybe this would help you differentiate: GPT-3, DALL-E 2 etc. uses transformers, while AlphaGo, OpenAI Five etc. uses Deep Reinforcement Learning. They are not mutually exclusive, but just different things.

comment 4y ago · link · parent

Good catch. I can imagine that this is annoying. I have put it in my todo.

I hope you enjoy the course over the weekend.

comment 4y ago · link · parent

Thanks. I learned it from an Udemy course [0]. Took just a couple of weeks to pick up. Regarding overlays, Sketchbook supports the idea of layers. I simply put different elements in the illustration in different layers. Sketchbook gives me PSD files that can be imported in GIMP. I then export many PNG files by progressively selecting more layers in GIMP. These PNG files go into Beamer like this:

    \begin{figure}
        \includegraphics<2>[width=0.35\textwidth]{images/shop/1.png}%
        \includegraphics<3>[width=0.35\textwidth]{images/shop/2.png}%
    \end{figure}
The % sign is important and it maintains the correct positioning of the images.

[0] https://www.udemy.com/course/drawing-for-trainers-leaders-an...

comment 4y ago · link · parent

My experience matches yours. Recently, I was trying to solve an optimization problem using Deep RL. As usual, I had to run many experiments over several days using various tricks and hyperparameters. Finally, it turned out something related to the symmetry of the action space made a huge difference in learning.

Anyhow, the experimentation stage requires a certain discipline and feels tedious at times. But the moment when learning takes off, it feels great, and for me personally, compensates for the tedious phase before.

It's certainly not fun for everyone, but I guess it could be fun for the target audience of the course (ML engineers/Data Scientists).

Regarding frameworks, my experience has been different. I find RLlib to be more modular and adaptable than SB3. But the learning curve is certainly steeper. The biggest differentiating factor for me is production readiness. Assuming that we are learning something in order to actually use it, I would recommend RLlib over SB3. The equation for researchers may be different though.

comment 4y ago · link · parent

I am sorry about that. Unfortunately, the same thing happens in Firefox when the tracking protection is set to "strict".

This is apparently happening after Teachable updated their video player. Earlier, they used Wistia. Now they use Hotmart.

I have informed Teachable about this issue. They said they will look into it.

The current workaround would be to use Chrome or Firefox (with tracking protection set to a level below "strict").

comment 4y ago · link · parent

I am glad you like it. The coding exercises don't require a GPU. Thankfully, most RL problems (and certainly the ones used in the course) require small neural nets which can be trained in reasonable time using a CPU.

10.

Show HN: Fast Deep Reinforcement Learning Course(courses.dibya.online ↗)

148 points · by gh1 · 4y ago · 37 comments

11.

Show HN: Python Books of the Month(pythonbooks.org ↗)

6 points · by gh1 · 7y ago · 2 comments

comment 7y ago · link · parent

Hi all, creator of PythonBooks here. PythonBooks is running since 2017. During launch, it was on the front page of HN [0]. Thanks to the HN community for showing so much interest in the website. There has been steady traffic ever since and I have tried my best to keep the website updated with the latest books. Starting this month, there's a new page which lists the best Python books published every month - based on popularity, topic and novelty. I thought that it could be an useful tool for Python developers to cut through the noise and keep abreast of the best recent books. Feedback is welcome :-)

[0] https://news.ycombinator.com/item?id=14769317

13.

Show HN: Python Books of the Month(pythonbooks.org ↗)

5 points · by gh1 · 7y ago · 2 comments

comment 7y ago · link · parent

In my opinion, the best problem to solve are your own problems - both emotional and material.

15.

Crypto Sectors Analysis: Gaming and Gambling Rising, Privacy Coins Underperform(hackernoon.com ↗)

2 points · by gh1 · 8y ago · discuss

16.

Cryptoasset Classification and Analysis of Crypto Sectors’ Historical Growth(medium.com ↗)

2 points · by gh1 · 8y ago · discuss

comment 8y ago · link · parent

Yes, different priorities lead to different results. If you are looking at life satisfaction, then 8 hours a day is claimed to be optimal [0].

[0] https://link.springer.com/article/10.1007/s12232-016-0256-1

comment 8y ago · link · parent

The article claims that catching up on sleep during the weekend doesn't work. This is most likely wrong information, as shown in this very recent study [0].

[0] https://onlinelibrary.wiley.com/doi/pdf/10.1111/jsr.12712

19.

What Causes Muslims to Doubt Islam? A Quantitative Analysis(yaqeeninstitute.org ↗)

2 points · by gh1 · 8y ago · discuss

20.

Genome Music(soundcloud.com ↗)

1 points · by gh1 · 8y ago · discuss

comment 8y ago · link · parent

Golem (decentralized computing for rendering, machine learning etc.) just went into beta yesterday.

comment 8y ago · link · parent

You are right. Discovery, fraud protection and many other functions need to be there either way. When I say cost reduction, I mean getting rid of any additional premiums which eBay (or any corporation for that matter) levies because of their strong position in the market.

As for the problems of online poker, the Virtue Poker whitepaper is a good starting point about why blockchain is indeed that magic pixie dust[0]

[0]https://virtue.poker/wp-content/uploads/2018/03/Virtue-Poker...

comment 8y ago · link · parent

A lot of valid points here, but ultimately very short sighted. Firstly, the author does not mention many of the highly plausible use cases for trustless and permissionless services such as replacing rent seeking P2P marketplaces like eBay (where the advantage is cost reduction) or online Poker sites (where the advantage is manipulation resistance). He does not mention DAOS, where strangers can trustlessly enter into contractual obligation to create e.g. a crowdsourced Venture fund. He does not mention the potential to provide financial services to the 2 billion unbanked people in the world. He does not see the potential for innovative and completely new financial products coming out because of the permissionless nature of public blockchains.

The use cases that he sites include buying an e-book using a smart contract or its use in the supply chain or voting. The e-book example is slightly misguided, because this is not an use case where decentralization provides much value. So the entire discussion about auditing smart contracts is rather unnecessary. But it is nonetheless an important objection that may become important in DAOs. But it's short sighted to think that this problem won't be solved. Some companies are already starting to tackle the smart contract to natural language translations (e.g. Iolite).

Supply chain is yet another use case where it is unclear whether blockchains will add value. Perhaps cost saving. But note that the blockchains used in supply chains will most likely be private, therefore permissioned. It's unfair to put private and public blockchains in the same basket, because they are very different beasts.

Finally the use case of voting. The author thinks that whoever is in power might distribute a few additional addresses to their cronies to manipulate the system. He is missing the point that all data is public in public blockchains. So anyone can audit the voting results later if they want and discover that those addresses do not belong to any real people (assuming there is a KYC type identification system built-in). Voting is an use case where blockchains are sorely required. All we need is for the knowledge to reach public consciousness and for the people to tell their governments that they want it.

24.

Ask HN : Is there a free API or database for academic publications?

2 points · by gh1 · 9y ago · 1 comment

comment 9y ago · link · parent

Hats off to you Ines and Frederique. You guys do really great work.
12345