Created
September 24, 2019 20:36
-
-
Save aballah-chamakh/801095e0cb7e58d1e2c3dd63b049ee54 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def predict(x,w1,w2,w3,b1,b2,b3) : | |
| l1 = sigmoid(np.dot(x,w1) + b1) | |
| l2 = sigmoid(np.dot(l1,w2) + b2) | |
| l3 = sigmoid(np.dot(l2,w3) + b3) | |
| print(l3.round(decimals=2)) | |
| test = x[0] | |
| predict(test,*params) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment