|
1 | 1 | # TensorFlow Examples |
2 | | -Basic code examples for some machine learning algorithms, using TensorFlow library. |
| 2 | +Code examples for some popular machine learning algorithms, using TensorFlow library. Both code and notebook are available. |
3 | 3 |
|
4 | 4 | ## Tutorial index |
5 | 5 |
|
6 | 6 | #### 1 - Introduction |
7 | | -- Hello World ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/helloworld.py)) |
8 | | -- Basic Operations ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/basic_operations.py)) |
| 7 | +- Hello World ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/1%20-%20Introduction/helloworld.py)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/1%20-%20Introduction/helloworld.py)) |
| 8 | +- Basic Operations ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/1%20-%20Introduction/basic_operations.py)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/1%20-%20Introduction/basic_operations.py)) |
9 | 9 |
|
10 | 10 | #### 2 - Basic Classifiers |
11 | | -- Nearest Neighbor ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/nearest_neighbor.py)) |
12 | | -- Linear Regression ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/linear_regression.py)) |
13 | | -- Logistic Regression ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/logistic_regression.py)) |
| 11 | +- Nearest Neighbor ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/2%20-%20Basic%20Classifiers/nearest_neighbor.py)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/2%20-%20Basic%20Classifiers/nearest_neighbor.py)) |
| 12 | +- Linear Regression ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/2%20-%20Basic%20Classifiers/linear_regression.py)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/2%20-%20Basic%20Classifiers/linear_regression.py)) |
| 13 | +- Logistic Regression ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/2%20-%20Basic%20Classifiers/logistic_regression.py)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/2%20-%20Basic%20Classifiers/logistic_regression.py)) |
14 | 14 |
|
15 | 15 | #### 3 - Neural Networks |
16 | | -- Multilayer Perceptron ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/multilayer_perceptron.py)) |
17 | | -- Convolutional Neural Network ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/convolutional_network.py)) |
18 | | -- AlexNet ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/alexnet.py)) |
19 | | -- Reccurent Network ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/recurrent_network.py)) |
| 16 | +- Multilayer Perceptron ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/3%20-%20Neural%20Networks/multilayer_perceptron.py)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/3%20-%20Neural%20Networks/multilayer_perceptron.py)) |
| 17 | +- Convolutional Neural Network ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/3%20-%20Neural%20Networks/convolutional_network.py)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/3%20-%20Neural%20Networks/convolutional_network.py)) |
| 18 | +- AlexNet ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/3%20-%20Neural%20Networks/alexnet.py)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/3%20-%20Neural%20Networks/alexnet.py)) |
| 19 | +- Reccurent Network ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/3%20-%20Neural%20Networks/recurrent_network.py)) |
20 | 20 |
|
21 | 21 | ### 4 - Multi GPU |
22 | | -- Basic Operations on multi-GPU ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/multigpu_basics.py)) |
| 22 | +- Basic Operations on multi-GPU ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/4%20-%20Multi%20GPU/multigpu_basics.py)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/4%20-%20Multi%20GPU/multigpu_basics.py)) |
23 | 23 |
|
24 | 24 | ## Dependencies |
25 | 25 | ``` |
|
28 | 28 | matplotlib |
29 | 29 | cuda (to run examples on GPU) |
30 | 30 | ``` |
| 31 | +For more details about TensorFlow installation, you can check [Setup_TensorFlow.md](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/Setup_TensorFlow.md) |
| 32 | + |
| 33 | +## Dataset |
| 34 | +Some examples require MNIST dataset for training and testing. Don't worry, this dataset will automatically be downloaded when running examples (with input_data.py). |
| 35 | +MNIST is a database of handwritten digits, with 60,000 examples for training and 10,000 examples for testing. (Website: [http://yann.lecun.com/exdb/mnist/](http://yann.lecun.com/exdb/mnist/)) |
31 | 36 |
|
32 | 37 | _Other tutorials are coming soon..._ |
0 commit comments