This code is port of "Toy-Neural-Network-JS" form Daniel shiffman. There is only one activate function which is added to sigmoid function.
For more detail about Neural-Network, go to the "The coding Train" youtube channel the links below.
git:
https://github.com/CodingTrain/Toy-Neural-Network-JS
youtube channel:
https://www.youtube.com/channel/UCvjgXvBlbQiydffZU7m1_aw