Skip to content

Instantly share code, notes, and snippets.

@ShoaibMerajSami
ShoaibMerajSami / autoencoder_mnist.py
Created November 16, 2021 16:36 — forked from Mahedi-61/autoencoder_mnist.py
3-layer autoencoder for MNIST digit reconstruction and classification with visualization (Pytorch)
"""
Course: Applications of NN (CpE - 520)
Homework Assignment 9
"""
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
import torch
@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)