PHP Classes
elePHPant
Icontem

Multi Armed Bandit: Figure what to test next when testing many factors

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2012-08-26 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 316 This week: 1All time: 6,870 This week: 1,047Up
Version License PHP version Categories
multi-armed-bandit 0.1GNU General Publi...5.3Algorithms, PHP 5, Testing
Description Author

This class can be used to figure what to test next when testing many factors.

It uses the multi-armed bandit algorithm to test several groups of factors and iteratively propose a new option to be tested as eventual the best.

The class can retrieve and store the values for the groups of factors to be tested using functions that can be overridden by sub-classes which can store and retrieve the values in any type of storage like files and databases.

Innovation Award
PHP Programming Innovation award nominee
September 2012
Number 9
When you need to test an application that has many factors influencing its behavior, it may be hard or even impossible to test it in all possible situations.

You need to decide which factors should be tested with greater priority to provide a basic set of relevant tests. However, it may still be hard to decide which factors are more important to test first.

This PHP class implements the multi-armed bandit algorithm to optimize testing processes by proposing successive sets of factors to test in each iteration.

Manuel Lemos
Picture of Brian
Name: Brian <contact>
Classes: 2 packages by
Country: United States United States
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Plain text file MultiArmedBandit.php Class main class file

 Version Control Unique User Downloads Download Rankings  
 0%
Total:316
This week:1
All time:6,870
This week:1,047Up