DEEP LEARNING
Indra Fransiskus Alam
“CODES FOR EVERYONE WE LOVES “
GOOGLE TENSORFLOW
CERTIFIED
KEISUUGIKEN
MACHINE LEARNING
ENTHUSIAST
AI ENGINEER
CONTACT ME
[email protected] github.com/simplephi
om
Indra Fransiskus Alam indra.fa
TensorFlow
● TensorFlow is an open-source library for Machine Intelligence
● It was developed by the Google Brain and released in 2015
● It provides high-level APIs to help implement many machine learning
algorithms and develop complex models in a simpler manner.
● What is a tensor?
● A mathematical object, analogous to but more general than a vector,
represented by an array of components that are functions of the coordinates
of a space.
● TensorFlow computations are expressed as stateful dataflow graphs.
● The name TensorFlow derives from the operations that such neural
networks perform on multidimensional data arrays known as
‘tensors’.
Why TensorFlow?
This is a dialogue between 2 persons on “Why Tensorflow?”
• Person 1: Well it’s an ML framework!!
• Person 2: But isn’t it is a complex one, I know a few which are very simple and
easy to use like Sci-Kit learn, PyTorch, Keras, etc. Why to use Tensoflow?
• Person 1: Ok, Can you implement your own Model in Sci-Kit learn and scale it if
you want?
• Person 2: No. Ok but then for Deep Learning, why not to use Keras or
PyTorch? It has so many models already available in it.
• Person 1: Tensorflow is not only limited to implementing your own models. It
also has lot many models available in it. And apart from that you can do a large
scale distributed model training without writing complex infrastructure around your
code or develop models which need to be deployed on mobile platforms.
• Person 2: Ok. Now I understand “Why Tensorflow?”
What TensorFlow does for You?
• Calculation on large data set includes so much of boring Mathematics,
Equations, etc.
• Implementation of it from scratch all the time is a bit cumbersome task
• Code will also be complex
• TensorFlow is Scalable
• What is Scalability?
• Think of a Smart Traffic Management System of Ahmedabad city :D
• Roads having 4 lanes, number of cross-roads, and not for a single area
-> so much of Computation Data
• Streaming data, Continues data, Decision in real-time
• Single Computer cannot handle it
• Solution?
• Assign computers area/range wise then integrate all of them, this is no more
a complex task today
• Why?
• TensorFlow will take care of it!!
• It can scale the hardware/software requirements by clustering as per the
requirement
What TensorFlow does for You?
• Creates own environment, takes care of everything you will need!
• Manage memory allocations
• Create some variable, you can scale it, make them global
• Statistical and Deep Learning both methods can be implemented
• 3D list, computation of Graph is fast because of the very powerful and
Optimised Data Structure
• Good for Research and Testing
• Useful for Production level coding
PRACTICE
1. Dataset : https://
www.kaggle.com/datasets/harlfoxem/housesalespredictio
n
2. Source Code : https://
drive.google.com/drive/folders/1pQJPabB5ns0Si78T4Nk
zP5Pl1FdIPHVU?usp=share_link
Terima Kasih
Indra Fransiskus Alam
+62 822 9144 4065
[email protected]
Instagram : indra.fa