You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
total_size=Y_train.shape[0], # IMPORTANT for minibatches
163
+
total_size=X_train.shape[0], # IMPORTANT for minibatches
159
164
dims="obs_id",
160
165
)
161
166
return neural_network
162
167
163
168
164
-
neural_network = construct_nn(X_train, Y_train)
169
+
# Create the neural network model
170
+
neural_network = construct_nn()
165
171
```
166
172
167
173
That's not so bad. The `Normal` priors help regularize the weights. Usually we would add a constant `b` to the inputs but I omitted it here to keep the code cleaner.
0 commit comments