Harshali

What is Tensorflow and What is New in it?

Blog Post created by Harshali on May 25, 2018

1. Tensorflow Tutorial

Objective: Today in this Tensorflow Tutorial, we’ll be learning what is Tensorflow, where it is used, its different features, Tensorflow applications, Latest Release along with its advantages and disadvantages and how to use it in your project.

Tensorflow Tutorial | What is Tensorflow

Tensorflow Tutorial | What is Tensorflow

2. History of Tensorflow

Distbelief, which is what Tensorflow was called before it was upgraded was built in 2011 as a proprietary system based on deep learning neural networks. The source code of distbelief was modified and made into a much better application based library and soon in 2015 came to be known as tensorflow.

3. What is Tensorflow?

TensorFlow is a powerful data flow oriented machine learning library created the Brain Team of Google and made open source in 2015. It is designed to be easy to use and widely applicable on both numeric and neural network oriented problems as well as other domains.

Basically, tensorflow is a low-level toolkit for doing complicated math and it targets researchers who know what they’re doing to build experimental learning architectures, to play around with them and to turn them into running software.

It can be thought of as a programming system in which you represent computations as graphs. Nodes in the graph represent math operations, and the edges represent multidimensional data arrays (tensors) communicated between them.

4. Latest Release

The latest release of tensorflow is 1.7.0 and is available on www.tensorflow.org. It has been designed with deep learning in mind but it is applicable to a much wider range of problems.

Next let’s us know more about Tensore in this Tensorflow Tutorial.

5. About Tensors

Now, as the name suggests, it provides primitives for defining functions on tensors and automatically computing their derivatives.

Tensors are higher dimensional arrays which are used in computer programming to represent a multitude of data in the form of numbers. There are other n-d array libraries available on the internet like Numpy but tensorflow stands apart from them as it offers methods to create tensor functions and automatically compute derivatives.

Tensorflow Tutorial

Tensorflow Tutorial

There are other n-d array libraries available on the internet like Numpy but tensorflow stands apart from them as it offers methods to create tensor functions and automatically compute derivatives.

 

6. Other Uses

You can build other machine learning algorithms on it as well such as decision trees or k-Nearest Neighbors. Given below is an ecosystem of Tensorflow :

Tensorflow Tutorial - Tensorflow Ecosystem

Tensorflow Tutorial – Tensorflow Ecosystem

As can be seen from the above representation, tensorflow integrates well and has dependencies that include GPU processing, python and Cpp and you can use it integrated with container softwares like docker as well.

Next in Tensorflow Tutorial I am introducing you to an important concept of Tensorboard.

7. Tensorboard

Tensorboard, a suit of visualizing tools, is an easy solution to Tensorflow  offered by the creators that lets you visualize the graphs, plot quantitative metrics about the graph with additional data like images to pass through it.

mnist_tensorboard - Tensorflow Tutorial

mnist_tensorboard – Tensorflow Tutorial

8. Operation

Tensorflow runs on a variety of platforms and the installation is Linux-only and more tedious than CPU-only installation. It can be installed using pip or using conda environment. The applications go beyond deep learning to support other forms of machine learning like reinforcement learning, which takes you into goal-oriented tasks like winning video games or helping a robot navigate an uneven landscape.

9. Tensorflow Applications

There are umpteen applications of machine learning and tensorflow allows you to explore the majority of them including sentiment analysis, google translate, text summarization and the one for which it is quite famous for, image recognition which is used by major companies all over the world, including Airbnb, eBay, Dropbox, Snapchat, Twitter, Uber, SAP, Qualcomm, IBM, Intel, and of course, Google, Facebook, Instagram, and even Amazon for various purposes.

10. Tensorflow Features

Tensorflow has APIs for Matlab, and C++ and has a wide language support. With each day passing by, researchers are working on making it more better and recently in the latest Tensorflow Summit, tensorflow.js, a javascript library for training and deploying machine learning models has been introduced and an open source browser integrated platform is available for use at playground.tensorflow.org  where you can see the real-time changes that occur while changing the hyperparameters.

11. Tensorflow Advantages

  • Tensorflow has a responsive construct as you can easily visualize each and every part of the graph.
  • It has platform flexibility, meaning it is modular and some parts of it can be standalone while the others coalesced.
  • It is easily trainable on CPU as well as GPU for distributed computing.
  • It has auto differentiation capabilities which benefit gradient based machine learning algorithms meaning you can compute derivatives of values with respect to other values which results in a graph extension.
  • It has advanced support for threads, asynchronous computation, and queues.
  • It is customizable and open source.

12. Tensorflow Limitations

  • Has GPU memory conflicts with Theano if imported in the same scope.
  • No support for OpenCL
  • Requires prior knowledge of advanced calculus and linear algebra along with a pretty good understanding of machine learning.

This was all on Tensorflow Tutorial.

13. Conclusion

Tensorflow is a great library which can be used for numerical and graphical computation of data in creating deep learning networks and is the most widely used library for various applications like Google Search, Google Translate, Google Photos and many more. There are numerous and amazing things that people have done using machine learning some of which include applications relating to health care, recommendation engines for movies, music, personalized ads, social media sentiment mining, to name a few  and with these advancements in machine learning and artificial intelligence that seem mind-boggling, tensorflow is tool that’s helping to achieve these goals.

 

This Post was originally Published on Tensorflow Tutorial | Dataflair 

Outcomes