GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - rmitsuboshi/bandit: A small collection of Bandit algorithms, written in Rust 🦀.

BranchesTags
Open more actions menu

Latest commit

 

History

17 Commits
17 Commits

Folders and files

NameName
Last commit message
Last commit date
img
img
 
 
src
src
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
Cargo.toml
Cargo.toml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

Bandit

A small collection of Bandit algorithms, written in Rust🦀.

This crate provides a generic framework for bandit protocol and some bandit algorithms. The algorithms are named & implemented based on this book.

Test run

One can reproduce the following result by cargo test -- --nocapture command. demo image

How To Use

Write the following line to Cargo.toml.

bandit = { git = "https://github.com/rmitsuboshi/bandit" }

You can find code examples in tests/small-tests.rs. I'll write some documents to every algorithms in this crate.

Currently, the following algorithms are implemented.

Stochastic Bandits

  • ETC (Explore-Then-Commit),
  • UCB (Upper-Confidence-Bound),
  • Asymptotically Optimal UCB (Asymptotically Optimal UCB),

Adversarial Bandits

  • Exp3 (Exponential-weight algorithm for Exploration and Exploitation)
  • Exp3-IX (Exp3 + Implicit eXploration)

Environments

  • Sub-Gaussian environment,
  • A worst-case environment for the ETC algorithm.

About

A small collection of Bandit algorithms, written in Rust 🦀.

Topics

asymptotically-optimal-ucb-algorithmbanditbandit-algorithmsetc-algorithmexp3-algorithmexp3ix-algorithmmachine-learningucb-algorithm

Resources

Readme
MIT license
Activity

Stars

3 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.