Created
April 15, 2020 05:03
-
-
Save Muhammad-Yunus/b7cfe9ff6114a2cff0592bbbad1d784c 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 test(x_test, w, v, b_j, b_k): | |
| z_prediction = np.dot(x_test, np.transpose(w)) + b_j | |
| f_z_prediction = f_activation(z_prediction) | |
| y_prediction = np.dot(f_z_prediction, np.transpose(v)) + b_k | |
| f_y_prediction = f_activation_output(y_prediction) | |
| return f_y_prediction | |
| y_prediction_test = np.zeros(len(x), np.float32) | |
| y_prediction_test = test(x, w, v, b_j, b_k) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment