jaberg/hyperopt — pull request #134 by birbbit (2013-05-17 16:56:15+00:00)
Title: Adding hp.pchoice

Choice with probabilities.

Use:
hp.pchoice(label, probabilities, options)

Where probabilities is a list or tuple of floats corresponding to the probability associated with each of the elements in options.

Examples in tests/testing of hp pchoice.py