Skip to content

Instantly share code, notes, and snippets.

View arvind-iyer's full-sized avatar
⚖️
Listen to what you know instead of what you fear

Arvind Iyer arvind-iyer

⚖️
Listen to what you know instead of what you fear
  • Nokia
  • Bangalore
View GitHub Profile
import numpy as np
def nonlin(x, deriv=False):
if(deriv==True):
return x * (1-x)
return 1/(1+np.exp(-x))
#input data
X = np.array([ [0,0,1],
[0,1,1],
<canvas id="canvas" width="640" height="360"></canvas>
<div class="test">
</div>