This practice is refer to the following resources credited to Morvan.
- 莫烦PYTHON - TensorFlow: 为什么选 Tensorflow?
- 莫烦PYTHON - TensorFlow: Tensorflow 安装
- 莫烦PYTHON - TensorFlow: 神经网络在干嘛
- 莫烦PYTHON - TensorFlow: 处理结构
- 莫烦PYTHON - TensorFlow: 例子2
- Run
main.py# Make sure your current directory is in this folder $ python3 main.py - If succeed, you may get the following result (the result is not unique)
Step 0: [ 0.30006236] [ 0.97443068] Step 20: [ 0.58665216] [ 0.55998504] Step 40: [ 0.67473793] [ 0.51336902] Step 60: [ 0.69436967] [ 0.50297964] Step 80: [ 0.69874513] [ 0.50066406] Step 100: [ 0.69972026] [ 0.50014806] Step 120: [ 0.6999377] [ 0.50003296] Step 140: [ 0.6999861] [ 0.50000733] Step 160: [ 0.69999689] [ 0.50000167] Step 180: [ 0.69999921] [ 0.50000042] Step 200: [ 0.69999963] [ 0.50000018]