Created
April 15, 2020 04:48
-
-
Save Muhammad-Yunus/3d7ffae2ca3af4a7b46d57b74c2185e7 to your computer and use it in GitHub Desktop.
MLP ODE Timeseries
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 calc_z_j(x_train, w_train, b_j_train): | |
| for j in range(m): | |
| z_pred[:,j] = np.dot(x_train,w_train[j,:]) + b_j_train[j] | |
| return z_pred | |
| def calc_y_k(z_train, v_train, b_k_train): | |
| for k in range(M): | |
| y_pred[:,k] = np.dot(z_train, v_train[k,:]) + b_k_train[k] | |
| return y_pred |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment