@staticmethod
def random_choice(args: List[Any], n: int=1):
    '\n        pick a random element from a set.\n        \n        Example:\n            >> sampler = RandomSearch.random_choice(1,2,3)\n            >> sampler()\n                2\n        '
    choices = []
    for arg in args:
        choices.append(arg)
    if (n == 1):
        return (lambda : np.random.choice(choices, replace=False))
    else:
        return (lambda : np.random.choice(choices, n, replace=False))
pick a random element from a set.

Example:
    >> sampler = RandomSearch.random_choice(1,2,3)
    >> sampler()
        2
@staticmethod
def random_choice(args: List[Any], n: int=1):
    '\n        pick a random element from a set.\n        \n        Example:\n            >> sampler = RandomSearch.random_choice(1,2,3)\n            >> sampler()\n                2\n        '
    choices = []
    for arg in args:
        choices.append(arg)
    if (n == 1):
        return (lambda : np.random.choice(choices, replace=False))
    else:
        return (lambda : np.random.choice(choices, n, replace=False))