Skip to content

Commit fb52f25

Browse files
authored
Merge pull request aws#224 from awslabs/arpin_pca_mnist_payload_size
Fixed: payload was larger than SageMaker limit
2 parents b69ab53 + 6c25561 commit fb52f25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

introduction_to_amazon_algorithms/pca_mnist/pca_mnist.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@
338338
"import numpy as np\n",
339339
"\n",
340340
"eigendigits = []\n",
341-
"for array in np.array_split(train_set[0].T, 50):\n",
341+
"for array in np.array_split(train_set[0].T, 100):\n",
342342
" result = pca_predictor.predict(array)\n",
343343
" eigendigits += [r['projection'] for r in result['projections']]\n",
344344
"\n",

0 commit comments

Comments
 (0)