ML Basics Flashcards
1
Q
Using the following template, construct the calculations for a single neuron or layer in an MLP.
![](https://s3.amazonaws.com/brainscape-prod/system/cm/331/593/649/q_image_thumb.png?1574723204)
A
import numpy as np
Initialize the parameters for each layer
parameters = {None}
Set a test example
x = None
compute the forward pass of the neural network def predict(x, parameters): pass
utilize an activation function def activation(x): pass