
import numpy as np






def 							_lowercase							(     UpperCamelCase_		)		->		np.ndarray:
					'''simple docstring'''


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






def 							_lowercase							(     UpperCamelCase_		)		->		np.ndarray:
					'''simple docstring'''


					return vector * sigmoid(UpperCamelCase_		)


if __name__ == "__main__":
				import doctest

				doctest.testmod()







import os
from math import logaa






def 							_lowercase							(     UpperCamelCase_ = "base_exp.txt"		)		->		int:
					'''simple docstring'''


					SCREAMING_SNAKE_CASE__													= 0
					SCREAMING_SNAKE_CASE__													= 0
					for i, line in enumerate(open(os.path.join(os.path.dirname(UpperCamelCase_		)	,	UpperCamelCase_		)		)		):
										SCREAMING_SNAKE_CASE__						, SCREAMING_SNAKE_CASE__													= list(map(UpperCamelCase_	,	line.split(','		)		)		)
										if x * logaa(UpperCamelCase_		) > largest:
															SCREAMING_SNAKE_CASE__													= x * logaa(UpperCamelCase_		)
															SCREAMING_SNAKE_CASE__													= i + 1
					return result


if __name__ == "__main__":
				print(solution())





