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: Bandit Algorithm for iOS, Android and Unity

24 pointsby splitforcealmost 11 years ago

5 comments

orasisalmost 11 years ago
For the DIY crowd, implementing this on your own is a straightforward (and fun) exercise.<p>I used the Javascript Bayesian Bandit library found here:<p><a href="https://github.com/omphalos/bayesian-bandit.js/blob/master/bayesian-bandit.js" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;omphalos&#x2F;bayesian-bandit.js&#x2F;blob&#x2F;master&#x2F;b...</a><p>I then used it to create a job that runs every 5 minutes on parse.com that updates an &#x27;order&#x27; field based on the 5 minute sample.<p>Then, from the client side, I simply do a query sorted by the &#x27;order&#x27; field and I get the top variant for that 5 minute interval. Works like a charm!
ikuraalmost 11 years ago
Have seen a lot of these services, but this is definitely worth checking out. I think Multi-armed bandits are the way to go with optimisation, and just won Startup Asia&#x27;s hackathon using this technique for a tinder-style app. A lot of people talk about learning from their customers, but few know how to really do it - understanding the math behind what&#x27;s going on gives me much better confidence when deploying this type of service... Great work sharing it in this way.
iosnoobalmost 11 years ago
As a splitforce user this is pretty cool.. biggest issue is having to wait for conclusive results, whatever speeds this up and auto prunes away the losing options is welcome.
评论 #7805611 未加载
broodsugaralmost 11 years ago
Getting Splitforce already at the test stages of development is one of the smartest things a game studio can do.
评论 #7805066 未加载
0x0almost 11 years ago
That custom scroll handler which overrides the native ios mobilesafari scroll handler is quite the annoying distraction. :-&#x2F;
评论 #7805371 未加载