SlideShare uma empresa Scribd logo
1 de 34
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

Mais conteúdo relacionado

Mais procurados

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 learningShreyas 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 Systemsinventionjournals
 
Understanding computer vision with Deep Learning
Understanding computer vision with Deep LearningUnderstanding computer vision with Deep Learning
Understanding computer vision with Deep LearningShubhWadekar
 
Machine learning Lecture 1
Machine learning Lecture 1Machine learning Lecture 1
Machine learning Lecture 1Srinivasan R
 
Machine Learning: Foundations Course Number 0368403401
Machine Learning: Foundations Course Number 0368403401Machine Learning: Foundations Course Number 0368403401
Machine Learning: Foundations Course Number 0368403401butest
 
Decision Tree Learning
Decision Tree LearningDecision Tree Learning
Decision Tree LearningMilind Gokhale
 
20211229120253D6323_PERT 06_ Ensemble Learning.pptx
20211229120253D6323_PERT 06_ Ensemble Learning.pptx20211229120253D6323_PERT 06_ Ensemble Learning.pptx
20211229120253D6323_PERT 06_ Ensemble Learning.pptxRaflyRizky2
 
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 ExamplesMario Cartia
 
Download presentation source
Download presentation sourceDownload presentation source
Download presentation sourcebutest
 
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-centersAndres Mendez-Vazquez
 

Mais procurados (20)

Statistical Pattern recognition(1)
Statistical Pattern recognition(1)Statistical Pattern recognition(1)
Statistical Pattern recognition(1)
 
Machine learning
Machine learningMachine learning
Machine learning
 
Data Mining
Data MiningData Mining
Data Mining
 
BAS 250 Lecture 8
BAS 250 Lecture 8BAS 250 Lecture 8
BAS 250 Lecture 8
 
Data mining technique (decision tree)
Data mining technique (decision tree)Data mining technique (decision tree)
Data mining technique (decision tree)
 
Lecture 3b: Decision Trees (1 part)
Lecture 3b: Decision Trees (1 part)Lecture 3b: Decision Trees (1 part)
Lecture 3b: Decision Trees (1 part)
 
My7class
My7classMy7class
My7class
 
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
 
Understanding computer vision with Deep Learning
Understanding computer vision with Deep LearningUnderstanding computer vision with Deep Learning
Understanding computer vision with Deep Learning
 
Machine learning Lecture 1
Machine learning Lecture 1Machine learning Lecture 1
Machine learning Lecture 1
 
Machine Learning: Foundations Course Number 0368403401
Machine Learning: Foundations Course Number 0368403401Machine Learning: Foundations Course Number 0368403401
Machine Learning: Foundations Course Number 0368403401
 
Decision Tree Learning
Decision Tree LearningDecision Tree Learning
Decision Tree Learning
 
20211229120253D6323_PERT 06_ Ensemble Learning.pptx
20211229120253D6323_PERT 06_ Ensemble Learning.pptx20211229120253D6323_PERT 06_ Ensemble Learning.pptx
20211229120253D6323_PERT 06_ Ensemble Learning.pptx
 
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
 
Download presentation source
Download presentation sourceDownload presentation source
Download presentation source
 
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...
 
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 ...
 
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)
 
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 ...
 
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
 

Semelhante a Data Science and Machine Learning with Tensorflow

Week_1 Machine Learning introduction.pptx
Week_1 Machine Learning introduction.pptxWeek_1 Machine Learning introduction.pptx
Week_1 Machine Learning introduction.pptxmuhammadsamroz
 
Unit 3 – AIML.pptx
Unit 3 – AIML.pptxUnit 3 – AIML.pptx
Unit 3 – AIML.pptxhiblooms
 
Predictive analytics
Predictive analyticsPredictive analytics
Predictive analyticsDinakar nk
 
Machine Learning, Deep Learning and Data Analysis Introduction
Machine Learning, Deep Learning and Data Analysis IntroductionMachine Learning, Deep Learning and Data Analysis Introduction
Machine Learning, Deep Learning and Data Analysis IntroductionTe-Yen Liu
 
ML SFCSE.pptx
ML SFCSE.pptxML SFCSE.pptx
ML SFCSE.pptxNIKHILGR3
 
Machine Learning Unit 1 Semester 3 MSc IT Part 2 Mumbai University
Machine Learning Unit 1 Semester 3  MSc IT Part 2 Mumbai UniversityMachine Learning Unit 1 Semester 3  MSc IT Part 2 Mumbai University
Machine Learning Unit 1 Semester 3 MSc IT Part 2 Mumbai UniversityMadhav Mishra
 
Lecture 2 Basic Concepts in Machine Learning for Language Technology
Lecture 2 Basic Concepts in Machine Learning for Language TechnologyLecture 2 Basic Concepts in Machine Learning for Language Technology
Lecture 2 Basic Concepts in Machine Learning for Language TechnologyMarina Santini
 
06-01 Machine Learning and Linear Regression.pptx
06-01 Machine Learning and Linear Regression.pptx06-01 Machine Learning and Linear Regression.pptx
06-01 Machine Learning and Linear Regression.pptxSaharA84
 
Supervised and unsupervised learning
Supervised and unsupervised learningSupervised and unsupervised learning
Supervised and unsupervised learningAmAn Singh
 
Business Analytics using R.ppt
Business Analytics using R.pptBusiness Analytics using R.ppt
Business Analytics using R.pptRohit Raj
 
ML_basics_lecture1_linear_regression.pdf
ML_basics_lecture1_linear_regression.pdfML_basics_lecture1_linear_regression.pdf
ML_basics_lecture1_linear_regression.pdfTigabu Yaya
 
Machine learning Introduction
Machine learning IntroductionMachine learning Introduction
Machine learning IntroductionKuppusamy P
 
Machine Learning techniques used in AI.
Machine Learning  techniques used in AI.Machine Learning  techniques used in AI.
Machine Learning techniques used in AI.ArchanaT32
 
DeepLearningLecture.pptx
DeepLearningLecture.pptxDeepLearningLecture.pptx
DeepLearningLecture.pptxssuserf07225
 
Application of Machine Learning in Agriculture
Application of Machine  Learning in AgricultureApplication of Machine  Learning in Agriculture
Application of Machine Learning in AgricultureAman Vasisht
 
Machine Learning Notes for beginners ,Step by step
Machine Learning Notes for beginners ,Step by stepMachine Learning Notes for beginners ,Step by step
Machine Learning Notes for beginners ,Step by stepSanjanaSaxena17
 

Semelhante a Data Science and Machine Learning with Tensorflow (20)

Week_1 Machine Learning introduction.pptx
Week_1 Machine Learning introduction.pptxWeek_1 Machine Learning introduction.pptx
Week_1 Machine Learning introduction.pptx
 
Unit 3 – AIML.pptx
Unit 3 – AIML.pptxUnit 3 – AIML.pptx
Unit 3 – AIML.pptx
 
Predictive analytics
Predictive analyticsPredictive analytics
Predictive analytics
 
Ml ppt at
Ml ppt atMl ppt at
Ml ppt at
 
Machine learning
Machine learningMachine learning
Machine learning
 
Unit-1.ppt
Unit-1.pptUnit-1.ppt
Unit-1.ppt
 
Machine Learning, Deep Learning and Data Analysis Introduction
Machine Learning, Deep Learning and Data Analysis IntroductionMachine Learning, Deep Learning and Data Analysis Introduction
Machine Learning, Deep Learning and Data Analysis Introduction
 
ML SFCSE.pptx
ML SFCSE.pptxML SFCSE.pptx
ML SFCSE.pptx
 
Machine Learning Unit 1 Semester 3 MSc IT Part 2 Mumbai University
Machine Learning Unit 1 Semester 3  MSc IT Part 2 Mumbai UniversityMachine Learning Unit 1 Semester 3  MSc IT Part 2 Mumbai University
Machine Learning Unit 1 Semester 3 MSc IT Part 2 Mumbai University
 
Lecture 2 Basic Concepts in Machine Learning for Language Technology
Lecture 2 Basic Concepts in Machine Learning for Language TechnologyLecture 2 Basic Concepts in Machine Learning for Language Technology
Lecture 2 Basic Concepts in Machine Learning for Language Technology
 
06-01 Machine Learning and Linear Regression.pptx
06-01 Machine Learning and Linear Regression.pptx06-01 Machine Learning and Linear Regression.pptx
06-01 Machine Learning and Linear Regression.pptx
 
Supervised and unsupervised learning
Supervised and unsupervised learningSupervised and unsupervised learning
Supervised and unsupervised learning
 
Business Analytics using R.ppt
Business Analytics using R.pptBusiness Analytics using R.ppt
Business Analytics using R.ppt
 
Machine learning meetup
Machine learning meetupMachine learning meetup
Machine learning meetup
 
ML_basics_lecture1_linear_regression.pdf
ML_basics_lecture1_linear_regression.pdfML_basics_lecture1_linear_regression.pdf
ML_basics_lecture1_linear_regression.pdf
 
Machine learning Introduction
Machine learning IntroductionMachine learning Introduction
Machine learning Introduction
 
Machine Learning techniques used in AI.
Machine Learning  techniques used in AI.Machine Learning  techniques used in AI.
Machine Learning techniques used in AI.
 
DeepLearningLecture.pptx
DeepLearningLecture.pptxDeepLearningLecture.pptx
DeepLearningLecture.pptx
 
Application of Machine Learning in Agriculture
Application of Machine  Learning in AgricultureApplication of Machine  Learning in Agriculture
Application of Machine Learning in Agriculture
 
Machine Learning Notes for beginners ,Step by step
Machine Learning Notes for beginners ,Step by stepMachine Learning Notes for beginners ,Step by step
Machine Learning Notes for beginners ,Step by step
 

Último

VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxolyaivanovalion
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxolyaivanovalion
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz1
 
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...SUHANI PANDEY
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangaloreamitlee9823
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Researchmichael115558
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% SecurePooja Nehwal
 
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...amitlee9823
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxolyaivanovalion
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...amitlee9823
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...amitlee9823
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightDelhi Call girls
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAroojKhan71
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxolyaivanovalion
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfMarinCaroMartnezBerg
 
ALSO dropshipping via API with DroFx.pptx
ALSO dropshipping via API with DroFx.pptxALSO dropshipping via API with DroFx.pptx
ALSO dropshipping via API with DroFx.pptxolyaivanovalion
 
ELKO dropshipping via API with DroFx.pptx
ELKO dropshipping via API with DroFx.pptxELKO dropshipping via API with DroFx.pptx
ELKO dropshipping via API with DroFx.pptxolyaivanovalion
 

Último (20)

VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptx
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptx
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
 
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptx
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
ALSO dropshipping via API with DroFx.pptx
ALSO dropshipping via API with DroFx.pptxALSO dropshipping via API with DroFx.pptx
ALSO dropshipping via API with DroFx.pptx
 
Predicting Loan Approval: A Data Science Project
Predicting Loan Approval: A Data Science ProjectPredicting Loan Approval: A Data Science Project
Predicting Loan Approval: A Data Science Project
 
ELKO dropshipping via API with DroFx.pptx
ELKO dropshipping via API with DroFx.pptxELKO dropshipping via API with DroFx.pptx
ELKO dropshipping via API with DroFx.pptx
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
 

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 :- shubhamsharma1318@gmail.com • Linkedln :- https://linkedin.com/in/shubham-sharma-8889893109/ • StackOverflow :- https://stackoverflow.com/users/4786793/shubham-sharma Blogs :- http://dataanalyticsvidhya.com/