Skip to content

Instantly share code, notes, and snippets.

@ShoaibMerajSami
ShoaibMerajSami / parity-3-problem.py
Last active November 16, 2021 16:47 — forked from Mahedi-61/parity-3-problem
Solving Parity-3 problem using 3-layer from scratch
# solving parity-3 problems using numpy only
from os import error
import numpy as np
import math
np.random.seed(1)
def relu(x):
return np.maximum(0, x)