Numpy In Python
from numpy import exp, array, random, dot training_set_inputs = array([[0, 0, 1], [1, 1, 1], [1, 0, 1], [0, 1, 1]]) training_set_outputs = array([[0, 1, 1, 0]]).T random.seed(1) synaptic_weights =…
from numpy import exp, array, random, dot training_set_inputs = array([[0, 0, 1], [1, 1, 1], [1, 0, 1], [0, 1, 1]]) training_set_outputs = array([[0, 1, 1, 0]]).T random.seed(1) synaptic_weights =…
# for converting your text into voice you need to install win32com library and there are many more libraries for this purpose like gtt etc.import win32com.client as wincl speak=wincl.Dispatch("SAPI.SpVoice") speak.Speak("Hello…