'''simple docstring'''






import unittest
from timeit import timeit





def    _SCREAMING_SNAKE_CASE		(			__snake_case       : int      ,		__snake_case       : int							):
     _A								=     first_num if first_num >= second_num else second_num
     _A								=     max_num
     while (common_mult % first_num > 0) or (common_mult % second_num > 0):
          common_mult += max_num
     return common_mult





def    _SCREAMING_SNAKE_CASE		(			__snake_case       : int      ,		__snake_case       : int							):
     return b if a == 0 else greatest_common_divisor(b % a      ,		__snake_case							)





def    _SCREAMING_SNAKE_CASE		(			__snake_case       : int      ,		__snake_case       : int							):
     return first_num // greatest_common_divisor(__snake_case      ,		__snake_case							) * second_num





def    _SCREAMING_SNAKE_CASE		(			):
     _A								=     (
         'from __main__ import least_common_multiple_slow, least_common_multiple_fast'
     )
     print(
         'least_common_multiple_slow():'      ,		timeit('least_common_multiple_slow(1000, 999)'      ,		setup=__snake_case							)      ,		)
     print(
         'least_common_multiple_fast():'      ,		timeit('least_common_multiple_fast(1000, 999)'      ,		setup=__snake_case							)      ,		)







class lowercase_					(		unittest.TestCase ):







   """simple docstring"""

   __lowerCAmelCase    						=      (
       (1_0, 2_0),
       (1_3, 1_5),
       (4, 3_1),
       (1_0, 4_2),
       (4_3, 3_4),
       (5, 1_2),
       (1_2, 2_5),
       (1_0, 2_5),
       (6, 9),
   )
   __lowerCAmelCase    						=      (2_0, 1_9_5, 1_2_4, 2_1_0, 1_4_6_2, 6_0, 3_0_0, 5_0, 1_8)
   def   __UpperCAmelCase      (			self			: List[str]    )     -> Tuple:
        for i, (first_num, second_num) in enumerate(self.test_inputs    ):
             _A								=     least_common_multiple_slow(UpperCamelCase__,   UpperCamelCase__    )
             _A								=     least_common_multiple_fast(UpperCamelCase__,   UpperCamelCase__    )
             with self.subTest(i=UpperCamelCase__    ):
                  self.assertEqual(UpperCamelCase__,   self.expected_results[i]    )
                  self.assertEqual(UpperCamelCase__,   self.expected_results[i]    )


if __name__ == "__main__":
   benchmark()
   unittest.main()




'''simple docstring'''






from sklearn.neural_network import MLPClassifier

_UpperCAmelCase						:    str     					=					[[0.0, 0.0], [1.0, 1.0], [1.0, 0.0], [0.0, 1.0]]
_UpperCAmelCase						:    Any     					=					[0, 1, 0, 0]


_UpperCAmelCase						:    List[Any]     					=					MLPClassifier(
    solver='''lbfgs''', alpha=1E-5, hidden_layer_sizes=(5, 2), random_state=1
)

clf.fit(X, y)


_UpperCAmelCase						:    Optional[Any]     					=					[[0.0, 0.0], [0.0, 1.0], [1.0, 1.0]]
_UpperCAmelCase						:    Tuple     					=					clf.predict(test)





def    _SCREAMING_SNAKE_CASE		(			__snake_case       : Optional[Any]							):
     return list(__snake_case							)


if __name__ == "__main__":
   import doctest

   doctest.testmod()



