Skip to content

Commit 9e9ee6e

Browse files
Update feedforward.py (#15)
* Update feedforward.py * Update models/feedforward.py Co-authored-by: Eric Ma <[email protected]>
1 parent ea0915d commit 9e9ee6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/feedforward.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ def fit(self, X, y, n=200000, batch_size=10):
5252
Train the Bayesian NN model.
5353
"""
5454
num_samples, self.num_pred = X.shape
55+
_, self.num_out = y.shape
5556

5657
if self.cached_model is None:
5758
self.cached_model = self.create_model()
@@ -66,4 +67,3 @@ def fit(self, X, y, n=200000, batch_size=10):
6667
return self
6768

6869

69-

0 commit comments

Comments
 (0)