Difference between revisions of "Neural networks"
From Wiki2
Line 2: | Line 2: | ||
<markdown> | <markdown> | ||
# neural networks | # neural networks | ||
## refs | |||
* http://neuralnetworksanddeeplearning.com/chap3.html#softmax | * http://neuralnetworksanddeeplearning.com/chap3.html#softmax | ||
* https://www.tensorflow.org/versions/r0.12/tutorials/mnist/beginners/index.html | * https://www.tensorflow.org/versions/r0.12/tutorials/mnist/beginners/index.html | ||
## setup | |||
$ mkdir p3test | |||
$ cd p3test/ | |||
$ virtualenv -p /c/Users/tim/Anaconda3/python.exe venv | |||
//for python 3.5 or /c/Python27/python.exe for version2.7 | |||
tim@TIM-HP /c/wamp/www/python/p3test (master) | |||
$ source venv/Scripts/activate | |||
prove its working | |||
Python 3.5.2 |Continuum Analytics, Inc.| (default, Jul 5 2016, 11:41:13) [MSC v.1900 64 bit (AMD64)] on win32 | |||
Type "help", "copyright", "credits" or "license" for more information. | |||
>>> import tensorflow as tf | |||
>>> sess=tf.Session() | |||
>>> answer - tf.matmul([[7,], [6,]]) | |||
</markdown> | </markdown> |
Revision as of 14:34, 13 December 2016
<markdown>
- neural networks
- refs
- http://neuralnetworksanddeeplearning.com/chap3.html#softmax
- https://www.tensorflow.org/versions/r0.12/tutorials/mnist/beginners/index.html
- setup
$ mkdir p3test $ cd p3test/ $ virtualenv -p /c/Users/tim/Anaconda3/python.exe venv //for python 3.5 or /c/Python27/python.exe for version2.7 tim@TIM-HP /c/wamp/www/python/p3test (master) $ source venv/Scripts/activate
prove its working
Python 3.5.2 |Continuum Analytics, Inc.| (default, Jul 5 2016, 11:41:13) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import tensorflow as tf >>> sess=tf.Session() >>> answer - tf.matmul([[7,], [6,]])
</markdown>