def one_hot_encode(value, num_possibilities):
    """Returns one-hot list for value with max number of possibilities"""
    one_hot = [0 for i in range(num_possibilities)]
    one_hot[value] = 1
    return one_hot