Question: write an equivalent lines of code that does the same job as the following code ( function should remain the same ) : import numpy
write an equivalent lines of code that does the same job as the following code function should remain the same:
import numpy as
def forwardpropagationx weights:
# Calculating the weighted sum including bias
weightedsum weights: weights
print weightedsum
# Applying activation function step function
if weightedsum else
return y
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
