PHP Classes

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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 331 All time: 7,134 This week: 571Up
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
Age: ???
All time rank: 3102424 in United States United States
Week rank: 411 Up48 in United States United States Up
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:331
This week:0
All time:7,134
This week:571Up