TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: OpenAI's Cartpole Can Be Optimally Solved in ~10 Random Initializations

1 pointsby eugenhotajalmost 7 years ago

1 comment

tlbalmost 7 years ago
Indeed, cartpole should be that easy. The observation vector is dimension 4, and the action vector is dimension 1. Gym has a range of difficulties, of which this is the lowest. It&#x27;s good for debugging because you can verify the math in your head.<p>The linked code is quite fragile, though. It chooses random models (4-vectors) with all positive signs between 0 and 1. It so happens that there&#x27;s a valid solution in this range, but a good RL agent should work equally well with flipped signs of observation and action vectors, and it should be able to solve it (possibly with more iterations) with any affine transformation of the two vector spaces.
评论 #17546248 未加载