Skip to content

Instantly share code, notes, and snippets.

View anjalibhavan's full-sized avatar

Anjali Bhavan anjalibhavan

View GitHub Profile
@anjalibhavan
anjalibhavan / NeuralNetwork.py
Created August 5, 2018 17:44
Basic Neural Network Implementation Using Numpy
import numpy as np
# N is batch size; D_in is input dimension;
# H is hidden dimension; D_out is output dimension.
m, D_in, H, D_out, learning_rate = 64, 1000, 100, 10, 0.1
# Create random input and output data
x = np.random.randn(m, D_in)
y = np.random.randn(m, D_out)