Login   Register  
PHP Classes

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (2 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 296 All time: 6,637 This week: 1,398Up
Version License PHP version Categories  
multi-armed-bandit 0.1GNU General Public Lice...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: 2915370 in United States United States
Week rank: 1763 Up202 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:296All time:6,637
 This week:0This week:1,398Up