SlideShare a Scribd company logo
Data Science and Machine Learning with Tensorflow
Shubham Sharma
Data Scientist
Agenda
• Importance of Machine Learning and AI – Emerging applications, end-use
• Pictures (Amazon recommendations, Driverless Cars)
• Relationship betweeen Data Science and AI .
• Overall structure and components
• What tools can be used – technologies, packages
• List of tools and their classification
• List of frameworks
• Artificial Intelligence and Neural Networks
• Basics Of ML,AI,Neural Networks with implementations
• Machine Learning Depth : Regression Models
• Linear Regression : Math Behind
• Non Linear Regression : Math Behind
• Machine Learning Depth : Classification Models
• Decision Trees : Math Behind
• Deep Learning
• Mathematics Behind Neural Networks
• Terminologies
• What are the opportunities for data analytics professionals
Machine Learning and AI– Everywhere!
Driver Less Cars
Relationship betweeen Data Science and AI
• Data Management
• Data Warehousing
• Large scale
computing
• Rule setting
• Knowledge discovery
• Gathering Data
• Statistical analysis
• Data modelling
• AI and ML
• Business Intelligence
• Data interpretation
• Dashboards
Data
Visualization
Data
Analysis and
AI
Data
Engineering
Data Mining
Relationship betweeen Data Science and AI– Key Structures
Machine Learning and AI Tools,Frameworks
Data Analysis and AI
• Python
• R
• Tensorflow
• Keras
• NumPy
• Pandas
• Scikit-learn
• OpenNLP
• Mahout
• +many others
Data Engineering
• SQL-based technologies
(e.g. PostgreSQL and
MySQL)
• NoSQL technologies (e.g.
Cassandra and MongoDB)
• Hadoop-based
technologies (e.g.
MapReduce, Hive and Pig)
• Data modeling tools (e.g.
ERWin, Enterprise
Architect and Visio)
Data Visualization
• D3.js
• Tableau
• Leaflet
• PowerBI
• ggplot2
• Shiny
Artificial Intelligence and Neural Networks
Any Idea
Involvement of AI in Data Science Prospects
Machine Learning Approach
Different Algorithms in Machine Learning
11
Supervised vs. Unsupervised Learning
• Supervised learning
• Supervision: The training data (observations, measurements, etc.) are
accompanied by labels indicating the class of the observations
• New data is classified based on the training set
• Unsupervised learning
• The class labels of training data is unknown
• Given a set of measurements, observations, etc. with the aim of establishing the
existence of classes or clusters in the data
Regression is a technique used to model and analyze the relationships
between variables and often times how they contribute and are related to
producing a particular outcome together.
.
Machine Learning Depth : Regression Models
Linear Regression
• A classic statistical problem is to try to determine the relationship between a
random
variable Y. and an independent variable x.
• For example, we might consider height and weight of a sample of adults.
Linear regression attempts to explain this relationship by fitting a curve to the
data.
The linear regression model postulates that
Y= b0+b1 x1+ ... +bnxn+ e,where the xi are independent variables and the
"residual" e is a random variable with mean zero. In this applet, we consider the
simplest example of fitting a straight line:
Y= a+bx+e.The coefficients a and b are determined by the condition that the sum
of the square residuals is as small as possible
Linear Regression : Math Behind
• Using – the equation of a straight line y=mx+c
• Get the mean of all the x values
• Get the mean of all the y values and use the following equation (from C1)
• Plot the point this is the only point that we know on the line of regression.
• The only thing to do now is work out the gradient (m)
   
 
where (y-mx) is the intercept
y y m x x
y mx y mx
  
  
 
,
x y
Findthe gradient xy
xx
S
m
S

  
( )( )
xy i i
i i
i i
i i
S x x y y
x y
x y
n
x y nxy
  
 
 

 


 
2
2
2
2 2
( )
xx i
i
i
i
S x x
x
x
n
x nx
 
 
 




You need the different forms as
problems will be presented in
different ways.
In a graphics calculator
x y
= =
=Sxy
 
x x
  
y y
  
x x
  
y y

x
n

x
y
n

y
  
x x y y
 

=Sxx
x
2
( )
i
x x


 
x x
  
2
x x

i
x
n
x


Linear Regression : Math Behind
Nonlinear Regression
Given n data points )
,
(
,
...
),
,
(
),
,
( 2
2
1
1 n
n y
x
y
x
y
x best fit )
(x
f
y 
to the data, where )
(x
f is a nonlinear function of x
Figure. Nonlinear regression model for discrete y vs. x data
)
(x
f
y 
)
,
(
n
n
y
x
)
,
( 1
1
y
x
)
,
(
2
2
y
x
)
,
(
i
i
y
x
)
(
i
i
x
f
y 
http://numericalmethods.eng.usf.edu
18
Logistic Regression
• Logistic regression is the appropriate regression analysis to conduct
when the dependent variable is dichotomous (binary).
• Like all regression analyses, the logistic regression is a predictive
analysis.
• Logistic regression is used to describe data and to explain the
relationship between one dependent binary variable and one or more
nominal, ordinal, interval or ratio-level independent variables.
Logistic Growth Model
or (ignoring e) “rate of increase in Y =
 

 Y
kY
dx
dY 

Equation: e




 kx
e
Y
1
10
8
6
4
2
0
0.0
0.5
1.0
Logistic Growth Model
x
y

k=1/4
k=1/2
k=1
k=2
k=4
21
Classification: Basic Concepts
• Classification: Basic Concepts
• Decision Tree Induction
• Bayes Classification Methods
• Rule-Based Classification
• Model Evaluation and Selection
• Techniques to Improve Classification Accuracy: Ensemble Methods
• Summary
22
Decision Tree Induction: An Example
age?
overcast
student? credit rating?
<=30 >40
no yes yes
yes
31..40
fair
excellent
yes
no
age income student credit_rating buys_computer
<=30 high no fair no
<=30 high no excellent no
31…40 high no fair yes
>40 medium no fair yes
>40 low yes fair yes
>40 low yes excellent no
31…40 low yes excellent yes
<=30 medium no fair no
<=30 low yes fair yes
>40 medium yes fair yes
<=30 medium yes excellent yes
31…40 medium no excellent yes
31…40 high yes fair yes
>40 medium no excellent no
 Training data set: Buys_computer
 The data set follows an example of Quinlan’s ID3
(Playing Tennis)
 Resulting tree:
23
Algorithm for Decision Tree Induction
• Basic algorithm (a greedy algorithm)
• Tree is constructed in a top-down recursive divide-and-conquer manner
• At start, all the training examples are at the root
• Attributes are categorical (if continuous-valued, they are discretized in advance)
• Examples are partitioned recursively based on selected attributes
• Test attributes are selected on the basis of a heuristic or statistical measure (e.g.,
information gain)
• Conditions for stopping partitioning
• All samples for a given node belong to the same class
• There are no remaining attributes for further partitioning – majority voting is employed
for classifying the leaf
• There are no samples left
Deep Learning Approach
Why Deep Learning in AI and Data Science?
Biological Inspiration
“My brain: It's my second favorite organ.”
- Woody Allen, from the movie Sleeper
Idea : To make the computer more robust, intelligent, and learn, …
Let’s model our computer software (and/or hardware) after the brain
Backbone of Deep Learning :- Neural Networks
Mathematics Behind Neural Networks
Biological Neuron
Artificial Neuron
Mathematical terminologies Deep Learning
Training Epochs :- An epoch is a single step in training a neural network; in other
words when a neural network is trained on every training samples only in one pass we
say that one epoch is finished.
Loss Functions :- It is used to measure the inconsistency between predicted value (^y )
and actual label (y ).
Learning Rate :- Learning rate is defined in the context of optimization, and
minimizing the loss function of aneural network.
Batch Size :- Batch size is a term used in machine learning and refers to the number of
training examples utilised in one iteration.
Optimizer :- Optimization Techniques are used in optimizing a Neural Network.
Activation Function :- Activation Function of a node defines the output of that node
Implementation :- Data Science and AI using Tensroflow
https://github.com/shubhamsharmacs/TensorFlow-Examples
Implement a Linear Regression with TensorFlow :-
https://tinyurl.com/ybxrwbwz
Implement a Logistic Regression with TensorFlow :-
https://tinyurl.com/y7esozs4
Implement Nearest Neighbor algorithm with TensorFlow:-
https://tinyurl.com/y8jecc6k
Build a Random Forest classifier with TensorFlow:-
https://tinyurl.com/y8uwf5bm
Build a simple neural network :-
https://tinyurl.com/y7ppk2tf
Build a convolutional neural network :-
https://tinyurl.com/yckjzjkf
Opportunities for Data Science and AI professionals
• Exponential growth in volume of
data being generated and handled
• Increasing awareness among
businesses about importance of
utilizing power of data
• Shortage of Data Scientist talent
supply globally: 200k to 500k as per
different sources
Q & A
Connect with me
• Gmail :- shubhamsharma1318@gmail.com
• Linkedln :- https://linkedin.com/in/shubham-sharma-8889893109/
• StackOverflow :-
https://stackoverflow.com/users/4786793/shubham-sharma
Blogs :- http://dataanalyticsvidhya.com/
•Thank You

More Related Content

What's hot (20)

Statistical Pattern recognition(1)
Statistical Pattern recognition(1)Statistical Pattern recognition(1)
Statistical Pattern recognition(1)
Syed Atif Naseem
 
Machine learning
Machine learningMachine learning
Machine learning
Shreyas G S
 
Data Mining
Data MiningData Mining
Data Mining
IIIT ALLAHABAD
 
BAS 250 Lecture 8
BAS 250 Lecture 8BAS 250 Lecture 8
BAS 250 Lecture 8
Wake Tech BAS
 
Data mining technique (decision tree)
Data mining technique (decision tree)Data mining technique (decision tree)
Data mining technique (decision tree)
Shweta Ghate
 
Lecture 3b: Decision Trees (1 part)
Lecture 3b: Decision Trees (1 part)Lecture 3b: Decision Trees (1 part)
Lecture 3b: Decision Trees (1 part)
Marina Santini
 
My7class
My7classMy7class
My7class
ketan533
 
Teaching Mathematics Concepts via Computer Algebra Systems
Teaching Mathematics Concepts via Computer Algebra SystemsTeaching Mathematics Concepts via Computer Algebra Systems
Teaching Mathematics Concepts via Computer Algebra Systems
inventionjournals
 
Understanding computer vision with Deep Learning
Understanding computer vision with Deep LearningUnderstanding computer vision with Deep Learning
Understanding computer vision with Deep Learning
ShubhWadekar
 
Machine learning Lecture 1
Machine learning Lecture 1Machine learning Lecture 1
Machine learning Lecture 1
Srinivasan R
 
Machine Learning: Foundations Course Number 0368403401
Machine Learning: Foundations Course Number 0368403401Machine Learning: Foundations Course Number 0368403401
Machine Learning: Foundations Course Number 0368403401
butest
 
Decision Tree Learning
Decision Tree LearningDecision Tree Learning
Decision Tree Learning
Milind Gokhale
 
20211229120253D6323_PERT 06_ Ensemble Learning.pptx
20211229120253D6323_PERT 06_ Ensemble Learning.pptx20211229120253D6323_PERT 06_ Ensemble Learning.pptx
20211229120253D6323_PERT 06_ Ensemble Learning.pptx
RaflyRizky2
 
Machine Learning Real Life Applications By Examples
Machine Learning Real Life Applications By ExamplesMachine Learning Real Life Applications By Examples
Machine Learning Real Life Applications By Examples
Mario Cartia
 
Download presentation source
Download presentation sourceDownload presentation source
Download presentation source
butest
 
Identification of Relevant Sections in Web Pages Using a Machine Learning App...
Identification of Relevant Sections in Web Pages Using a Machine Learning App...Identification of Relevant Sections in Web Pages Using a Machine Learning App...
Identification of Relevant Sections in Web Pages Using a Machine Learning App...
Jerrin George
 
Data mining technique for classification and feature evaluation using stream ...
Data mining technique for classification and feature evaluation using stream ...Data mining technique for classification and feature evaluation using stream ...
Data mining technique for classification and feature evaluation using stream ...
ranjit banshpal
 
Introduction to machine learning and applications (1)
Introduction to machine learning and applications (1)Introduction to machine learning and applications (1)
Introduction to machine learning and applications (1)
Manjunath Sindagi
 
Machine Learning Tutorial Part - 2 | Machine Learning Tutorial For Beginners ...
Machine Learning Tutorial Part - 2 | Machine Learning Tutorial For Beginners ...Machine Learning Tutorial Part - 2 | Machine Learning Tutorial For Beginners ...
Machine Learning Tutorial Part - 2 | Machine Learning Tutorial For Beginners ...
Simplilearn
 
25 Machine Learning Unsupervised Learaning K-means K-centers
25 Machine Learning Unsupervised Learaning K-means K-centers25 Machine Learning Unsupervised Learaning K-means K-centers
25 Machine Learning Unsupervised Learaning K-means K-centers
Andres Mendez-Vazquez
 
Statistical Pattern recognition(1)
Statistical Pattern recognition(1)Statistical Pattern recognition(1)
Statistical Pattern recognition(1)
Syed Atif Naseem
 
Machine learning
Machine learningMachine learning
Machine learning
Shreyas G S
 
Data mining technique (decision tree)
Data mining technique (decision tree)Data mining technique (decision tree)
Data mining technique (decision tree)
Shweta Ghate
 
Lecture 3b: Decision Trees (1 part)
Lecture 3b: Decision Trees (1 part)Lecture 3b: Decision Trees (1 part)
Lecture 3b: Decision Trees (1 part)
Marina Santini
 
Teaching Mathematics Concepts via Computer Algebra Systems
Teaching Mathematics Concepts via Computer Algebra SystemsTeaching Mathematics Concepts via Computer Algebra Systems
Teaching Mathematics Concepts via Computer Algebra Systems
inventionjournals
 
Understanding computer vision with Deep Learning
Understanding computer vision with Deep LearningUnderstanding computer vision with Deep Learning
Understanding computer vision with Deep Learning
ShubhWadekar
 
Machine learning Lecture 1
Machine learning Lecture 1Machine learning Lecture 1
Machine learning Lecture 1
Srinivasan R
 
Machine Learning: Foundations Course Number 0368403401
Machine Learning: Foundations Course Number 0368403401Machine Learning: Foundations Course Number 0368403401
Machine Learning: Foundations Course Number 0368403401
butest
 
Decision Tree Learning
Decision Tree LearningDecision Tree Learning
Decision Tree Learning
Milind Gokhale
 
20211229120253D6323_PERT 06_ Ensemble Learning.pptx
20211229120253D6323_PERT 06_ Ensemble Learning.pptx20211229120253D6323_PERT 06_ Ensemble Learning.pptx
20211229120253D6323_PERT 06_ Ensemble Learning.pptx
RaflyRizky2
 
Machine Learning Real Life Applications By Examples
Machine Learning Real Life Applications By ExamplesMachine Learning Real Life Applications By Examples
Machine Learning Real Life Applications By Examples
Mario Cartia
 
Download presentation source
Download presentation sourceDownload presentation source
Download presentation source
butest
 
Identification of Relevant Sections in Web Pages Using a Machine Learning App...
Identification of Relevant Sections in Web Pages Using a Machine Learning App...Identification of Relevant Sections in Web Pages Using a Machine Learning App...
Identification of Relevant Sections in Web Pages Using a Machine Learning App...
Jerrin George
 
Data mining technique for classification and feature evaluation using stream ...
Data mining technique for classification and feature evaluation using stream ...Data mining technique for classification and feature evaluation using stream ...
Data mining technique for classification and feature evaluation using stream ...
ranjit banshpal
 
Introduction to machine learning and applications (1)
Introduction to machine learning and applications (1)Introduction to machine learning and applications (1)
Introduction to machine learning and applications (1)
Manjunath Sindagi
 
Machine Learning Tutorial Part - 2 | Machine Learning Tutorial For Beginners ...
Machine Learning Tutorial Part - 2 | Machine Learning Tutorial For Beginners ...Machine Learning Tutorial Part - 2 | Machine Learning Tutorial For Beginners ...
Machine Learning Tutorial Part - 2 | Machine Learning Tutorial For Beginners ...
Simplilearn
 
25 Machine Learning Unsupervised Learaning K-means K-centers
25 Machine Learning Unsupervised Learaning K-means K-centers25 Machine Learning Unsupervised Learaning K-means K-centers
25 Machine Learning Unsupervised Learaning K-means K-centers
Andres Mendez-Vazquez
 

Similar to Data Science and Machine Learning with Tensorflow (20)

ML Lec 1 (1).pptx
ML Lec 1 (1).pptxML Lec 1 (1).pptx
ML Lec 1 (1).pptx
MuhammadTalha278665
 
Nss power point_machine_learning
Nss power point_machine_learningNss power point_machine_learning
Nss power point_machine_learning
Gauravsd2014
 
Basic course on computer-based methods
Basic course on computer-based methodsBasic course on computer-based methods
Basic course on computer-based methods
improvemed
 
Internship - Python - AI ML.pptx
Internship - Python - AI ML.pptxInternship - Python - AI ML.pptx
Internship - Python - AI ML.pptx
Hchethankumar
 
Internship - Python - AI ML.pptx
Internship - Python - AI ML.pptxInternship - Python - AI ML.pptx
Internship - Python - AI ML.pptx
Hchethankumar
 
Introduction to machine learning and model building using linear regression
Introduction to machine learning and model building using linear regressionIntroduction to machine learning and model building using linear regression
Introduction to machine learning and model building using linear regression
Girish Gore
 
Machine learning introduction
Machine learning introductionMachine learning introduction
Machine learning introduction
Anas Jamil
 
Chapter 05 Machine Learning.pptx
Chapter 05 Machine Learning.pptxChapter 05 Machine Learning.pptx
Chapter 05 Machine Learning.pptx
ssuser957b41
 
Machine learning
Machine learningMachine learning
Machine learning
Mike Martinez
 
Machine Learning.pptx
Machine Learning.pptxMachine Learning.pptx
Machine Learning.pptx
NitinSharma134320
 
Basic course for computer based methods
Basic course for computer based methodsBasic course for computer based methods
Basic course for computer based methods
improvemed
 
Ml - A shallow dive
Ml  - A shallow diveMl  - A shallow dive
Ml - A shallow dive
Gopi Krishna Nuti
 
Camp IT: Making the World More Efficient Using AI & Machine Learning
Camp IT: Making the World More Efficient Using AI & Machine LearningCamp IT: Making the World More Efficient Using AI & Machine Learning
Camp IT: Making the World More Efficient Using AI & Machine Learning
Krzysztof Kowalczyk
 
Machine learning and deep learning algorithms
Machine learning and deep learning algorithmsMachine learning and deep learning algorithms
Machine learning and deep learning algorithms
KannanA29
 
Ml ppt at
Ml ppt atMl ppt at
Ml ppt at
pradeep kumar
 
Machine Learning Essentials Demystified part1 | Big Data Demystified
Machine Learning Essentials Demystified part1 | Big Data DemystifiedMachine Learning Essentials Demystified part1 | Big Data Demystified
Machine Learning Essentials Demystified part1 | Big Data Demystified
Omid Vahdaty
 
Artificial intyelligence and machine learning introduction.pptx
Artificial intyelligence and machine learning introduction.pptxArtificial intyelligence and machine learning introduction.pptx
Artificial intyelligence and machine learning introduction.pptx
ChandrakalaV15
 
Predire il futuro con Machine Learning & Big Data
Predire il futuro con Machine Learning & Big DataPredire il futuro con Machine Learning & Big Data
Predire il futuro con Machine Learning & Big Data
Data Driven Innovation
 
Unit - 1 - Introduction of the machine learning
Unit - 1 - Introduction of the machine learningUnit - 1 - Introduction of the machine learning
Unit - 1 - Introduction of the machine learning
Taranpreet Singh
 
Deeplearning for Computer Vision PPT with
Deeplearning for Computer Vision PPT withDeeplearning for Computer Vision PPT with
Deeplearning for Computer Vision PPT with
naveenraghavendran10
 
Nss power point_machine_learning
Nss power point_machine_learningNss power point_machine_learning
Nss power point_machine_learning
Gauravsd2014
 
Basic course on computer-based methods
Basic course on computer-based methodsBasic course on computer-based methods
Basic course on computer-based methods
improvemed
 
Internship - Python - AI ML.pptx
Internship - Python - AI ML.pptxInternship - Python - AI ML.pptx
Internship - Python - AI ML.pptx
Hchethankumar
 
Internship - Python - AI ML.pptx
Internship - Python - AI ML.pptxInternship - Python - AI ML.pptx
Internship - Python - AI ML.pptx
Hchethankumar
 
Introduction to machine learning and model building using linear regression
Introduction to machine learning and model building using linear regressionIntroduction to machine learning and model building using linear regression
Introduction to machine learning and model building using linear regression
Girish Gore
 
Machine learning introduction
Machine learning introductionMachine learning introduction
Machine learning introduction
Anas Jamil
 
Chapter 05 Machine Learning.pptx
Chapter 05 Machine Learning.pptxChapter 05 Machine Learning.pptx
Chapter 05 Machine Learning.pptx
ssuser957b41
 
Basic course for computer based methods
Basic course for computer based methodsBasic course for computer based methods
Basic course for computer based methods
improvemed
 
Camp IT: Making the World More Efficient Using AI & Machine Learning
Camp IT: Making the World More Efficient Using AI & Machine LearningCamp IT: Making the World More Efficient Using AI & Machine Learning
Camp IT: Making the World More Efficient Using AI & Machine Learning
Krzysztof Kowalczyk
 
Machine learning and deep learning algorithms
Machine learning and deep learning algorithmsMachine learning and deep learning algorithms
Machine learning and deep learning algorithms
KannanA29
 
Machine Learning Essentials Demystified part1 | Big Data Demystified
Machine Learning Essentials Demystified part1 | Big Data DemystifiedMachine Learning Essentials Demystified part1 | Big Data Demystified
Machine Learning Essentials Demystified part1 | Big Data Demystified
Omid Vahdaty
 
Artificial intyelligence and machine learning introduction.pptx
Artificial intyelligence and machine learning introduction.pptxArtificial intyelligence and machine learning introduction.pptx
Artificial intyelligence and machine learning introduction.pptx
ChandrakalaV15
 
Predire il futuro con Machine Learning & Big Data
Predire il futuro con Machine Learning & Big DataPredire il futuro con Machine Learning & Big Data
Predire il futuro con Machine Learning & Big Data
Data Driven Innovation
 
Unit - 1 - Introduction of the machine learning
Unit - 1 - Introduction of the machine learningUnit - 1 - Introduction of the machine learning
Unit - 1 - Introduction of the machine learning
Taranpreet Singh
 
Deeplearning for Computer Vision PPT with
Deeplearning for Computer Vision PPT withDeeplearning for Computer Vision PPT with
Deeplearning for Computer Vision PPT with
naveenraghavendran10
 
Ad

Recently uploaded (20)

Blue Dark Professional Geometric Business Project Presentation .pdf
Blue Dark Professional Geometric Business Project Presentation .pdfBlue Dark Professional Geometric Business Project Presentation .pdf
Blue Dark Professional Geometric Business Project Presentation .pdf
mohammadhaidarayoobi
 
一比一原版(USC毕业证)南加利福尼亚大学毕业证如何办理
一比一原版(USC毕业证)南加利福尼亚大学毕业证如何办理一比一原版(USC毕业证)南加利福尼亚大学毕业证如何办理
一比一原版(USC毕业证)南加利福尼亚大学毕业证如何办理
Taqyea
 
Tableau Cloud - what to consider before making the move update 2025.pdf
Tableau Cloud - what to consider before making the move update 2025.pdfTableau Cloud - what to consider before making the move update 2025.pdf
Tableau Cloud - what to consider before making the move update 2025.pdf
elinavihriala
 
Data Analytics and visualization-PowerBi
Data Analytics and visualization-PowerBiData Analytics and visualization-PowerBi
Data Analytics and visualization-PowerBi
Krishnapriya975316
 
Alcoholic liver disease slides presentation new.pptx
Alcoholic liver disease slides presentation new.pptxAlcoholic liver disease slides presentation new.pptx
Alcoholic liver disease slides presentation new.pptx
DrShashank7
 
Internal Architecture of Database Management Systems
Internal Architecture of Database Management SystemsInternal Architecture of Database Management Systems
Internal Architecture of Database Management Systems
M Munim
 
lecture 33333222234555555555555555556.pptx
lecture 33333222234555555555555555556.pptxlecture 33333222234555555555555555556.pptx
lecture 33333222234555555555555555556.pptx
obsinaafilmakuush
 
Market Share Analysis.pptx nnnnnnnnnnnnnn
Market Share Analysis.pptx nnnnnnnnnnnnnnMarket Share Analysis.pptx nnnnnnnnnnnnnn
Market Share Analysis.pptx nnnnnnnnnnnnnn
rocky
 
15 Benefits of Data Analytics in Business Growth.pdf
15 Benefits of Data Analytics in Business Growth.pdf15 Benefits of Data Analytics in Business Growth.pdf
15 Benefits of Data Analytics in Business Growth.pdf
AffinityCore
 
How Data Annotation Services Drive Innovation in Autonomous Vehicles.docx
How Data Annotation Services Drive Innovation in Autonomous Vehicles.docxHow Data Annotation Services Drive Innovation in Autonomous Vehicles.docx
How Data Annotation Services Drive Innovation in Autonomous Vehicles.docx
sofiawilliams5966
 
time_series_forecasting_constructor_uni.pptx
time_series_forecasting_constructor_uni.pptxtime_series_forecasting_constructor_uni.pptx
time_series_forecasting_constructor_uni.pptx
stefanopinto1113
 
PSUG 7 - 2025-06-03 - David Bianco on Splunk SURGe
PSUG 7 - 2025-06-03 - David Bianco on Splunk SURGePSUG 7 - 2025-06-03 - David Bianco on Splunk SURGe
PSUG 7 - 2025-06-03 - David Bianco on Splunk SURGe
Tomas Moser
 
Content Moderation Services_ Leading the Future of Online Safety.docx
Content Moderation Services_ Leading the Future of Online Safety.docxContent Moderation Services_ Leading the Future of Online Safety.docx
Content Moderation Services_ Leading the Future of Online Safety.docx
sofiawilliams5966
 
Chronic constipation presentaion final.ppt
Chronic constipation presentaion final.pptChronic constipation presentaion final.ppt
Chronic constipation presentaion final.ppt
DrShashank7
 
Ethical Frameworks for Trustworthy AI – Opportunities for Researchers in Huma...
Ethical Frameworks for Trustworthy AI – Opportunities for Researchers in Huma...Ethical Frameworks for Trustworthy AI – Opportunities for Researchers in Huma...
Ethical Frameworks for Trustworthy AI – Opportunities for Researchers in Huma...
Karim Baïna
 
GROUP 7 CASE STUDY Real Life Incident.pptx
GROUP 7 CASE STUDY Real Life Incident.pptxGROUP 7 CASE STUDY Real Life Incident.pptx
GROUP 7 CASE STUDY Real Life Incident.pptx
mardoglenn21
 
llm lecture 4 stanford blah blah blah blah
llm lecture 4 stanford blah blah blah blahllm lecture 4 stanford blah blah blah blah
llm lecture 4 stanford blah blah blah blah
saud140081
 
Arrays in c programing. practicals and .ppt
Arrays in c programing. practicals and .pptArrays in c programing. practicals and .ppt
Arrays in c programing. practicals and .ppt
Carlos701746
 
Artificial-Intelligence-in-Autonomous-Vehicles (1)-1.pptx
Artificial-Intelligence-in-Autonomous-Vehicles (1)-1.pptxArtificial-Intelligence-in-Autonomous-Vehicles (1)-1.pptx
Artificial-Intelligence-in-Autonomous-Vehicles (1)-1.pptx
AbhijitPal87
 
Human body make Structure analysis the part of the human
Human body make Structure analysis the part of the humanHuman body make Structure analysis the part of the human
Human body make Structure analysis the part of the human
ankit392215
 
Blue Dark Professional Geometric Business Project Presentation .pdf
Blue Dark Professional Geometric Business Project Presentation .pdfBlue Dark Professional Geometric Business Project Presentation .pdf
Blue Dark Professional Geometric Business Project Presentation .pdf
mohammadhaidarayoobi
 
一比一原版(USC毕业证)南加利福尼亚大学毕业证如何办理
一比一原版(USC毕业证)南加利福尼亚大学毕业证如何办理一比一原版(USC毕业证)南加利福尼亚大学毕业证如何办理
一比一原版(USC毕业证)南加利福尼亚大学毕业证如何办理
Taqyea
 
Tableau Cloud - what to consider before making the move update 2025.pdf
Tableau Cloud - what to consider before making the move update 2025.pdfTableau Cloud - what to consider before making the move update 2025.pdf
Tableau Cloud - what to consider before making the move update 2025.pdf
elinavihriala
 
Data Analytics and visualization-PowerBi
Data Analytics and visualization-PowerBiData Analytics and visualization-PowerBi
Data Analytics and visualization-PowerBi
Krishnapriya975316
 
Alcoholic liver disease slides presentation new.pptx
Alcoholic liver disease slides presentation new.pptxAlcoholic liver disease slides presentation new.pptx
Alcoholic liver disease slides presentation new.pptx
DrShashank7
 
Internal Architecture of Database Management Systems
Internal Architecture of Database Management SystemsInternal Architecture of Database Management Systems
Internal Architecture of Database Management Systems
M Munim
 
lecture 33333222234555555555555555556.pptx
lecture 33333222234555555555555555556.pptxlecture 33333222234555555555555555556.pptx
lecture 33333222234555555555555555556.pptx
obsinaafilmakuush
 
Market Share Analysis.pptx nnnnnnnnnnnnnn
Market Share Analysis.pptx nnnnnnnnnnnnnnMarket Share Analysis.pptx nnnnnnnnnnnnnn
Market Share Analysis.pptx nnnnnnnnnnnnnn
rocky
 
15 Benefits of Data Analytics in Business Growth.pdf
15 Benefits of Data Analytics in Business Growth.pdf15 Benefits of Data Analytics in Business Growth.pdf
15 Benefits of Data Analytics in Business Growth.pdf
AffinityCore
 
How Data Annotation Services Drive Innovation in Autonomous Vehicles.docx
How Data Annotation Services Drive Innovation in Autonomous Vehicles.docxHow Data Annotation Services Drive Innovation in Autonomous Vehicles.docx
How Data Annotation Services Drive Innovation in Autonomous Vehicles.docx
sofiawilliams5966
 
time_series_forecasting_constructor_uni.pptx
time_series_forecasting_constructor_uni.pptxtime_series_forecasting_constructor_uni.pptx
time_series_forecasting_constructor_uni.pptx
stefanopinto1113
 
PSUG 7 - 2025-06-03 - David Bianco on Splunk SURGe
PSUG 7 - 2025-06-03 - David Bianco on Splunk SURGePSUG 7 - 2025-06-03 - David Bianco on Splunk SURGe
PSUG 7 - 2025-06-03 - David Bianco on Splunk SURGe
Tomas Moser
 
Content Moderation Services_ Leading the Future of Online Safety.docx
Content Moderation Services_ Leading the Future of Online Safety.docxContent Moderation Services_ Leading the Future of Online Safety.docx
Content Moderation Services_ Leading the Future of Online Safety.docx
sofiawilliams5966
 
Chronic constipation presentaion final.ppt
Chronic constipation presentaion final.pptChronic constipation presentaion final.ppt
Chronic constipation presentaion final.ppt
DrShashank7
 
Ethical Frameworks for Trustworthy AI – Opportunities for Researchers in Huma...
Ethical Frameworks for Trustworthy AI – Opportunities for Researchers in Huma...Ethical Frameworks for Trustworthy AI – Opportunities for Researchers in Huma...
Ethical Frameworks for Trustworthy AI – Opportunities for Researchers in Huma...
Karim Baïna
 
GROUP 7 CASE STUDY Real Life Incident.pptx
GROUP 7 CASE STUDY Real Life Incident.pptxGROUP 7 CASE STUDY Real Life Incident.pptx
GROUP 7 CASE STUDY Real Life Incident.pptx
mardoglenn21
 
llm lecture 4 stanford blah blah blah blah
llm lecture 4 stanford blah blah blah blahllm lecture 4 stanford blah blah blah blah
llm lecture 4 stanford blah blah blah blah
saud140081
 
Arrays in c programing. practicals and .ppt
Arrays in c programing. practicals and .pptArrays in c programing. practicals and .ppt
Arrays in c programing. practicals and .ppt
Carlos701746
 
Artificial-Intelligence-in-Autonomous-Vehicles (1)-1.pptx
Artificial-Intelligence-in-Autonomous-Vehicles (1)-1.pptxArtificial-Intelligence-in-Autonomous-Vehicles (1)-1.pptx
Artificial-Intelligence-in-Autonomous-Vehicles (1)-1.pptx
AbhijitPal87
 
Human body make Structure analysis the part of the human
Human body make Structure analysis the part of the humanHuman body make Structure analysis the part of the human
Human body make Structure analysis the part of the human
ankit392215
 
Ad

Data Science and Machine Learning with Tensorflow

  • 1. Data Science and Machine Learning with Tensorflow Shubham Sharma Data Scientist
  • 2. Agenda • Importance of Machine Learning and AI – Emerging applications, end-use • Pictures (Amazon recommendations, Driverless Cars) • Relationship betweeen Data Science and AI . • Overall structure and components • What tools can be used – technologies, packages • List of tools and their classification • List of frameworks • Artificial Intelligence and Neural Networks • Basics Of ML,AI,Neural Networks with implementations • Machine Learning Depth : Regression Models • Linear Regression : Math Behind • Non Linear Regression : Math Behind • Machine Learning Depth : Classification Models • Decision Trees : Math Behind • Deep Learning • Mathematics Behind Neural Networks • Terminologies • What are the opportunities for data analytics professionals
  • 3. Machine Learning and AI– Everywhere! Driver Less Cars
  • 4. Relationship betweeen Data Science and AI • Data Management • Data Warehousing • Large scale computing • Rule setting • Knowledge discovery • Gathering Data • Statistical analysis • Data modelling • AI and ML • Business Intelligence • Data interpretation • Dashboards Data Visualization Data Analysis and AI Data Engineering Data Mining
  • 5. Relationship betweeen Data Science and AI– Key Structures
  • 6. Machine Learning and AI Tools,Frameworks Data Analysis and AI • Python • R • Tensorflow • Keras • NumPy • Pandas • Scikit-learn • OpenNLP • Mahout • +many others Data Engineering • SQL-based technologies (e.g. PostgreSQL and MySQL) • NoSQL technologies (e.g. Cassandra and MongoDB) • Hadoop-based technologies (e.g. MapReduce, Hive and Pig) • Data modeling tools (e.g. ERWin, Enterprise Architect and Visio) Data Visualization • D3.js • Tableau • Leaflet • PowerBI • ggplot2 • Shiny
  • 7. Artificial Intelligence and Neural Networks Any Idea
  • 8. Involvement of AI in Data Science Prospects
  • 10. Different Algorithms in Machine Learning
  • 11. 11 Supervised vs. Unsupervised Learning • Supervised learning • Supervision: The training data (observations, measurements, etc.) are accompanied by labels indicating the class of the observations • New data is classified based on the training set • Unsupervised learning • The class labels of training data is unknown • Given a set of measurements, observations, etc. with the aim of establishing the existence of classes or clusters in the data
  • 12. Regression is a technique used to model and analyze the relationships between variables and often times how they contribute and are related to producing a particular outcome together. . Machine Learning Depth : Regression Models
  • 13. Linear Regression • A classic statistical problem is to try to determine the relationship between a random variable Y. and an independent variable x. • For example, we might consider height and weight of a sample of adults. Linear regression attempts to explain this relationship by fitting a curve to the data. The linear regression model postulates that Y= b0+b1 x1+ ... +bnxn+ e,where the xi are independent variables and the "residual" e is a random variable with mean zero. In this applet, we consider the simplest example of fitting a straight line: Y= a+bx+e.The coefficients a and b are determined by the condition that the sum of the square residuals is as small as possible
  • 14. Linear Regression : Math Behind • Using – the equation of a straight line y=mx+c • Get the mean of all the x values • Get the mean of all the y values and use the following equation (from C1) • Plot the point this is the only point that we know on the line of regression. • The only thing to do now is work out the gradient (m)       where (y-mx) is the intercept y y m x x y mx y mx         , x y
  • 15. Findthe gradient xy xx S m S     ( )( ) xy i i i i i i i i S x x y y x y x y n x y nxy               2 2 2 2 2 ( ) xx i i i i S x x x x n x nx           You need the different forms as problems will be presented in different ways.
  • 16. In a graphics calculator x y = = =Sxy   x x    y y    x x    y y  x n  x y n  y    x x y y    =Sxx x 2 ( ) i x x     x x    2 x x  i x n x  
  • 17. Linear Regression : Math Behind
  • 18. Nonlinear Regression Given n data points ) , ( , ... ), , ( ), , ( 2 2 1 1 n n y x y x y x best fit ) (x f y  to the data, where ) (x f is a nonlinear function of x Figure. Nonlinear regression model for discrete y vs. x data ) (x f y  ) , ( n n y x ) , ( 1 1 y x ) , ( 2 2 y x ) , ( i i y x ) ( i i x f y  http://numericalmethods.eng.usf.edu 18
  • 19. Logistic Regression • Logistic regression is the appropriate regression analysis to conduct when the dependent variable is dichotomous (binary). • Like all regression analyses, the logistic regression is a predictive analysis. • Logistic regression is used to describe data and to explain the relationship between one dependent binary variable and one or more nominal, ordinal, interval or ratio-level independent variables.
  • 20. Logistic Growth Model or (ignoring e) “rate of increase in Y =     Y kY dx dY   Equation: e      kx e Y 1 10 8 6 4 2 0 0.0 0.5 1.0 Logistic Growth Model x y  k=1/4 k=1/2 k=1 k=2 k=4
  • 21. 21 Classification: Basic Concepts • Classification: Basic Concepts • Decision Tree Induction • Bayes Classification Methods • Rule-Based Classification • Model Evaluation and Selection • Techniques to Improve Classification Accuracy: Ensemble Methods • Summary
  • 22. 22 Decision Tree Induction: An Example age? overcast student? credit rating? <=30 >40 no yes yes yes 31..40 fair excellent yes no age income student credit_rating buys_computer <=30 high no fair no <=30 high no excellent no 31…40 high no fair yes >40 medium no fair yes >40 low yes fair yes >40 low yes excellent no 31…40 low yes excellent yes <=30 medium no fair no <=30 low yes fair yes >40 medium yes fair yes <=30 medium yes excellent yes 31…40 medium no excellent yes 31…40 high yes fair yes >40 medium no excellent no  Training data set: Buys_computer  The data set follows an example of Quinlan’s ID3 (Playing Tennis)  Resulting tree:
  • 23. 23 Algorithm for Decision Tree Induction • Basic algorithm (a greedy algorithm) • Tree is constructed in a top-down recursive divide-and-conquer manner • At start, all the training examples are at the root • Attributes are categorical (if continuous-valued, they are discretized in advance) • Examples are partitioned recursively based on selected attributes • Test attributes are selected on the basis of a heuristic or statistical measure (e.g., information gain) • Conditions for stopping partitioning • All samples for a given node belong to the same class • There are no remaining attributes for further partitioning – majority voting is employed for classifying the leaf • There are no samples left
  • 25. Why Deep Learning in AI and Data Science?
  • 26. Biological Inspiration “My brain: It's my second favorite organ.” - Woody Allen, from the movie Sleeper Idea : To make the computer more robust, intelligent, and learn, … Let’s model our computer software (and/or hardware) after the brain
  • 27. Backbone of Deep Learning :- Neural Networks
  • 28. Mathematics Behind Neural Networks Biological Neuron Artificial Neuron
  • 29. Mathematical terminologies Deep Learning Training Epochs :- An epoch is a single step in training a neural network; in other words when a neural network is trained on every training samples only in one pass we say that one epoch is finished. Loss Functions :- It is used to measure the inconsistency between predicted value (^y ) and actual label (y ). Learning Rate :- Learning rate is defined in the context of optimization, and minimizing the loss function of aneural network. Batch Size :- Batch size is a term used in machine learning and refers to the number of training examples utilised in one iteration. Optimizer :- Optimization Techniques are used in optimizing a Neural Network. Activation Function :- Activation Function of a node defines the output of that node
  • 30. Implementation :- Data Science and AI using Tensroflow https://github.com/shubhamsharmacs/TensorFlow-Examples Implement a Linear Regression with TensorFlow :- https://tinyurl.com/ybxrwbwz Implement a Logistic Regression with TensorFlow :- https://tinyurl.com/y7esozs4 Implement Nearest Neighbor algorithm with TensorFlow:- https://tinyurl.com/y8jecc6k Build a Random Forest classifier with TensorFlow:- https://tinyurl.com/y8uwf5bm Build a simple neural network :- https://tinyurl.com/y7ppk2tf Build a convolutional neural network :- https://tinyurl.com/yckjzjkf
  • 31. Opportunities for Data Science and AI professionals • Exponential growth in volume of data being generated and handled • Increasing awareness among businesses about importance of utilizing power of data • Shortage of Data Scientist talent supply globally: 200k to 500k as per different sources
  • 32. Q & A
  • 33. Connect with me • Gmail :- [email protected] • Linkedln :- https://linkedin.com/in/shubham-sharma-8889893109/ • StackOverflow :- https://stackoverflow.com/users/4786793/shubham-sharma Blogs :- http://dataanalyticsvidhya.com/