




"""simple docstring"""


import numpy as np


def       UpperCAmelCase__ (snake_case__							:      np.array					):
  """simple docstring"""

  return (2 / (1 + np.exp(-2 * vector					))) - 1


if __name__ == "__main__":
    import doctest

    doctest.testmod()








"""simple docstring"""


from typing import Any


def       UpperCAmelCase__ (snake_case__							:      list					):
  """simple docstring"""

  if not input_list:
    return []
  _snake_case							:	List[Any]			=						[input_list.count(snake_case__					) for value in input_list]
  _snake_case							:	Optional[int]			=						max(snake_case__					)  # Gets the maximum count in the input list.
  # Gets values of modes
  return sorted({input_list[i] for i, value in enumerate(snake_case__					) if value == y}					)


if __name__ == "__main__":
     import doctest

     doctest.testmod()


