Skip to content

Instantly share code, notes, and snippets.

View AndyM10's full-sized avatar
🦕

Andrew Morrison AndyM10

🦕
View GitHub Profile
import numpy as np
def sigmoid(num):
return 1 / (1 + np.exp(-num))
def deriv_sigmoid(z):
return z * (1 - z)
class ANN:
def __init__(self, x, y):