PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 332 All time: 7,129 This week: 206Up
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: 3107424 in United States United States
Week rank: 132 Up14 in United States United States Up
Innovation award
Innovation award
Nominee: 2x

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:332
This week:0
All time:7,129
This week:206Up