Skip to content

Commit 8e19eee

Browse files
Merge branch 'master' of github.com:lazyprogrammer/machine_learning_examples
2 parents 8e0100c + 4565ac1 commit 8e19eee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ann_class2/util.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def benchmark_pca():
261261
for i in range(Ntest):
262262
Ytest_ind[i, Ytest[i]] = 1
263263

264-
W = np.random.randn(D, 10) / 28
264+
W = np.random.randn(D, 10) / np.sqrt(300)
265265
b = np.zeros(10)
266266
LL = []
267267
LLtest = []

0 commit comments

Comments
 (0)