This repository aims to provide simple and ready-to-use tutorials for TensorFlow.
Each tutorial includes source code
and most of them are associated with a documentation
.
TensorFlow is an open-source software library for dataflow programming across a range of tasks. It is a symbolic math library, and is also used for machine learning applications such as neural networks. It is used for both research and production at Google often replacing its closed-source predecessor, DistBelief.
TensorFlow was developed by the Google Brain team for internal Google use. It was released under the Apache 2.0 open source license on November 9, 2015.
The current stable release as of September 27, 2018 is 1.11.0
There are different motivations for this open source project. TensorFlow (as we write this document) is one of / the best deep learning frameworks available. The question that should be asked is why has this repository been created when there are so many other tutorials about TensorFlow available on the web?
Deep Learning is in very high interest these days - there's a crucial need for rapid and optimized implementations of the algorithms and architectures. TensorFlow is designed to facilitate this goal.
The strong advantage of TensorFlow is it flexibility in designing highly modular models which can also be a disadvantage for beginners since a lot of the pieces must be considered together when creating the model.
This issue has been facilitated as well by developing high-level APIs such as Keras and Slim which abstract a lot of the pieces used in designing machine learning algorithms.
The interesting thing about TensorFlow is that it can be found anywhere these days. Lots of the researchers and developers are using it and its community is growing at the speed of light! So many issues can be dealt with easily since they're usually the same issues that a lot of other people run into considering the large number of people involved in the TensorFlow community.
Developing open source projects for the sake of just developing something is not the reason behind this effort. Considering the large number of tutorials that are being added to this large community, this repository has been created to break the jump-in and jump-out process that usually happens to most of the open source projects, but why and how?
First of all, what's the point of putting effort into something that most of the people won't stop by and take a look? What's the point of creating something that does not help anyone in the developers and researchers community? Why spend time for something that can easily be forgotten? But how we try to do it? Even up to this very moment there are countless tutorials on TensorFlow whether on the model design or TensorFlow workflow.
Most of them are too complicated or suffer from a lack of documentation. There are only a few available tutorials which are concise and well-structured and provide enough insight for their specific implemented models.
The goal of this project is to help the community with structured tutorials and simple and optimized code implementations to provide better insight about how to use TensorFlow quick and effectively.
It is worth noting that, the main goal of this project is to provide well-documented tutorials and less-complicated code!
In order to install TensorFlow please refer to the following link:
The virtual environment installation is recommended in order to prevent package conflict and having the capacity to customize the working environment.
The tutorials in this repository are partitioned into relevant categories.
# | topic | Source Code | |
---|---|---|---|
1 | Start-up | Welcome / IPython | Documentation |
# | topic | Source Code | |
---|---|---|---|
2 | TensorFLow Basics | Basic Math Operations / IPython | Documentation |
3 | TensorFLow Basics | TensorFlow Variables / IPython | Documentation |
# | topic | Source Code | |
---|---|---|---|
4 | Linear Models | Linear Regression / IPython | Documentation |
5 | Predictive Models | Logistic Regression / IPython | Documentation |
6 | Support Vector Machines | Linear SVM / IPython | |
7 | Support Vector Machines | MultiClass Kernel SVM / IPython |
# | topic | Source Code | |
---|---|---|---|
8 | Multi Layer Perceptron | Simple Multi Layer Perceptron / IPython | |
9 | Convolutional Neural Network | Simple Convolutional Neural Networks | Documentation |
10 | Autoencoder | Undercomplete Autoencoder | Documentation |
11 | Recurrent Neural Network | RNN / IPython |
- TensorFlow Examples - TensorFlow tutorials and code examples for beginners
- Sungjoon's TensorFlow-101 - TensorFlow tutorials written in Python with Jupyter Notebook
- Terry Um’s TensorFlow Exercises - Re-create the codes from other TensorFlow examples
- Classification on time series - Recurrent Neural Network classification in TensorFlow with LSTM on cellphone sensor data
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change. For typos, please do not create a pull request. Instead, declare them in issues or email the repository owner.
Please note we have a code of conduct, please follow it in all your interactions with the project.
Please consider the following criterions in order to help us in a better way:
- The pull request is mainly expected to be a code script suggestion or improvement.
- A pull request related to non-code-script sections is expected to make a significant difference in the documentation. Otherwise, it is expected to be announced in the issues section.
- Ensure any install or build dependencies are removed before the end of the layer when doing a build and creating a pull request.
- Add comments with details of changes to the interface, this includes new environment variables, exposed ports, useful file locations and container parameters.
- You may merge the Pull Request in once you have the sign-off of at least one other developer, or if you do not have permission to do that, you may request the owner to merge it for you if you believe all checks are passed.
We are looking forward to your kind feedback. Please help us to improve this open source project and make our work better. For contribution, please create a pull request and we will investigate it promptly. Once again, we appreciate your kind feedback and elaborate code inspections.
I have taken huge efforts in this project for hopefully being a small part of TensorFlow world. However, it would not have been plausible without the kind support and help of my friend and colleague Domenick Poster for his valuable advices. He helped me for having a better understanding of TensorFlow and my special appreciation goes to him. I would also like to thanks Hadi Kazemi for his contribution to this code for developing Undercomplete Autoencoders Tutorial.