Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Fix svm_mnist.py. #7036

Merged
merged 1 commit into from
Jul 20, 2017
Merged

Fix svm_mnist.py. #7036

merged 1 commit into from
Jul 20, 2017

Conversation

yanboliang
Copy link
Contributor

Fix svm_mnist.py doc.
Remove workaround.

@@ -41,8 +41,7 @@
Y = mnist.target[p]
X_show = mnist.data[p]

# This is just to normalize the input to a value inside [0,1],
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we use data processed by PCA, data X is not the original data which in range [0, 255].

>>> np.amax(X)
2383.7941391132126
>>> np.amin(X)
-1525.4982163429079

@yzhliu yzhliu merged commit fada5c1 into apache:master Jul 20, 2017
@yanboliang yanboliang deleted the svm-mnist branch July 20, 2017 10:53
Guneet-Dhillon pushed a commit to Guneet-Dhillon/mxnet that referenced this pull request Sep 13, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants