SlideShare a Scribd company logo
1 of 208
Introduction
to
Artificial Intelligence
Learning Objectives
✦Discuss the meaning, scope and stages of artificial intelligence
✦Discover the applications of artificial intelligence
✦Analyse the impact of artificial intelligence on the society
Meaning of Artificial Intelligence
• Is the intelligence
exhibited by machines
• Is based on the premise
that intelligence is not
“real” or “human”
• Mimics cognitive functions
exhibited by humans
Three Stages of AI
Artificial Narrow
Intelligence
Artificial General
Intelligence
Artificial Super
Intelligence
2015 2025 2050
ANI
ANI AGI
AGI ASI
ASI
We are
HERE
Artificial Narrow Intelligence (ANI)
Are limited to one or
two functional areas
Are not self-aware or
self-conscious
Appear to be making
decisions; but it is the
statistics/mathematics
in action
Examples of ANI
Artificial General Intelligence (AGI)
Covers more than one functional area such as
Examples of AGI
• Multipurpose systems
• Systems with human-level intelligence, reasoning, thinking
and decision-making
• Systems that synthesize diverse information and decide
actions
Artificial Super Intelligence (ASI)
Surpasses human intelligence
Examples of ASI
Super intelligent AI agents Systems that are masters at
every skill, subject, or
discipline and are faster
than the smartest humans.
Three Stages of AI: At a glance
Artificial Narrow
Intelligence
Artificial General
Intelligence
Artificial Super
Intelligence
2015 2025 2050
A
NI
A
NI
A
GI
A
GI
A
SI
A
SI
User-driven big data systems
for machine learning
Machine Intelligence
Advanced networks trained to
build ad-hoc systems and
improve themselves using
data
Machine Consciousness
Systems characterised by
cognitive self learning
Application of AI
Applications of Artificial Intelligence
Artificial Intelligence
Machine
Learning (ML)
Vision
Hearing
Natural Language
Processing (NLP)
Robotics
Expert
Systems
Deep Learning
(DL)
Image and
Pattern
Recognition
Voice and Speech
Recognition
Natural Language
Understanding (NLU)
Natural Language
Generation (NLG)
Neural Networks
Facial
Recognition
Applications of Artificial Intelligence
Image Recognition
Product Analytics
A/B Testing
Speech Recognition
Language Translation
Sentiment Analysis
Impact of AI on Society
Enhance Throughput and Efficiency
Frees Up Humans
Adds Jobs and Strengthens the Economy
Enhances Lifestyle
Enhances Throughput and Efficiency
- Anand Sampat , DATMO
“Artificial Intelligence is a huge benefit to the society as it enhances the
efficiency and throughput , while creating new opportunities for revenue
generation, cost saving and job creation.”
Enhances Throughput and Efficiency
Self Driving Cars
• Are a combination of cameras, sensors.
radars and artificial intelligence technology
• Are capable of sensing the surrounding
environment and navigating without human
intervention
Frees up Humans
- Chalmers Brown , DueCompany
“Machines allow humans to do the most interpersonal and creative
aspects of work”
Frees up Humans
Enhance our Lifestyle
• Supplement the more routine work allowing
humans to focus on more important tasks
• Mundane tasks will be replaced with smart
systems to automate those tasks
Create Efficient
Business
Smart Email Systems
Frees up Humans
Image processing, recognition and artificial
intelligence will monitor areas and alert guards
if there are events that require human
intervention
Monitoring Spaces
Adds Jobs and Strengthens Economy
- Matthew Lieberman , PWC
“The unparalleled combination of human and machine will become the
normal in the workforce of the future”
Adds Jobs and Strengthens Economy
• Headlines like “Robots and AI will destroy
jobs” are more of a fiction than fact
• There will be a gradual, positive evolution in
the job market
• People will work better with the help of AI.
Enhances Lifestyle
- Naresh Soni , Tsunami
“Smart homes will reduce the energy usage and provide better security
for humans. Marketing will be more targeted and healthcare will become
more effective with smart devices”
Enhances Lifestyle
• Healthcare generates tons of data that can be used with
Artificial intelligence to diagnose diseases
• Real time insight to health conditions and can trigger emergency
responses to health care providers
• With AI we can diagnose faster and more accurately; develop
new drugs and research; reduce medical errors; predict drug
reactions; lowering cost of healthcare
Supervised Learning for Telemedicine
- Harold Quintus-Bosz , Cooper Perkins
“Artificial Intelligence has the potential to extend knowledge and
understanding to a broader population. Image based AI diagnoses of
medical conditions could allow for a more comprehensive deployment
of telemedicine”
Supervised Learning for Telemedicine
• Diagnoses diabetic retinopathy like highly trained ophthalmologist.
• Diagnoses, monitors and treats diabetic retinopathy remotely via
telemedicine
• Better diagnose with less human effort
• Portable fundus camera deployed to screening site
• Images securely transferred to the cloud for processing
• AI analyses images and provides a report for further human action
Solves Complex Social Problems
• Is a global database for litter
• Is a crowdsourced litter clean up app
• Identifies litter type, distribution and
location
• Finds more sustainable solutions
One piece of litter at a time
Improves Demand-Side Management
- Greg Sarich , Clrearesult
“From an energy standpoint, artificial intelligence can be used to
analyse and research historical data to determine how to most efficiently
distribute energy loads from a grid perspective ”
Improves Demand-Side Management
Machines become smarter over time
Computers are not susceptible to human errors
Energy Efficiency
Demand-Side Management
Demand Response
Improves Demand-Side Management
Smart home embedded
systems learns home
user power
consumption and
provides suggestion and
controls to reduce
power consumption
IoT enabled systems for
building power
management optimises
power consumption and
helps in reducing cost
Solar rooftops connected
to their platform to gather
natural energy and
monitor usage to reduce
overall production cost of
energy
Benefits multiple industries
- Mark Butler , Qualys
“AI risks are real if we don’t understand the quality of the incoming data
and set AI rules that are making granular trade-off decisions at
increasing computing speeds ”
Benefits multiple industries
Character / Facial Recognition
Digital Content Analysis
Accuracy in identifying patterns
Benefits multiple industries
• Biometric technology used to identify
human faces
• Used in security systems
• Commercial identification and marketing
tool
Extends and Expands Creativity
- Ganesh Padmanabhan , Cognitive Scale
“AI intelligence is the biggest opportunity of our lifetime to extend and
expand human creativity and ingenuity”
Extends and Expands Creativity
• Uses AI to transform how a person
would look in the future (older) and
past (younger) and other facial
features.
• AI detects features of the face and
then creates a possible look when
ageing is applied from historical data
of millions of images.
Extends and Expands Creativity
• Google Photos uses AI to propose
lighting changes that enhance a
photograph taken on a mobile device
or loaded to their service
• Create automated video clips from
photos and video stored on their
services
Impact of AI on
Multiple Industries and Use Cases
Key Takeaways
✦Artificial intelligence is the intelligence exhibited by machines and the capability of
machines to imitate human behavior.
✦The three stages of AI include Artificial Narrow Intelligence, Artificial General Intelligence
and Artificial Super Intelligence.
✦Various applications of AI include image recognition, speech recognition, natural
language processing, translation, product analytics, A/B testing and sentiment analysis.
✦AI contributes to the society by enhancing throughput and efficiency, adding jobs,
strengthening the economy, increasing human efficiency, enhancing the lifestyle, solving
complex social problems and benefiting multiple industries.
Fundamentals
of
Machine Learning
and
Deep Learning
Learning Objectives
✦Discuss the meaning of machine learning and its relationship with AI
✦Describe the relationship between machine learning and statistical analysis
✦Explain the process of machine learning
✦List and compare the types of machine learning
✦Analyse different algorithms of machine learning
✦Explore the meaning of deep learning and artificial neural networks
“Machine learning can be defined as an approach to achieve artificial
intelligence through systems or software models that can learn from
experience to find patterns in a set of data.”
Definition of Machine Learning
Meaning of Machine Learning
An application of artificial
intelligence
An ability to automatically learn and
improve from experience
Recognizes data patterns and
creates rules rather than traditional
programming
Begins with observations or data,
such as direct experience, or
instructions to look for data patterns
Relationship between AI, ML and DL
Artificial Intelligence
1950’s 1960’s 1970’s 1980’s 1990’s 2000’s 2010’s
Relationship between AI, ML and DL
Artificial Intelligence
Machine Learning
1950’s 1960’s 1970’s 1980’s 1990’s 2000’s 2010’s
Relationship between AI, ML and DL
Artificial Intelligence
Machine Learning
Deep Learning
1950’s 1960’s 1970’s 1980’s 1990’s 2000’s 2010’s
AI Examples
Google uses artificial intelligence and machine
learning in almost all of its applications
Relationship
between
Machine Learning
and
Statistical Analysis
Machine Learning
Depends largely on data to study patterns
Requires a large amount of data and statistical
analysis
Statistical Analysis
Collects and scrutinises the data sample to
identify trends
Statistical model is a formalisation of
relationships between variables in the form of
mathematical equations
Relationships between domains
Statistics
Pattern
Recognition
Neurocomputing
Machine
Learning
AI
Databases
KDD
Data Mining
Difference between ML
and Statistical Analysis
Machine Learning Statistical Analysis
• Is a subset of artificial intelligence in
the field of computer science
• Is associated with high-dimensional
data
• Takes away the deterministic function f
out of the equation:
Input (X) —-> Output (Y)
• Belongs to the field of mathematics
• Deals with finding a relationship
between variables to predict an
outcome
• Deals with low dimensional data
• Tries to estimate the function f:
Dependent Variable (Y) =
f(Independent Variable) + Error Function
Statistical Analysis Concepts
Statistics
Model
Parameters
Fitting
Test Set Performance
Regression/Classification
Density Estimation, Clustering
Approach of Machine Learning
Leverages existing data, images and videos to
train algorithms and models
Approach of Machine Learning
Feeds numerous sets of examples called training
sets into the system
0
0
Approach of Machine Learning
The larger the training set, the more accurate the
AI system
Approach of Machine Learning
Labels each item in a training set as either 0 or 1
0 1
Machine Learning Process
Training Testing
Machine Learning Process
Machine Learning Process
Training
+
Input Data
Machine Learning Algorithm
Algorithm studies the data
patterns
Works out a logic
Learned Model
Used with test data sets
Expected
Output
Labeled Training Data
Machine Learning Process
Testing
Test Data
Input Data
Learned Model
Classifies test data based on the
patterns learned from training
data
Uses patterns from the
test data and logic from
learned model to predict
and derive the outcome
Predictions
Output
Generates output based on
logic derived from training
data
Types of Machine Learning
Semi-Supervised Learning
Reinforcement Learning
Supervised Learning
Unsupervised Learning
Supervised Learning
• Is provided with training data along with the expected
output or rules to categorize this data also known as
labels
• Uses the set of input and outputs to predict the output for
future unseen inputs
Labelled Training Data
+
Input Data
Expected
Output
Machine Learning Algorithm
The ML Program
Learned Model
Used with test data sets
Supervised Learning Example
Step one: Train the model
1. Provide images of apples along with the
expected response to the model
Step two: Test the model
1. The model learns from labelled data
2. Provide images to the model again
without expected output
3. The output of the model is “These are
apples”
“These are apples”
LEARNED MODEL
Known Response
“These are apples”
New Response
LEARNED MODEL
Unsupervised Learning
Labeled Training Data
Input Data
Machine Learning Algorithm Learned Model
The ML Algorithm
• Learns from an unlabeled dataset
• Uses input data to train the model
• Is expected to find patterns and anomalies
Unsupervised Learning Example:
Image Identification
Step one: Input Unlabelled Data
1. Provide images of different kinds of fruit
without expected output
Step two: Test the model
1. The model identifies patterns like shape,
colour, and size
2. It groups the fruits based on these
features,attributes or qualities
LEARNED MODEL
Known Data
LEARNED MODEL
Known Data
Semi-Supervised Learning
• Is a hybrid approach
• Is a combination of supervised and unsupervised learning
• Uses a combination of labeled and unlabelled data
Semi-Supervised Learning
Semi-Supervised Learning Example
Step one: Input unlabelled data
1. Collect and group labelled and
unlabelled data for training
Step two: Test the model
1. Feed all the training data into the model
Training Data
Labelled Data
Unlabelled Data
Training Data
LEARNED MODEL
Reinforcement Learning
The Learning System
• Observes the environment and learns the ideal behaviour
• Selects and takes certain actions and receives rewards in
return
• Receives feedback in a loop
• Learns the strategy or policy that maximises rewards
Reinforcement Learning Example :
Robot
Tries to manipulate the environment
Walks and tries to go from one state to another
Receives a reward for accomplishing a sub module of
the task
Reinforcement Learning Example :
Robot
Identifies a device from one box and puts it in a
container
Learns by mean of a rewards based learning system,
which incentivises the right action
Machine Learning Algorithms
The choice of algorithm depends on the data type in the
use case
Regression Classification
Clustering /
Dimensionality Reduction
Continuous
Target
Discrete
Target
Labelled Data
Unlabelled Data
Association Analysis
Polynomial
Linear
Trees
SVM
KNN
Trees
Logistics
K-means
SVD PCA
Apriori
FP-Growth
Type of Supervised Learning
Regression Classification
Continuous
Target
Discrete
Target
Labelled Data
Polynomial
Linear
Trees
SVM
KNN
Trees
Logistics
Classification
Regression
Classification
Classification is applied when output
has finite and discrete values
Classification Algorithms
Regression Classification
Continuous
Target
Discrete
Target
Labelled Data
Polynomial
Linear
Trees
SVM
KNN
Trees
Logistics
Classification is applied when output
has finite and discrete values
Regression
When the output is continuous number
Regression
.y = wx + b
Relationship between environmental
temperature (y) and humidity levels (x)
Linear Regression
Represents relationships between
input (x) and output (y) variables
Find specific weightage for input
variables called coefficients (b)
Decision Trees
✦Is a graphical representation of all possible
solutions to a decision
✦Uses predictive models to achieve results
✦Is drawn upside down with its root at the top
✦Splits into branches based on a condition or
internal node
✦Doesn’t split the end of the branch, if it is the
decision / leaf
Decision Tree
Predicts continuous values like price of
a house
Referred to as CART
(Classification and Regression Tree)
Represents a single input variable (x)
and a split point on that variable
Naive Bayes
• Is a simple but surprisingly powerful algorithm for
predictive modelling
• Comprises two types of probabilities:
• The probability of each class
• The conditional probability of each class based on the
value of x
• Can be used to make predictions for new data
• Can easily estimate probabilities as bell curve for real-
valued data
• Is called naive because it assumes that each input
variable is independent
Naive Bayes Example : Spam
How does an email client classify between valid and spam emails?
Naive Bayes Classification
Classify objects as either green or red
Classify new cases as they arrive
Naive Bayes Classification
Prior Probability
• Is based on previous experience
• Of green: number of green objects / total number of objects
• Of red: number of red objects / total number of objects
Naive Bayes Classification
Prior Probabilities for Class Membership
• Prior probability for green : 40/60
• Prior probability for red: 20/60
Naive Bayes Classification
New cases will belong to that colour of
which there is more objects
Naive Bayes Classification
Naive Bayes Classification
Calculation of likelihood
Likelihood of X given GREEN is smaller
Likelihood of X given RED
Naive Bayes Classification
Calculation of prior probability
The final classification is produced by
combining both source of information,
the prior and the likelihood, to forma
posterior probability using Bayes’ rule.
Naive Bayes Classification
Classify X as RED as its class
membership achieves largest posterior
probability
K-Means Clustering
Clustering /
Dimensionality Reduction
Continuous
Target
Unlabelled Data
Trees
K-means
SVD PCA
A versatile algorithm that can be used
for any type of grouping
K-Means Clustering : Examples
Behavioural
segmentation
Inventory
categorisation
Sorting
sensor
measurements
Detecting
bots or
anomalies
Segment by purchase
history
Segment by activities
on application, website
or platform
Define personas
based on interests
Create profiles based
on activity monitoring
Group inventory by sales
activity
Group inventory by
manufacturing metrics
Detect activity types in
motion sensors
Group Images
Separate audio
Identify groups in health
monitoring
Separate valid activity
groups from bots
Group valid activity to clean
up outlier detection
K-Means for Unsupervised Learning
K-Means involves two steps
Step 1: Cluster Assignment Step2 : Move Centroid Step
K-Means for Unsupervised Learning
• Travels through data points, depending on which
cluster is closer
• Assigns it to red, blue, or green cluster
Step One
K-Means for Unsupervised Learning
Calculates average of all points in cluster and moves
centroid to the average location
Step Two
Deep Learning
Introduction to Deep Learning
“ Deep learning is a specialized form of machine learning that uses supervised,
unsupervised, or semi-supervised learning to learn from data representations. It is
similar to the structure and function of the human nervous system, where a complex
network of interconnected computation units work in a coordinated fashion to
process complex information. ”
Deep Learning
A subset of machine learning
Refers to deep artificial neural
network
Set new records in accuracy
Arranged in layers and learn
patterns of the patterns
Neural Network of Human Brain
Biological Neuron
Approximately 86 billion
interconnected neutrons
Input
Signals
Output
Signal
Neural Network of Human Brain
Biological Neuron
Process and transmit chemical and
electrical signals
Input
Signals
Output
Signal
Neural Network of Human Brain
Biological Neuron
Takes input and pass along the output
Input
Signals
Output
Signal
Neural Network of Human Brain
Biological Neuron
Responds to certain stimuli and passes
output to another
Input
Signals
Output
Signal
Neural Network of Human Brain
• Learns to identify objects from photos
• Uses neurons to understand and interpret
that the animal is a cat
Neural Network of Human Brain
• Each of these neuron may have different
weightage (governed by how important the
feature is) to the overall image
• If all these neurons fire in the same
direction our brain tells us that we saw a
cat
Neural Network of Human Brain
The more data you feed, the better
their recognition capability
Artificial Neural Network : Definition
“ Artificial Neural Network is a computing system made up of a number of simple,
highly interconnected processing elements which process information by the
dynamic state response to external inputs. ”
Artificial Neural Network
A mathematical function conceived as a
model of biological neurons
Modelled loosely after the human brain
Designed to recognise patterns
Interpret sensory data through machine
perception labelling or clustering
Features of Artificial Neuron
Cluster and classify the raw input
Group unlabelled dataset based on the
similarities in the inputs
Classify labelled dataset based on
expected results
Extract features fed to other algorithms
Definition of Perceptron
“ Perceptron is a neural network unit (an artificial neuron) that does certain
computations to detect features or business intelligence in the input data. ”
Meaning of Multilayer Perceptron
A single neuron model
A precursor to larger neural networks
Investigates how simple models of
biological brains can solve difficult
computational tasks
Develop robust algorithms and data
structures that can model difficult problems
Structure of Multilayer Perceptron
Model of a simple neuron Model of a simple network
Layer One network can have multiple layers
Network topology Hidden layers
Not directly exposed to the input
Single neuron in the hidden layer that directly outputs the
value
Output layer
Online and Batch Learning
Needs to be trained on your dataset
The weights in the network are
updated from the errors calculated for
each training example.
The errors can be saved up across all
of the training examples, and the
network can be updated at the end.
Can be used to make predictions
Online
Learning
Batch
Learning
Types of Deep Neural Networks
Multi-layer
fully-connected neural sets
Layers with more than one
hidden layer between input and
output layers
Neural networks that are used
for image processing and
classification
Uses of CNN
CNN is trained and used in the following ways
CNN
Applications
Automatic Video Classification Systems
Self-Driving
Cars
Image
Search
Voice
Recognition
Natural
Language
Processing
Future Prediction of AI
Google develops artificial intelligence
algorithm that predicts your death with
95% accuracy.
Singularity is predicted to be achieved by
2045 when computers will have the same
level of intelligence as that of humans.
Forbes estimates that 85% of customer
interactions will be managed by AI by 2020
The world’s leading car manufacturers
predict driverless cars will be on the
streets by 2020-2030
Doomsday AI machines could lead to
nuclear war, think tank paper warns.
Forecasted Revenue of AI
Key Takeaways
✦The two subsets of Artificial Intelligence are machine learning and deep learning.
✦Machine learning algorithms learn form data whereas statistical model is a formalisation of relationship
between variables.
✦Supervised learning, unsupervised learning and semi-supervised learning are the the three types of machine
learning.
✦Reinforcement learning is an area in machine learning that is used when the training data has a feedback loop.
✦A decision tree is a tree-like graph that uses branching methods to demonstrate every possible outcome of a
decision.
✦Naive bayes’ is a classification technique, which assumes that the presence of a particular feature in a class is
unrelated to the presence of any other feature.
Key Takeaways
✦K-means clustering is a type of unsupervised learning, which is used to solve
clustering problems.
✦Neural networks are a set of algorithms, modelled loosely after the human brain,
which is designed to recognise patterns.
Machine Learning Workflow
Learning Objectives
✦Describe the seven steps of machine learning workflow
The Machine Learning Workflow
The job of the data scientist
The processes a data scientist follows to provide
feedback to decision makers
The machine learning process in business
environment
Goals of Machine Learning Workflow
• Identify actionable steps with a
given set of variables
• Derive meaningful conclusions for
complicated issues
• Derive answers to business
challenges
Goals
Yes
No
Yes
Yes
7 steps of Machine Learning
1
Get More
Data
2
Ask a
Sharp
Question
3
Add the
Data to
Table
4
Check for
Quality
5
Transform
Features
6
Answer
the
Question
7
Use the
Answer
Step 1 : Get More Data
Data can be collected in different formats
Investigate a business challenge
Quality of the model depends upon quality and
quantity of the data gathered
Step 1 : Get More Data
Data Formats
Step 2 : Ask a Sharp Question
Need for a
sharp
question
It focuses on a single topic
It helps you to get clear
answers to the questions.
It focuses on the exact need
and requirement
It is direct and specific
Step 2 : Ask a Sharp Question
(Vague vs Sharp)
Vague questions
1. Which route is fast ?
2. How to make more profit?
3. Will the users use more of the new features?
4. Which data can tell you about your business?
Sharp questions
1. Which route will get you to work faster?
2. How much sales needed to achieve 30% profit?
3. How many times will a user use the new product
features?
4. Which of the transaction is fraudulent?
Step 2 : Ask a Sharp Question
Example
✦Study different tables of data in the database and analyze your company’s
monthly sales performance
✦Understand how the company is doing in terms of market share
✦Analyze the historical data and predict the stock price for a future date
Step 3 : Add Data to the Table
Data analyst arranges data in database tables in a
systematic manner.
01
Systematic arrangement of data helps in detailed
analysis
02
Data is stored in the table in the form of columns and
rows.
03
Table columns represent data of a single type and rows
represent records pertaining to one entity.
04
Aggregate, distribute, compute of measure to derive
data analysis.
05
Data Analysis in Machine Learning
The process of deriving
new findings from
historical data
Focuses on aggregating
table data to find answers
to business problems
Performed by data
analysts to build machine
learning algorithms
Example : Add Data to the Table
• The stock price column shows the stock value across different
dates
• Each table row represents observations across given attributes
Example : Data Analysis
Aggregate and distribute the data as shown here:
Example : Aggregate
• You can aggregate the data in the table to derive answers
• This process is called data analysis and involves counting total
observations in a table or combining data from multiple tables
Example : Distribute, Compute, Measure
• An example of performing aggregate, distribute, compute and measure operations on
data in tables
• Each feature and their observations are distributed across the table and then
combined
Example : Estimate
• The market share column shows the estimated stock price values of the company that are
derived from the previous steps
Step 4 : Check for Quality
Determine if the data is acceptable
for further investigation
Ensure the data in a column is in a
consistent format
Check for Quality : Example
Check for Quality : Example
• There is inconsistencies in the data format in the Birth year column of the table
• Dates in the column need to be converted to a consistent format to make it readable for the
ML algorithm
Check for Quality : Example
• Denote the Birth year column numbers as numbers, without any special characters
• Checking data quality is a critical step
Step 5 : Transform Features
•Enables you to make sense out of the data, especially
when there are multiple features
•Help overcome challenges where some features may
not give useful information for the model, where as
some features may be combined to derive meaningful
information
Feature Engineering
Tricks of Feature Engineering
• Scale Invariant Feature Transform (SIFT): Images
• Term Frequency-Inverse Document Frequency (TF-IDF): Text
Data Specific
•Econometric, technological, agricultural and sociological
data engineering
Domain Specific
•Images, text and audio data engineering
Deep Learning
Transform Features : Example
• There are 3 columns and 65670 rows
• Features 0 and 1 have similar values
• The numbers are meaningless and scattered
Transform Features : Example
• Values of feature column 0 is multiplied with every observation in feature
column 1
• These values are plotted in image 2
Transform Features : Example
• By plotting the values obtained by subtracting feature 0 from feature 1, a
curve is formed
• This curve is a normal or gaussian distribution or bell-shaped curve
Step 6 : Answer the question
Helps to analyse if the obtained answers are clear
How much or how many?
Which category?
Which group?
Questions
Does this look strange?
Which action?
Answer the Question: Type 1
What will be the temperature this Friday?
01
How much or how many?
How many people will like your post?
02
What will be your product sales next month?
03
Answer the Question: Type 2
Is this an image of a dog?
01
Which category?
What is the topic of this news article?
02
Which hotel in your area offers free Wi-Fi?
03
Answer the Question: Type 3
Which group of shoppers purchase similar
products?
01
Which group?
Which group of viewers like horror movies?
02
How best can you divide this book into ten
topics?
03
Answer the Question: Type 4
Is this internet message typical?
01
Does this look strange?
Is this heart beat reading abnormal?
02
Do these transactions look unusual as
opposed to customers usual transactions?
03
Answer the Question: Type 5
Should you vacuum again or not?
01
Which action?
Should you beat the red light?
02
Should you raise or lower the temperature?
03
Step 7 : Use the Answer
Making up a decision
01
There are plenty of ways to use the answer
derived form the previous step.
Proposing the price of an item
02
Publishing the results obtained as part of a
research paper
03
Constructing a dashboard on a visualisation
tool
04
Making changes to product features
05
Key Takeaway
✦Machine learning workflow involves seven steps.
✦The first step of machine learning workflow is used to collect data to answer different business questions.
✦To get the desired response, always ask sharp questions and avoid vague ones.
✦Arrange raw data in tables for better data analysis.
✦To ensure data consistency data scientists must check for the quality of data.
✦The transform feature is used to increase the efficiency of the machine learning model.
✦The answer received by the model helps in solving business challenges.
✦Learn from the answer received by the model and implement it as a solution to the problem.
Performance Metrics
Learning Objectives
✦Discuss the need for performance metrics
✦List and analyse the key methods of performance metrics
Need for Performance Metrics
Non Technical Domain
Need for Performance Metrics
Technical Domain
Need for Performance Metrics
✦How do you rank machine learning algorithm?
✦How can you pick one algorithm over the other?
✦How do you measure and compare these algorithms?
Need for Performance Metrics
✦ Performance metric is the answer to these questions.
✦It helps measure and compare algorithms.
- Stephen Few
“Numbers have an important story to tell.
They rely on you to give them a voice.”
Performance Metrics
- Stephen Few
“Numbers have an important story to tell.
They rely on you to give them a voice.”
Performance Metrics
Assess Machine Learning Algorithms
Machine learning models are evaluated against your selected
performance metrics
Help evaluate efficiency and accuracy of machine learning models
Key Methods of Performance Metrics
Classification Problem
Confusion Matrix Accuracy
Precision Recall
Specificity F1 Score
Meaning of Confusion Matrix
TP FP
FN TN
Actual
Positives(1) Negatives(0)
Positives(1)
Negatives(0)
Predicted
One of the most intuitive and easiest metrics used to
find correctness and accuracy
Not a performance measure
Almost all performance metrics are based on
confusion matrix
Confusion Matrix : Example
Cancer Prediction System
There are different approaches that can
hep the center predict cancer
Okay
Let me introduce you to one of the easiest
matrices that can help you predict whether a
person has cancer, the confusion matrix.
Confusion Matrix :
Classification Problem
How to predict if a person has cancer?
Give a label / class to the target variables:
When a person is diagnosed with cancer
When a person does not have cancer
1
0
Confusion Matrix :
Classification Problem
Sets of classes are given in both dimensions
TP FP
FN TN
Actual
Positives(1) Negatives(0)
Positives(1)
Negatives(0)
Predicted
Terms of Confusion Matrix
True Positive
TP
TP
True Negative TN
TN
False Negative FN
FN
False Positive
FP
FP
TP FP
FN TN
Actual
Positives(1) Negatives(0)
Positives(1)
Negatives(0)
Predicted
True Positive
True Positive
TP
TP
TN
TN
FN
FN
FP
FP
True Positives are the cases where the actual
class of the data point is 1 (true) and the predicted
value is also 1 (true).
The case where a person has cancer and the
model classifies the case as cancer positive comes
under true positive.
True Negative
True Negative
TP
TP
TN
TN
FN
FN
FP
FP
True Negatives are the cases when the actual
class of the data point is 0 (false) and the
predicted is also 0 (false). It is negative because
the class predicted was negative.
The case where a person does not have cancer
and the model classifies the case as cancer
negative comes under true negative.
False Positive
TP
TP
TN
TN
FN
FN
FP
FP
False positives are the cases when the actual class
of the data point is 0 (false) and the predicted is 1
(true). It is false because the model has predicted
incorrectly.
The case where a person does not have cancer
and the model classifies the case as cancer
positive comes under false positive.
False Positive
False Negative
False Negative
TP
TP
TN
TN
FN
FN
FP
FP
• False negatives are the cases when the actual
class of the data point is 1 (true) and the
predicted is 0 (false).
• It is false because the model has predicted
incorrectly.
• It is negative because the class predicted was
negative.
The case where a person has cancer and the
model classifies the case as cancer negative
comes under false negatives.
Minimize False Cases
What should be
minimised?
✦A model is best identified by its accuracy
✦No rules are defined to identify false cases
✦It depends on business requirements and context of the
problem.
Minimize False Negative : Example
Out of 100
people
Actual cancer
patients = 5
Bad Model
Predicts everyone as non-
cancerous
Accuracy = 95%
When a person who does not have cancer
is classified as cancerous
Missing a cancer patient will be a huge
mistake
Minimize False Positive : Example
The model needs to classify an email as spam or
ham (term used for genuine email).
Assign a label / class to the target variables:
Email is spam
Email is not spam
1
0
Minimize False Positive : Example
Incoming mail Model
In case of false positive
Important email as
spam
!
Business stands a chance to
miss an important
communication
An important email marked as
spam is more business critical
than diverting a spam email to
inbox.
Classifies
Incoming mail Model
Accuracy
In classification problems, accuracy is
defined by the total number of correct
predictions made out of all the predictions.
Accuracy : Calculation
TP FP
FN TN
Actual
Positives(1) Negatives(0)
Positives(1)
Negatives(0)
Predicted
Accuracy =
TP + TN
TP + FP + FN + TN
Accuracy : Example
When the target variable
classes in the data are nearly
balanced
When do we use
accuracy?
Accuracy : Example
The machine learning model
will have approximately 97%
accuracy in any new
predictions.
Accuracy : Example
5 out of 100 people have cancer
When do you
NOT use
accuracy?
It’s a bad model and predicts every case as
noncancerous
It classifies 95 noncancerous patients correctly and
5 cancerous patients as noncancerous
Accuracy of the model is 95%
When the target variable classes in the data are a
majority of one class
Precision
• Refers to the closeness of two or more
measurements
• Aims at deriving correct proportion of
positive identifications
Precision : Calculation
TP FP
FN TN
Actual
Positives(1) Negatives(0)
Positives(1)
Negatives(0)
Predicted
Precision =
TP
TP + FP
Precision : Example
Its a bad model and predicts every case as cancer
When do we use
precision?
Everyone has been predicted as having cancer
Precision of the model is 5%
5 out of 100 people have cancer
Recall or Sensitivity
Recall or sensitivity measures the
proportion of actual positives and that are
correctly identified.
Recall or Sensitivity : Calculation
TP FP
FN TN
Actual
Positives(1) Negatives(0)
Positives(1)
Negatives(0)
Predicted
Recall =
TP
TP + FN
Recall or Sensitivity : Example
Predicts every case as cancer
When do we use
recall?
Recall is 100%
Precision of the model is 5%
5 out of 100 people have cancer
Recall as a Measure
When do we use
precision and
when do we use
recall?
Precision is about being
precise, whereas recall is
about capturing all the cases.
Recall as a Measure
When do we use
precision and
when do we use
recall?
If the model captures one
correct cancer positive case, it
is 100% precise.
Recall as a Measure
When do we use
precision and
when do we use
recall?
If the model captures ever
case as cancer positive, you
have100% recall.
Recall as a Measure
When do we use
precision and
when do we use
recall?
To focus on minimising false
negatives you would want
100% recall with a good
precision score.
Recall as a Measure
When do we use
precision and
when do we use
recall?
To focus on minimising false
positives you should aim for
100% precision.
Specificity
• Measures = proportion of actual
negatives that are correctly identified
• Tries to identify probability of a negative
test result when input with a negative
example
Specificity : Calculation
TP FP
FN TN
Actual
Positives(1) Negatives(0)
Positives(1)
Negatives(0)
Predicted
Specificity =
TN
TN + FP
Specificity : Example
Predicts every case as cancer
So specificity is
the exact
opposite of
recall
Specificity is 0%
5 out of 100 people have cancer
F1 Score
Do you have to carry both precision and
recall in your pockets every time you
make a model to solve a classification
problem?
No to avoid taking both precision and
recall, its best to get a single score
(F1 score) that can represent both
precision (P) and recall (R).
F1 Score : Calculation
3 97
0 0
Actual
Fraud Not Fraud
Fraud
Not Fraud
Predicted
F1 Score =
2 * Precision * Recall
Precision + Recall
F1 Score : Example
97 out of 100 credit card transactions are legit and 3
are fraud
When do you
use F1 score?
Predicts everything as fraud
Fraud detection
F1 Score : Example
Precision =
3
100
= 3%
Recall =
100
3
= 100%
Arithmetic Mean =
3+100
2
= 51.5%
Harmonic Mean
• Harmonic mean is an average used when x
and y are equal
• Value of the mean is smaller when x and y
are different
With reference to the fraud detection
example, F1 Score can be calculated as
F1 Score =
2 * Precision * Recall
Precision + Recall
=
2 * 3 * 100
100 + 3
= 5%
Key Takeaways
✦Confusion matrix is used to find correctness and accusation of machine learning models. It is also used
for classification problems where the output can be one of two or more types of classes.
✦Accuracy is the number of correct prediction made by the model over all kinds of predictions.
✦Precisision refers to the closeness of two or more measurements to each other
✦Recall measures the proportion of actual positives that are identified correctly.
✦Specificity measures the proportion of actual negatives that are identified correctly.
✦F1 Score gives a single score that represents both precision (P) and recall (R).
✦Harmonic mean is used when the sample data contains extreme value because it is more balanced than
arithmetic mean.
Python in Artificial
Intelligence
Learning objectives
✦Popular programming languages
✦Python in data science and artificial intelligence
✦Benefits of using Python
Programming language timeline
FORTRAN
1954
LISP
2019
COBOL
BASIC
JAVA
C#
.Net
Javascript
Angular JS
PHP
Python
1960 1970 1980 1990 2000 2010
PASCAL
C
Programming Languages in Data Science
Relationship between
Data Science, ML and AI
Data
Science
Machine
Learning
Artificial
Intelligence
Data
Insight
Action
Features
Prediction
Transformation
Deep
Learning
Analytics
Human
decision
Automated
decision
Data Science and AI
Acquire Wrangle
Explore
Model
Visualize
Python Tools for Data Science
Acquire
Wrangle
Explore
Model
Visualize
Python tools for AI
seaborn
Why Python ?
✦Simple language to learn - syntax wise - general purpose programming language
✦Hassle free and fast for prototyping to production
✦Supports all modern programming constructs: OOP, Web, Microservices etc.
✦Continuously and actively updated - 72,000++ libraries
✦Supports the largest number of libraries for machine learning and data science
✦FREE and portable open source platform
Getting started
✦Installing Anaconda - all in one tool for data science, machine learning, artificial
intelligence and visualisation.
✦ www.anaconda.com
✦Download -> Anaconda Distribution (open source)
✦Anaconda Enterprise - Enterprise features to manage organisation wide output of
DS/ML/AI projects
Jupyter Notebook
✦Open-source web application (included as part of Anaconda)
✦Create and share documents that contain live code, equations, visualizations and
narrative text.
✦Describe data cleaning and transformation, numerical simulation, statistical
modeling, data visualization, machine learning, and much more.

More Related Content

What's hot

Machine Learning - Dataset Preparation
Machine Learning - Dataset PreparationMachine Learning - Dataset Preparation
Machine Learning - Dataset PreparationAndrew Ferlitsch
 
Data Mining Techniques
Data Mining TechniquesData Mining Techniques
Data Mining TechniquesHouw Liong The
 
Introduction to Python for Data Science
Introduction to Python for Data ScienceIntroduction to Python for Data Science
Introduction to Python for Data ScienceArc & Codementor
 
Data Science With Python
Data Science With PythonData Science With Python
Data Science With PythonMosky Liu
 
Introduction to Multi-armed Bandits
Introduction to Multi-armed BanditsIntroduction to Multi-armed Bandits
Introduction to Multi-armed BanditsYan Xu
 
Data Science for e-commerce
Data Science for e-commerceData Science for e-commerce
Data Science for e-commerceInfoFarm
 
An introduction to Recommender Systems
An introduction to Recommender SystemsAn introduction to Recommender Systems
An introduction to Recommender SystemsDavid Zibriczky
 
Data Science, Machine Learning and Neural Networks
Data Science, Machine Learning and Neural NetworksData Science, Machine Learning and Neural Networks
Data Science, Machine Learning and Neural NetworksBICA Labs
 
Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms Xin-She Yang
 
Singular Value Decompostion (SVD)
Singular Value Decompostion (SVD)Singular Value Decompostion (SVD)
Singular Value Decompostion (SVD)Isaac Yowetu
 
How to build a recommender system?
How to build a recommender system?How to build a recommender system?
How to build a recommender system?blueace
 
Logistic Regression | Logistic Regression In Python | Machine Learning Algori...
Logistic Regression | Logistic Regression In Python | Machine Learning Algori...Logistic Regression | Logistic Regression In Python | Machine Learning Algori...
Logistic Regression | Logistic Regression In Python | Machine Learning Algori...Simplilearn
 
Swarm intelligence
Swarm intelligenceSwarm intelligence
Swarm intelligenceEslam Hamed
 
Dimensionality reduction: SVD and its applications
Dimensionality reduction: SVD and its applicationsDimensionality reduction: SVD and its applications
Dimensionality reduction: SVD and its applicationsViet-Trung TRAN
 
End-to-End Machine Learning Project
End-to-End Machine Learning ProjectEnd-to-End Machine Learning Project
End-to-End Machine Learning ProjectEng Teong Cheah
 
Text similarity measures
Text similarity measuresText similarity measures
Text similarity measuresankit_ppt
 
Recommender system algorithm and architecture
Recommender system algorithm and architectureRecommender system algorithm and architecture
Recommender system algorithm and architectureLiang Xiang
 
Collaborative Filtering Recommendation System
Collaborative Filtering Recommendation SystemCollaborative Filtering Recommendation System
Collaborative Filtering Recommendation SystemMilind Gokhale
 

What's hot (20)

Machine Learning - Dataset Preparation
Machine Learning - Dataset PreparationMachine Learning - Dataset Preparation
Machine Learning - Dataset Preparation
 
Knowledge representation
Knowledge representationKnowledge representation
Knowledge representation
 
Data Mining Techniques
Data Mining TechniquesData Mining Techniques
Data Mining Techniques
 
Introduction to Python for Data Science
Introduction to Python for Data ScienceIntroduction to Python for Data Science
Introduction to Python for Data Science
 
Data Science With Python
Data Science With PythonData Science With Python
Data Science With Python
 
Introduction to Multi-armed Bandits
Introduction to Multi-armed BanditsIntroduction to Multi-armed Bandits
Introduction to Multi-armed Bandits
 
Data Science for e-commerce
Data Science for e-commerceData Science for e-commerce
Data Science for e-commerce
 
An introduction to Recommender Systems
An introduction to Recommender SystemsAn introduction to Recommender Systems
An introduction to Recommender Systems
 
Data Science, Machine Learning and Neural Networks
Data Science, Machine Learning and Neural NetworksData Science, Machine Learning and Neural Networks
Data Science, Machine Learning and Neural Networks
 
Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms
 
Singular Value Decompostion (SVD)
Singular Value Decompostion (SVD)Singular Value Decompostion (SVD)
Singular Value Decompostion (SVD)
 
How to build a recommender system?
How to build a recommender system?How to build a recommender system?
How to build a recommender system?
 
Logistic Regression | Logistic Regression In Python | Machine Learning Algori...
Logistic Regression | Logistic Regression In Python | Machine Learning Algori...Logistic Regression | Logistic Regression In Python | Machine Learning Algori...
Logistic Regression | Logistic Regression In Python | Machine Learning Algori...
 
Swarm intelligence
Swarm intelligenceSwarm intelligence
Swarm intelligence
 
Machine Learning for Dummies
Machine Learning for DummiesMachine Learning for Dummies
Machine Learning for Dummies
 
Dimensionality reduction: SVD and its applications
Dimensionality reduction: SVD and its applicationsDimensionality reduction: SVD and its applications
Dimensionality reduction: SVD and its applications
 
End-to-End Machine Learning Project
End-to-End Machine Learning ProjectEnd-to-End Machine Learning Project
End-to-End Machine Learning Project
 
Text similarity measures
Text similarity measuresText similarity measures
Text similarity measures
 
Recommender system algorithm and architecture
Recommender system algorithm and architectureRecommender system algorithm and architecture
Recommender system algorithm and architecture
 
Collaborative Filtering Recommendation System
Collaborative Filtering Recommendation SystemCollaborative Filtering Recommendation System
Collaborative Filtering Recommendation System
 

Similar to inte

The Autonomous Org
The Autonomous OrgThe Autonomous Org
The Autonomous OrgNeil Sholay
 
Principles of Artificial Intelligence & Machine Learning
Principles of Artificial Intelligence & Machine LearningPrinciples of Artificial Intelligence & Machine Learning
Principles of Artificial Intelligence & Machine LearningJerry Lu
 
The Ethics of Artificial Intelligence in Digital Ecosystems
The Ethics of Artificial Intelligence in Digital EcosystemsThe Ethics of Artificial Intelligence in Digital Ecosystems
The Ethics of Artificial Intelligence in Digital Ecosystemswashikmaryam
 
BB_54028_20160212 SVTLS AI_FINAL_shown
BB_54028_20160212 SVTLS AI_FINAL_shownBB_54028_20160212 SVTLS AI_FINAL_shown
BB_54028_20160212 SVTLS AI_FINAL_shownMark Holman
 
Artificial intelligence: PwC Top Issues
Artificial intelligence: PwC Top IssuesArtificial intelligence: PwC Top Issues
Artificial intelligence: PwC Top IssuesPwC
 
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...James Anderson
 
The Unleashing the Power of AI & How Machine Learning is Revolutionizing Ever...
The Unleashing the Power of AI & How Machine Learning is Revolutionizing Ever...The Unleashing the Power of AI & How Machine Learning is Revolutionizing Ever...
The Unleashing the Power of AI & How Machine Learning is Revolutionizing Ever...Ethical Consultant Services
 
An Elementary Introduction to Artificial Intelligence, Data Science and Machi...
An Elementary Introduction to Artificial Intelligence, Data Science and Machi...An Elementary Introduction to Artificial Intelligence, Data Science and Machi...
An Elementary Introduction to Artificial Intelligence, Data Science and Machi...Dozie Agbo
 
Artificial-Intelligence-in-psychology-1.pptx
Artificial-Intelligence-in-psychology-1.pptxArtificial-Intelligence-in-psychology-1.pptx
Artificial-Intelligence-in-psychology-1.pptxHimanshuGoyal631652
 
Cognitive Computing.PDF
Cognitive Computing.PDFCognitive Computing.PDF
Cognitive Computing.PDFCharles Quincy
 
Cognitive future part 1
Cognitive future part 1Cognitive future part 1
Cognitive future part 1Peter Tutty
 
Cognitive future part 1
Cognitive future part 1Cognitive future part 1
Cognitive future part 1Peter Tutty
 
Artificial intelligence dr bhanu ppt 13 09-2020
Artificial intelligence dr bhanu ppt 13 09-2020Artificial intelligence dr bhanu ppt 13 09-2020
Artificial intelligence dr bhanu ppt 13 09-2020BhanuSagar3
 
What is Artificial Intelligence.docx
What is Artificial Intelligence.docxWhat is Artificial Intelligence.docx
What is Artificial Intelligence.docxAliParsa22
 
Watson and Analytics
Watson and AnalyticsWatson and Analytics
Watson and AnalyticsJorge W. Hago
 
The A_Z of Artificial Intelligence Types and Principles_1687569150.pdf
The  A_Z of Artificial Intelligence Types and Principles_1687569150.pdfThe  A_Z of Artificial Intelligence Types and Principles_1687569150.pdf
The A_Z of Artificial Intelligence Types and Principles_1687569150.pdfssuseredfe14
 
Decoding Artificial Intelligence.pdf
Decoding Artificial Intelligence.pdfDecoding Artificial Intelligence.pdf
Decoding Artificial Intelligence.pdfsyedabdul63
 

Similar to inte (20)

The Autonomous Org
The Autonomous OrgThe Autonomous Org
The Autonomous Org
 
Principles of Artificial Intelligence & Machine Learning
Principles of Artificial Intelligence & Machine LearningPrinciples of Artificial Intelligence & Machine Learning
Principles of Artificial Intelligence & Machine Learning
 
The Ethics of Artificial Intelligence in Digital Ecosystems
The Ethics of Artificial Intelligence in Digital EcosystemsThe Ethics of Artificial Intelligence in Digital Ecosystems
The Ethics of Artificial Intelligence in Digital Ecosystems
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Final Report.pdf
Final Report.pdfFinal Report.pdf
Final Report.pdf
 
BB_54028_20160212 SVTLS AI_FINAL_shown
BB_54028_20160212 SVTLS AI_FINAL_shownBB_54028_20160212 SVTLS AI_FINAL_shown
BB_54028_20160212 SVTLS AI_FINAL_shown
 
Artificial intelligence: PwC Top Issues
Artificial intelligence: PwC Top IssuesArtificial intelligence: PwC Top Issues
Artificial intelligence: PwC Top Issues
 
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
 
The Unleashing the Power of AI & How Machine Learning is Revolutionizing Ever...
The Unleashing the Power of AI & How Machine Learning is Revolutionizing Ever...The Unleashing the Power of AI & How Machine Learning is Revolutionizing Ever...
The Unleashing the Power of AI & How Machine Learning is Revolutionizing Ever...
 
An Elementary Introduction to Artificial Intelligence, Data Science and Machi...
An Elementary Introduction to Artificial Intelligence, Data Science and Machi...An Elementary Introduction to Artificial Intelligence, Data Science and Machi...
An Elementary Introduction to Artificial Intelligence, Data Science and Machi...
 
Artificial-Intelligence-in-psychology-1.pptx
Artificial-Intelligence-in-psychology-1.pptxArtificial-Intelligence-in-psychology-1.pptx
Artificial-Intelligence-in-psychology-1.pptx
 
Cognitive Computing.PDF
Cognitive Computing.PDFCognitive Computing.PDF
Cognitive Computing.PDF
 
Cognitive future part 1
Cognitive future part 1Cognitive future part 1
Cognitive future part 1
 
Cognitive future part 1
Cognitive future part 1Cognitive future part 1
Cognitive future part 1
 
Artificial intelligence dr bhanu ppt 13 09-2020
Artificial intelligence dr bhanu ppt 13 09-2020Artificial intelligence dr bhanu ppt 13 09-2020
Artificial intelligence dr bhanu ppt 13 09-2020
 
What is Artificial Intelligence.docx
What is Artificial Intelligence.docxWhat is Artificial Intelligence.docx
What is Artificial Intelligence.docx
 
Evanta 2018 msp big 3 tech
Evanta 2018 msp big 3 techEvanta 2018 msp big 3 tech
Evanta 2018 msp big 3 tech
 
Watson and Analytics
Watson and AnalyticsWatson and Analytics
Watson and Analytics
 
The A_Z of Artificial Intelligence Types and Principles_1687569150.pdf
The  A_Z of Artificial Intelligence Types and Principles_1687569150.pdfThe  A_Z of Artificial Intelligence Types and Principles_1687569150.pdf
The A_Z of Artificial Intelligence Types and Principles_1687569150.pdf
 
Decoding Artificial Intelligence.pdf
Decoding Artificial Intelligence.pdfDecoding Artificial Intelligence.pdf
Decoding Artificial Intelligence.pdf
 

More from Anne Starr

I01letor20so201leutor2020
I01letor20so201leutor2020I01letor20so201leutor2020
I01letor20so201leutor2020Anne Starr
 
Iso27001leadauditor2020
Iso27001leadauditor2020Iso27001leadauditor2020
Iso27001leadauditor2020Anne Starr
 
Dncybersecurity
DncybersecurityDncybersecurity
DncybersecurityAnne Starr
 
Dancyrityshy 1foundatioieh
Dancyrityshy 1foundatioiehDancyrityshy 1foundatioieh
Dancyrityshy 1foundatioiehAnne Starr
 
2 slides(2ndvariadaystion)
2 slides(2ndvariadaystion)2 slides(2ndvariadaystion)
2 slides(2ndvariadaystion)Anne Starr
 
Awtitioneressentialsdeckscloudprac401-577
Awtitioneressentialsdeckscloudprac401-577Awtitioneressentialsdeckscloudprac401-577
Awtitioneressentialsdeckscloudprac401-577Anne Starr
 
01wslouAsentialsdeck2dpractitioneres-400
01wslouAsentialsdeck2dpractitioneres-40001wslouAsentialsdeck2dpractitioneres-400
01wslouAsentialsdeck2dpractitioneres-400Anne Starr
 
uderessAwscloentialsdeck1-2ion00
uderessAwscloentialsdeck1-2ion00uderessAwscloentialsdeck1-2ion00
uderessAwscloentialsdeck1-2ion00Anne Starr
 
Cloudhnologysstecociat
CloudhnologysstecociatCloudhnologysstecociat
CloudhnologysstecociatAnne Starr
 
Cmbysantocsddsh
CmbysantocsddshCmbysantocsddsh
CmbysantocsddshAnne Starr
 
Cddmbysantcsosh
CddmbysantcsoshCddmbysantcsosh
CddmbysantcsoshAnne Starr
 
Ccbysantsddosh
Ccbysantsddosh  Ccbysantsddosh
Ccbysantsddosh Anne Starr
 
Ccsdbyhday1santodms
Ccsdbyhday1santodmsCcsdbyhday1santodms
Ccsdbyhday1santodmsAnne Starr
 

More from Anne Starr (20)

I01letor20so201leutor2020
I01letor20so201leutor2020I01letor20so201leutor2020
I01letor20so201leutor2020
 
Iso27001leadauditor2020
Iso27001leadauditor2020Iso27001leadauditor2020
Iso27001leadauditor2020
 
Ccsddm5days
Ccsddm5daysCcsddm5days
Ccsddm5days
 
Dayblic
DayblicDayblic
Dayblic
 
Day1cspbeblic
Day1cspbeblicDay1cspbeblic
Day1cspbeblic
 
Dncybersecurity
DncybersecurityDncybersecurity
Dncybersecurity
 
Dancyrityshy 1foundatioieh
Dancyrityshy 1foundatioiehDancyrityshy 1foundatioieh
Dancyrityshy 1foundatioieh
 
2 slides(2ndvariadaystion)
2 slides(2ndvariadaystion)2 slides(2ndvariadaystion)
2 slides(2ndvariadaystion)
 
Sec4
Sec4Sec4
Sec4
 
Secuntialesse
SecuntialesseSecuntialesse
Secuntialesse
 
Securityic2
Securityic2Securityic2
Securityic2
 
)k
)k)k
)k
 
Awtitioneressentialsdeckscloudprac401-577
Awtitioneressentialsdeckscloudprac401-577Awtitioneressentialsdeckscloudprac401-577
Awtitioneressentialsdeckscloudprac401-577
 
01wslouAsentialsdeck2dpractitioneres-400
01wslouAsentialsdeck2dpractitioneres-40001wslouAsentialsdeck2dpractitioneres-400
01wslouAsentialsdeck2dpractitioneres-400
 
uderessAwscloentialsdeck1-2ion00
uderessAwscloentialsdeck1-2ion00uderessAwscloentialsdeck1-2ion00
uderessAwscloentialsdeck1-2ion00
 
Cloudhnologysstecociat
CloudhnologysstecociatCloudhnologysstecociat
Cloudhnologysstecociat
 
Cmbysantocsddsh
CmbysantocsddshCmbysantocsddsh
Cmbysantocsddsh
 
Cddmbysantcsosh
CddmbysantcsoshCddmbysantcsosh
Cddmbysantcsosh
 
Ccbysantsddosh
Ccbysantsddosh  Ccbysantsddosh
Ccbysantsddosh
 
Ccsdbyhday1santodms
Ccsdbyhday1santodmsCcsdbyhday1santodms
Ccsdbyhday1santodms
 

Recently uploaded

Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Shubhangi Sonawane
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 

Recently uploaded (20)

Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 

inte

  • 2. Learning Objectives ✦Discuss the meaning, scope and stages of artificial intelligence ✦Discover the applications of artificial intelligence ✦Analyse the impact of artificial intelligence on the society
  • 3. Meaning of Artificial Intelligence • Is the intelligence exhibited by machines • Is based on the premise that intelligence is not “real” or “human” • Mimics cognitive functions exhibited by humans
  • 4. Three Stages of AI Artificial Narrow Intelligence Artificial General Intelligence Artificial Super Intelligence 2015 2025 2050 ANI ANI AGI AGI ASI ASI We are HERE
  • 5. Artificial Narrow Intelligence (ANI) Are limited to one or two functional areas Are not self-aware or self-conscious Appear to be making decisions; but it is the statistics/mathematics in action
  • 7. Artificial General Intelligence (AGI) Covers more than one functional area such as
  • 8. Examples of AGI • Multipurpose systems • Systems with human-level intelligence, reasoning, thinking and decision-making • Systems that synthesize diverse information and decide actions
  • 9. Artificial Super Intelligence (ASI) Surpasses human intelligence
  • 10. Examples of ASI Super intelligent AI agents Systems that are masters at every skill, subject, or discipline and are faster than the smartest humans.
  • 11. Three Stages of AI: At a glance Artificial Narrow Intelligence Artificial General Intelligence Artificial Super Intelligence 2015 2025 2050 A NI A NI A GI A GI A SI A SI User-driven big data systems for machine learning Machine Intelligence Advanced networks trained to build ad-hoc systems and improve themselves using data Machine Consciousness Systems characterised by cognitive self learning
  • 13. Applications of Artificial Intelligence Artificial Intelligence Machine Learning (ML) Vision Hearing Natural Language Processing (NLP) Robotics Expert Systems Deep Learning (DL) Image and Pattern Recognition Voice and Speech Recognition Natural Language Understanding (NLU) Natural Language Generation (NLG) Neural Networks Facial Recognition
  • 14. Applications of Artificial Intelligence Image Recognition Product Analytics A/B Testing Speech Recognition Language Translation Sentiment Analysis
  • 15. Impact of AI on Society Enhance Throughput and Efficiency Frees Up Humans Adds Jobs and Strengthens the Economy Enhances Lifestyle
  • 16. Enhances Throughput and Efficiency - Anand Sampat , DATMO “Artificial Intelligence is a huge benefit to the society as it enhances the efficiency and throughput , while creating new opportunities for revenue generation, cost saving and job creation.”
  • 17. Enhances Throughput and Efficiency Self Driving Cars • Are a combination of cameras, sensors. radars and artificial intelligence technology • Are capable of sensing the surrounding environment and navigating without human intervention
  • 18. Frees up Humans - Chalmers Brown , DueCompany “Machines allow humans to do the most interpersonal and creative aspects of work”
  • 19. Frees up Humans Enhance our Lifestyle • Supplement the more routine work allowing humans to focus on more important tasks • Mundane tasks will be replaced with smart systems to automate those tasks Create Efficient Business Smart Email Systems
  • 20. Frees up Humans Image processing, recognition and artificial intelligence will monitor areas and alert guards if there are events that require human intervention Monitoring Spaces
  • 21. Adds Jobs and Strengthens Economy - Matthew Lieberman , PWC “The unparalleled combination of human and machine will become the normal in the workforce of the future”
  • 22. Adds Jobs and Strengthens Economy • Headlines like “Robots and AI will destroy jobs” are more of a fiction than fact • There will be a gradual, positive evolution in the job market • People will work better with the help of AI.
  • 23. Enhances Lifestyle - Naresh Soni , Tsunami “Smart homes will reduce the energy usage and provide better security for humans. Marketing will be more targeted and healthcare will become more effective with smart devices”
  • 24. Enhances Lifestyle • Healthcare generates tons of data that can be used with Artificial intelligence to diagnose diseases • Real time insight to health conditions and can trigger emergency responses to health care providers • With AI we can diagnose faster and more accurately; develop new drugs and research; reduce medical errors; predict drug reactions; lowering cost of healthcare
  • 25. Supervised Learning for Telemedicine - Harold Quintus-Bosz , Cooper Perkins “Artificial Intelligence has the potential to extend knowledge and understanding to a broader population. Image based AI diagnoses of medical conditions could allow for a more comprehensive deployment of telemedicine”
  • 26. Supervised Learning for Telemedicine • Diagnoses diabetic retinopathy like highly trained ophthalmologist. • Diagnoses, monitors and treats diabetic retinopathy remotely via telemedicine • Better diagnose with less human effort • Portable fundus camera deployed to screening site • Images securely transferred to the cloud for processing • AI analyses images and provides a report for further human action
  • 27. Solves Complex Social Problems • Is a global database for litter • Is a crowdsourced litter clean up app • Identifies litter type, distribution and location • Finds more sustainable solutions One piece of litter at a time
  • 28. Improves Demand-Side Management - Greg Sarich , Clrearesult “From an energy standpoint, artificial intelligence can be used to analyse and research historical data to determine how to most efficiently distribute energy loads from a grid perspective ”
  • 29. Improves Demand-Side Management Machines become smarter over time Computers are not susceptible to human errors Energy Efficiency Demand-Side Management Demand Response
  • 30. Improves Demand-Side Management Smart home embedded systems learns home user power consumption and provides suggestion and controls to reduce power consumption IoT enabled systems for building power management optimises power consumption and helps in reducing cost Solar rooftops connected to their platform to gather natural energy and monitor usage to reduce overall production cost of energy
  • 31. Benefits multiple industries - Mark Butler , Qualys “AI risks are real if we don’t understand the quality of the incoming data and set AI rules that are making granular trade-off decisions at increasing computing speeds ”
  • 32. Benefits multiple industries Character / Facial Recognition Digital Content Analysis Accuracy in identifying patterns
  • 33. Benefits multiple industries • Biometric technology used to identify human faces • Used in security systems • Commercial identification and marketing tool
  • 34. Extends and Expands Creativity - Ganesh Padmanabhan , Cognitive Scale “AI intelligence is the biggest opportunity of our lifetime to extend and expand human creativity and ingenuity”
  • 35. Extends and Expands Creativity • Uses AI to transform how a person would look in the future (older) and past (younger) and other facial features. • AI detects features of the face and then creates a possible look when ageing is applied from historical data of millions of images.
  • 36. Extends and Expands Creativity • Google Photos uses AI to propose lighting changes that enhance a photograph taken on a mobile device or loaded to their service • Create automated video clips from photos and video stored on their services
  • 37. Impact of AI on Multiple Industries and Use Cases
  • 38. Key Takeaways ✦Artificial intelligence is the intelligence exhibited by machines and the capability of machines to imitate human behavior. ✦The three stages of AI include Artificial Narrow Intelligence, Artificial General Intelligence and Artificial Super Intelligence. ✦Various applications of AI include image recognition, speech recognition, natural language processing, translation, product analytics, A/B testing and sentiment analysis. ✦AI contributes to the society by enhancing throughput and efficiency, adding jobs, strengthening the economy, increasing human efficiency, enhancing the lifestyle, solving complex social problems and benefiting multiple industries.
  • 40. Learning Objectives ✦Discuss the meaning of machine learning and its relationship with AI ✦Describe the relationship between machine learning and statistical analysis ✦Explain the process of machine learning ✦List and compare the types of machine learning ✦Analyse different algorithms of machine learning ✦Explore the meaning of deep learning and artificial neural networks
  • 41. “Machine learning can be defined as an approach to achieve artificial intelligence through systems or software models that can learn from experience to find patterns in a set of data.” Definition of Machine Learning
  • 42. Meaning of Machine Learning An application of artificial intelligence An ability to automatically learn and improve from experience Recognizes data patterns and creates rules rather than traditional programming Begins with observations or data, such as direct experience, or instructions to look for data patterns
  • 43. Relationship between AI, ML and DL Artificial Intelligence 1950’s 1960’s 1970’s 1980’s 1990’s 2000’s 2010’s
  • 44. Relationship between AI, ML and DL Artificial Intelligence Machine Learning 1950’s 1960’s 1970’s 1980’s 1990’s 2000’s 2010’s
  • 45. Relationship between AI, ML and DL Artificial Intelligence Machine Learning Deep Learning 1950’s 1960’s 1970’s 1980’s 1990’s 2000’s 2010’s
  • 46. AI Examples Google uses artificial intelligence and machine learning in almost all of its applications
  • 48. Machine Learning Depends largely on data to study patterns Requires a large amount of data and statistical analysis
  • 49. Statistical Analysis Collects and scrutinises the data sample to identify trends Statistical model is a formalisation of relationships between variables in the form of mathematical equations
  • 51. Difference between ML and Statistical Analysis Machine Learning Statistical Analysis • Is a subset of artificial intelligence in the field of computer science • Is associated with high-dimensional data • Takes away the deterministic function f out of the equation: Input (X) —-> Output (Y) • Belongs to the field of mathematics • Deals with finding a relationship between variables to predict an outcome • Deals with low dimensional data • Tries to estimate the function f: Dependent Variable (Y) = f(Independent Variable) + Error Function
  • 52. Statistical Analysis Concepts Statistics Model Parameters Fitting Test Set Performance Regression/Classification Density Estimation, Clustering
  • 53. Approach of Machine Learning Leverages existing data, images and videos to train algorithms and models
  • 54. Approach of Machine Learning Feeds numerous sets of examples called training sets into the system 0 0
  • 55. Approach of Machine Learning The larger the training set, the more accurate the AI system
  • 56. Approach of Machine Learning Labels each item in a training set as either 0 or 1 0 1
  • 57. Machine Learning Process Training Testing Machine Learning Process
  • 58. Machine Learning Process Training + Input Data Machine Learning Algorithm Algorithm studies the data patterns Works out a logic Learned Model Used with test data sets Expected Output Labeled Training Data
  • 59. Machine Learning Process Testing Test Data Input Data Learned Model Classifies test data based on the patterns learned from training data Uses patterns from the test data and logic from learned model to predict and derive the outcome Predictions Output Generates output based on logic derived from training data
  • 60. Types of Machine Learning Semi-Supervised Learning Reinforcement Learning Supervised Learning Unsupervised Learning
  • 61. Supervised Learning • Is provided with training data along with the expected output or rules to categorize this data also known as labels • Uses the set of input and outputs to predict the output for future unseen inputs Labelled Training Data + Input Data Expected Output Machine Learning Algorithm The ML Program Learned Model Used with test data sets
  • 62. Supervised Learning Example Step one: Train the model 1. Provide images of apples along with the expected response to the model Step two: Test the model 1. The model learns from labelled data 2. Provide images to the model again without expected output 3. The output of the model is “These are apples” “These are apples” LEARNED MODEL Known Response “These are apples” New Response LEARNED MODEL
  • 63. Unsupervised Learning Labeled Training Data Input Data Machine Learning Algorithm Learned Model The ML Algorithm • Learns from an unlabeled dataset • Uses input data to train the model • Is expected to find patterns and anomalies
  • 64. Unsupervised Learning Example: Image Identification Step one: Input Unlabelled Data 1. Provide images of different kinds of fruit without expected output Step two: Test the model 1. The model identifies patterns like shape, colour, and size 2. It groups the fruits based on these features,attributes or qualities LEARNED MODEL Known Data LEARNED MODEL Known Data
  • 65. Semi-Supervised Learning • Is a hybrid approach • Is a combination of supervised and unsupervised learning • Uses a combination of labeled and unlabelled data Semi-Supervised Learning
  • 66. Semi-Supervised Learning Example Step one: Input unlabelled data 1. Collect and group labelled and unlabelled data for training Step two: Test the model 1. Feed all the training data into the model Training Data Labelled Data Unlabelled Data Training Data LEARNED MODEL
  • 67. Reinforcement Learning The Learning System • Observes the environment and learns the ideal behaviour • Selects and takes certain actions and receives rewards in return • Receives feedback in a loop • Learns the strategy or policy that maximises rewards
  • 68. Reinforcement Learning Example : Robot Tries to manipulate the environment Walks and tries to go from one state to another Receives a reward for accomplishing a sub module of the task
  • 69. Reinforcement Learning Example : Robot Identifies a device from one box and puts it in a container Learns by mean of a rewards based learning system, which incentivises the right action
  • 70. Machine Learning Algorithms The choice of algorithm depends on the data type in the use case Regression Classification Clustering / Dimensionality Reduction Continuous Target Discrete Target Labelled Data Unlabelled Data Association Analysis Polynomial Linear Trees SVM KNN Trees Logistics K-means SVD PCA Apriori FP-Growth
  • 71. Type of Supervised Learning Regression Classification Continuous Target Discrete Target Labelled Data Polynomial Linear Trees SVM KNN Trees Logistics Classification Regression
  • 72. Classification Classification is applied when output has finite and discrete values
  • 73. Classification Algorithms Regression Classification Continuous Target Discrete Target Labelled Data Polynomial Linear Trees SVM KNN Trees Logistics Classification is applied when output has finite and discrete values
  • 74. Regression When the output is continuous number
  • 75. Regression .y = wx + b Relationship between environmental temperature (y) and humidity levels (x)
  • 76. Linear Regression Represents relationships between input (x) and output (y) variables Find specific weightage for input variables called coefficients (b)
  • 77. Decision Trees ✦Is a graphical representation of all possible solutions to a decision ✦Uses predictive models to achieve results ✦Is drawn upside down with its root at the top ✦Splits into branches based on a condition or internal node ✦Doesn’t split the end of the branch, if it is the decision / leaf
  • 78. Decision Tree Predicts continuous values like price of a house Referred to as CART (Classification and Regression Tree) Represents a single input variable (x) and a split point on that variable
  • 79. Naive Bayes • Is a simple but surprisingly powerful algorithm for predictive modelling • Comprises two types of probabilities: • The probability of each class • The conditional probability of each class based on the value of x • Can be used to make predictions for new data • Can easily estimate probabilities as bell curve for real- valued data • Is called naive because it assumes that each input variable is independent
  • 80. Naive Bayes Example : Spam How does an email client classify between valid and spam emails?
  • 81. Naive Bayes Classification Classify objects as either green or red Classify new cases as they arrive
  • 82. Naive Bayes Classification Prior Probability • Is based on previous experience • Of green: number of green objects / total number of objects • Of red: number of red objects / total number of objects
  • 83. Naive Bayes Classification Prior Probabilities for Class Membership • Prior probability for green : 40/60 • Prior probability for red: 20/60
  • 84. Naive Bayes Classification New cases will belong to that colour of which there is more objects
  • 86. Naive Bayes Classification Calculation of likelihood Likelihood of X given GREEN is smaller Likelihood of X given RED
  • 87. Naive Bayes Classification Calculation of prior probability The final classification is produced by combining both source of information, the prior and the likelihood, to forma posterior probability using Bayes’ rule.
  • 88. Naive Bayes Classification Classify X as RED as its class membership achieves largest posterior probability
  • 89. K-Means Clustering Clustering / Dimensionality Reduction Continuous Target Unlabelled Data Trees K-means SVD PCA A versatile algorithm that can be used for any type of grouping
  • 90. K-Means Clustering : Examples Behavioural segmentation Inventory categorisation Sorting sensor measurements Detecting bots or anomalies Segment by purchase history Segment by activities on application, website or platform Define personas based on interests Create profiles based on activity monitoring Group inventory by sales activity Group inventory by manufacturing metrics Detect activity types in motion sensors Group Images Separate audio Identify groups in health monitoring Separate valid activity groups from bots Group valid activity to clean up outlier detection
  • 91. K-Means for Unsupervised Learning K-Means involves two steps Step 1: Cluster Assignment Step2 : Move Centroid Step
  • 92. K-Means for Unsupervised Learning • Travels through data points, depending on which cluster is closer • Assigns it to red, blue, or green cluster Step One
  • 93. K-Means for Unsupervised Learning Calculates average of all points in cluster and moves centroid to the average location Step Two
  • 95. Introduction to Deep Learning “ Deep learning is a specialized form of machine learning that uses supervised, unsupervised, or semi-supervised learning to learn from data representations. It is similar to the structure and function of the human nervous system, where a complex network of interconnected computation units work in a coordinated fashion to process complex information. ”
  • 96. Deep Learning A subset of machine learning Refers to deep artificial neural network Set new records in accuracy Arranged in layers and learn patterns of the patterns
  • 97. Neural Network of Human Brain Biological Neuron Approximately 86 billion interconnected neutrons Input Signals Output Signal
  • 98. Neural Network of Human Brain Biological Neuron Process and transmit chemical and electrical signals Input Signals Output Signal
  • 99. Neural Network of Human Brain Biological Neuron Takes input and pass along the output Input Signals Output Signal
  • 100. Neural Network of Human Brain Biological Neuron Responds to certain stimuli and passes output to another Input Signals Output Signal
  • 101. Neural Network of Human Brain • Learns to identify objects from photos • Uses neurons to understand and interpret that the animal is a cat
  • 102. Neural Network of Human Brain • Each of these neuron may have different weightage (governed by how important the feature is) to the overall image • If all these neurons fire in the same direction our brain tells us that we saw a cat
  • 103. Neural Network of Human Brain The more data you feed, the better their recognition capability
  • 104. Artificial Neural Network : Definition “ Artificial Neural Network is a computing system made up of a number of simple, highly interconnected processing elements which process information by the dynamic state response to external inputs. ”
  • 105. Artificial Neural Network A mathematical function conceived as a model of biological neurons Modelled loosely after the human brain Designed to recognise patterns Interpret sensory data through machine perception labelling or clustering
  • 106. Features of Artificial Neuron Cluster and classify the raw input Group unlabelled dataset based on the similarities in the inputs Classify labelled dataset based on expected results Extract features fed to other algorithms
  • 107. Definition of Perceptron “ Perceptron is a neural network unit (an artificial neuron) that does certain computations to detect features or business intelligence in the input data. ”
  • 108. Meaning of Multilayer Perceptron A single neuron model A precursor to larger neural networks Investigates how simple models of biological brains can solve difficult computational tasks Develop robust algorithms and data structures that can model difficult problems
  • 109. Structure of Multilayer Perceptron Model of a simple neuron Model of a simple network Layer One network can have multiple layers Network topology Hidden layers Not directly exposed to the input Single neuron in the hidden layer that directly outputs the value Output layer
  • 110. Online and Batch Learning Needs to be trained on your dataset The weights in the network are updated from the errors calculated for each training example. The errors can be saved up across all of the training examples, and the network can be updated at the end. Can be used to make predictions Online Learning Batch Learning
  • 111. Types of Deep Neural Networks Multi-layer fully-connected neural sets Layers with more than one hidden layer between input and output layers Neural networks that are used for image processing and classification
  • 112. Uses of CNN CNN is trained and used in the following ways CNN Applications Automatic Video Classification Systems Self-Driving Cars Image Search Voice Recognition Natural Language Processing
  • 113. Future Prediction of AI Google develops artificial intelligence algorithm that predicts your death with 95% accuracy. Singularity is predicted to be achieved by 2045 when computers will have the same level of intelligence as that of humans. Forbes estimates that 85% of customer interactions will be managed by AI by 2020 The world’s leading car manufacturers predict driverless cars will be on the streets by 2020-2030 Doomsday AI machines could lead to nuclear war, think tank paper warns.
  • 115. Key Takeaways ✦The two subsets of Artificial Intelligence are machine learning and deep learning. ✦Machine learning algorithms learn form data whereas statistical model is a formalisation of relationship between variables. ✦Supervised learning, unsupervised learning and semi-supervised learning are the the three types of machine learning. ✦Reinforcement learning is an area in machine learning that is used when the training data has a feedback loop. ✦A decision tree is a tree-like graph that uses branching methods to demonstrate every possible outcome of a decision. ✦Naive bayes’ is a classification technique, which assumes that the presence of a particular feature in a class is unrelated to the presence of any other feature.
  • 116. Key Takeaways ✦K-means clustering is a type of unsupervised learning, which is used to solve clustering problems. ✦Neural networks are a set of algorithms, modelled loosely after the human brain, which is designed to recognise patterns.
  • 118. Learning Objectives ✦Describe the seven steps of machine learning workflow
  • 119. The Machine Learning Workflow The job of the data scientist The processes a data scientist follows to provide feedback to decision makers The machine learning process in business environment
  • 120. Goals of Machine Learning Workflow • Identify actionable steps with a given set of variables • Derive meaningful conclusions for complicated issues • Derive answers to business challenges Goals
  • 121. Yes No Yes Yes 7 steps of Machine Learning 1 Get More Data 2 Ask a Sharp Question 3 Add the Data to Table 4 Check for Quality 5 Transform Features 6 Answer the Question 7 Use the Answer
  • 122. Step 1 : Get More Data Data can be collected in different formats Investigate a business challenge Quality of the model depends upon quality and quantity of the data gathered
  • 123. Step 1 : Get More Data Data Formats
  • 124. Step 2 : Ask a Sharp Question Need for a sharp question It focuses on a single topic It helps you to get clear answers to the questions. It focuses on the exact need and requirement It is direct and specific
  • 125. Step 2 : Ask a Sharp Question (Vague vs Sharp) Vague questions 1. Which route is fast ? 2. How to make more profit? 3. Will the users use more of the new features? 4. Which data can tell you about your business? Sharp questions 1. Which route will get you to work faster? 2. How much sales needed to achieve 30% profit? 3. How many times will a user use the new product features? 4. Which of the transaction is fraudulent?
  • 126. Step 2 : Ask a Sharp Question Example ✦Study different tables of data in the database and analyze your company’s monthly sales performance ✦Understand how the company is doing in terms of market share ✦Analyze the historical data and predict the stock price for a future date
  • 127. Step 3 : Add Data to the Table Data analyst arranges data in database tables in a systematic manner. 01 Systematic arrangement of data helps in detailed analysis 02 Data is stored in the table in the form of columns and rows. 03 Table columns represent data of a single type and rows represent records pertaining to one entity. 04 Aggregate, distribute, compute of measure to derive data analysis. 05
  • 128. Data Analysis in Machine Learning The process of deriving new findings from historical data Focuses on aggregating table data to find answers to business problems Performed by data analysts to build machine learning algorithms
  • 129. Example : Add Data to the Table • The stock price column shows the stock value across different dates • Each table row represents observations across given attributes
  • 130. Example : Data Analysis Aggregate and distribute the data as shown here:
  • 131. Example : Aggregate • You can aggregate the data in the table to derive answers • This process is called data analysis and involves counting total observations in a table or combining data from multiple tables
  • 132. Example : Distribute, Compute, Measure • An example of performing aggregate, distribute, compute and measure operations on data in tables • Each feature and their observations are distributed across the table and then combined
  • 133. Example : Estimate • The market share column shows the estimated stock price values of the company that are derived from the previous steps
  • 134. Step 4 : Check for Quality Determine if the data is acceptable for further investigation Ensure the data in a column is in a consistent format
  • 135. Check for Quality : Example
  • 136. Check for Quality : Example • There is inconsistencies in the data format in the Birth year column of the table • Dates in the column need to be converted to a consistent format to make it readable for the ML algorithm
  • 137. Check for Quality : Example • Denote the Birth year column numbers as numbers, without any special characters • Checking data quality is a critical step
  • 138. Step 5 : Transform Features •Enables you to make sense out of the data, especially when there are multiple features •Help overcome challenges where some features may not give useful information for the model, where as some features may be combined to derive meaningful information Feature Engineering
  • 139. Tricks of Feature Engineering • Scale Invariant Feature Transform (SIFT): Images • Term Frequency-Inverse Document Frequency (TF-IDF): Text Data Specific •Econometric, technological, agricultural and sociological data engineering Domain Specific •Images, text and audio data engineering Deep Learning
  • 140. Transform Features : Example • There are 3 columns and 65670 rows • Features 0 and 1 have similar values • The numbers are meaningless and scattered
  • 141. Transform Features : Example • Values of feature column 0 is multiplied with every observation in feature column 1 • These values are plotted in image 2
  • 142. Transform Features : Example • By plotting the values obtained by subtracting feature 0 from feature 1, a curve is formed • This curve is a normal or gaussian distribution or bell-shaped curve
  • 143. Step 6 : Answer the question Helps to analyse if the obtained answers are clear How much or how many? Which category? Which group? Questions Does this look strange? Which action?
  • 144. Answer the Question: Type 1 What will be the temperature this Friday? 01 How much or how many? How many people will like your post? 02 What will be your product sales next month? 03
  • 145. Answer the Question: Type 2 Is this an image of a dog? 01 Which category? What is the topic of this news article? 02 Which hotel in your area offers free Wi-Fi? 03
  • 146. Answer the Question: Type 3 Which group of shoppers purchase similar products? 01 Which group? Which group of viewers like horror movies? 02 How best can you divide this book into ten topics? 03
  • 147. Answer the Question: Type 4 Is this internet message typical? 01 Does this look strange? Is this heart beat reading abnormal? 02 Do these transactions look unusual as opposed to customers usual transactions? 03
  • 148. Answer the Question: Type 5 Should you vacuum again or not? 01 Which action? Should you beat the red light? 02 Should you raise or lower the temperature? 03
  • 149. Step 7 : Use the Answer Making up a decision 01 There are plenty of ways to use the answer derived form the previous step. Proposing the price of an item 02 Publishing the results obtained as part of a research paper 03 Constructing a dashboard on a visualisation tool 04 Making changes to product features 05
  • 150. Key Takeaway ✦Machine learning workflow involves seven steps. ✦The first step of machine learning workflow is used to collect data to answer different business questions. ✦To get the desired response, always ask sharp questions and avoid vague ones. ✦Arrange raw data in tables for better data analysis. ✦To ensure data consistency data scientists must check for the quality of data. ✦The transform feature is used to increase the efficiency of the machine learning model. ✦The answer received by the model helps in solving business challenges. ✦Learn from the answer received by the model and implement it as a solution to the problem.
  • 152. Learning Objectives ✦Discuss the need for performance metrics ✦List and analyse the key methods of performance metrics
  • 153. Need for Performance Metrics Non Technical Domain
  • 154. Need for Performance Metrics Technical Domain
  • 155. Need for Performance Metrics ✦How do you rank machine learning algorithm? ✦How can you pick one algorithm over the other? ✦How do you measure and compare these algorithms?
  • 156. Need for Performance Metrics ✦ Performance metric is the answer to these questions. ✦It helps measure and compare algorithms.
  • 157. - Stephen Few “Numbers have an important story to tell. They rely on you to give them a voice.” Performance Metrics
  • 158. - Stephen Few “Numbers have an important story to tell. They rely on you to give them a voice.” Performance Metrics Assess Machine Learning Algorithms Machine learning models are evaluated against your selected performance metrics Help evaluate efficiency and accuracy of machine learning models
  • 159. Key Methods of Performance Metrics Classification Problem Confusion Matrix Accuracy Precision Recall Specificity F1 Score
  • 160. Meaning of Confusion Matrix TP FP FN TN Actual Positives(1) Negatives(0) Positives(1) Negatives(0) Predicted One of the most intuitive and easiest metrics used to find correctness and accuracy Not a performance measure Almost all performance metrics are based on confusion matrix
  • 161. Confusion Matrix : Example Cancer Prediction System There are different approaches that can hep the center predict cancer Okay Let me introduce you to one of the easiest matrices that can help you predict whether a person has cancer, the confusion matrix.
  • 162. Confusion Matrix : Classification Problem How to predict if a person has cancer? Give a label / class to the target variables: When a person is diagnosed with cancer When a person does not have cancer 1 0
  • 163. Confusion Matrix : Classification Problem Sets of classes are given in both dimensions TP FP FN TN Actual Positives(1) Negatives(0) Positives(1) Negatives(0) Predicted
  • 164. Terms of Confusion Matrix True Positive TP TP True Negative TN TN False Negative FN FN False Positive FP FP TP FP FN TN Actual Positives(1) Negatives(0) Positives(1) Negatives(0) Predicted
  • 165. True Positive True Positive TP TP TN TN FN FN FP FP True Positives are the cases where the actual class of the data point is 1 (true) and the predicted value is also 1 (true). The case where a person has cancer and the model classifies the case as cancer positive comes under true positive.
  • 166. True Negative True Negative TP TP TN TN FN FN FP FP True Negatives are the cases when the actual class of the data point is 0 (false) and the predicted is also 0 (false). It is negative because the class predicted was negative. The case where a person does not have cancer and the model classifies the case as cancer negative comes under true negative.
  • 167. False Positive TP TP TN TN FN FN FP FP False positives are the cases when the actual class of the data point is 0 (false) and the predicted is 1 (true). It is false because the model has predicted incorrectly. The case where a person does not have cancer and the model classifies the case as cancer positive comes under false positive. False Positive
  • 168. False Negative False Negative TP TP TN TN FN FN FP FP • False negatives are the cases when the actual class of the data point is 1 (true) and the predicted is 0 (false). • It is false because the model has predicted incorrectly. • It is negative because the class predicted was negative. The case where a person has cancer and the model classifies the case as cancer negative comes under false negatives.
  • 169. Minimize False Cases What should be minimised? ✦A model is best identified by its accuracy ✦No rules are defined to identify false cases ✦It depends on business requirements and context of the problem.
  • 170. Minimize False Negative : Example Out of 100 people Actual cancer patients = 5 Bad Model Predicts everyone as non- cancerous Accuracy = 95% When a person who does not have cancer is classified as cancerous Missing a cancer patient will be a huge mistake
  • 171. Minimize False Positive : Example The model needs to classify an email as spam or ham (term used for genuine email). Assign a label / class to the target variables: Email is spam Email is not spam 1 0
  • 172. Minimize False Positive : Example Incoming mail Model In case of false positive Important email as spam ! Business stands a chance to miss an important communication An important email marked as spam is more business critical than diverting a spam email to inbox. Classifies Incoming mail Model
  • 173. Accuracy In classification problems, accuracy is defined by the total number of correct predictions made out of all the predictions.
  • 174. Accuracy : Calculation TP FP FN TN Actual Positives(1) Negatives(0) Positives(1) Negatives(0) Predicted Accuracy = TP + TN TP + FP + FN + TN
  • 175. Accuracy : Example When the target variable classes in the data are nearly balanced When do we use accuracy?
  • 176. Accuracy : Example The machine learning model will have approximately 97% accuracy in any new predictions.
  • 177. Accuracy : Example 5 out of 100 people have cancer When do you NOT use accuracy? It’s a bad model and predicts every case as noncancerous It classifies 95 noncancerous patients correctly and 5 cancerous patients as noncancerous Accuracy of the model is 95% When the target variable classes in the data are a majority of one class
  • 178. Precision • Refers to the closeness of two or more measurements • Aims at deriving correct proportion of positive identifications
  • 179. Precision : Calculation TP FP FN TN Actual Positives(1) Negatives(0) Positives(1) Negatives(0) Predicted Precision = TP TP + FP
  • 180. Precision : Example Its a bad model and predicts every case as cancer When do we use precision? Everyone has been predicted as having cancer Precision of the model is 5% 5 out of 100 people have cancer
  • 181. Recall or Sensitivity Recall or sensitivity measures the proportion of actual positives and that are correctly identified.
  • 182. Recall or Sensitivity : Calculation TP FP FN TN Actual Positives(1) Negatives(0) Positives(1) Negatives(0) Predicted Recall = TP TP + FN
  • 183. Recall or Sensitivity : Example Predicts every case as cancer When do we use recall? Recall is 100% Precision of the model is 5% 5 out of 100 people have cancer
  • 184. Recall as a Measure When do we use precision and when do we use recall? Precision is about being precise, whereas recall is about capturing all the cases.
  • 185. Recall as a Measure When do we use precision and when do we use recall? If the model captures one correct cancer positive case, it is 100% precise.
  • 186. Recall as a Measure When do we use precision and when do we use recall? If the model captures ever case as cancer positive, you have100% recall.
  • 187. Recall as a Measure When do we use precision and when do we use recall? To focus on minimising false negatives you would want 100% recall with a good precision score.
  • 188. Recall as a Measure When do we use precision and when do we use recall? To focus on minimising false positives you should aim for 100% precision.
  • 189. Specificity • Measures = proportion of actual negatives that are correctly identified • Tries to identify probability of a negative test result when input with a negative example
  • 190. Specificity : Calculation TP FP FN TN Actual Positives(1) Negatives(0) Positives(1) Negatives(0) Predicted Specificity = TN TN + FP
  • 191. Specificity : Example Predicts every case as cancer So specificity is the exact opposite of recall Specificity is 0% 5 out of 100 people have cancer
  • 192. F1 Score Do you have to carry both precision and recall in your pockets every time you make a model to solve a classification problem? No to avoid taking both precision and recall, its best to get a single score (F1 score) that can represent both precision (P) and recall (R).
  • 193. F1 Score : Calculation 3 97 0 0 Actual Fraud Not Fraud Fraud Not Fraud Predicted F1 Score = 2 * Precision * Recall Precision + Recall
  • 194. F1 Score : Example 97 out of 100 credit card transactions are legit and 3 are fraud When do you use F1 score? Predicts everything as fraud Fraud detection
  • 195. F1 Score : Example Precision = 3 100 = 3% Recall = 100 3 = 100% Arithmetic Mean = 3+100 2 = 51.5%
  • 196. Harmonic Mean • Harmonic mean is an average used when x and y are equal • Value of the mean is smaller when x and y are different With reference to the fraud detection example, F1 Score can be calculated as F1 Score = 2 * Precision * Recall Precision + Recall = 2 * 3 * 100 100 + 3 = 5%
  • 197. Key Takeaways ✦Confusion matrix is used to find correctness and accusation of machine learning models. It is also used for classification problems where the output can be one of two or more types of classes. ✦Accuracy is the number of correct prediction made by the model over all kinds of predictions. ✦Precisision refers to the closeness of two or more measurements to each other ✦Recall measures the proportion of actual positives that are identified correctly. ✦Specificity measures the proportion of actual negatives that are identified correctly. ✦F1 Score gives a single score that represents both precision (P) and recall (R). ✦Harmonic mean is used when the sample data contains extreme value because it is more balanced than arithmetic mean.
  • 199. Learning objectives ✦Popular programming languages ✦Python in data science and artificial intelligence ✦Benefits of using Python
  • 201. Programming Languages in Data Science
  • 202. Relationship between Data Science, ML and AI Data Science Machine Learning Artificial Intelligence Data Insight Action Features Prediction Transformation Deep Learning Analytics Human decision Automated decision
  • 203. Data Science and AI Acquire Wrangle Explore Model Visualize
  • 204. Python Tools for Data Science Acquire Wrangle Explore Model Visualize
  • 205. Python tools for AI seaborn
  • 206. Why Python ? ✦Simple language to learn - syntax wise - general purpose programming language ✦Hassle free and fast for prototyping to production ✦Supports all modern programming constructs: OOP, Web, Microservices etc. ✦Continuously and actively updated - 72,000++ libraries ✦Supports the largest number of libraries for machine learning and data science ✦FREE and portable open source platform
  • 207. Getting started ✦Installing Anaconda - all in one tool for data science, machine learning, artificial intelligence and visualisation. ✦ www.anaconda.com ✦Download -> Anaconda Distribution (open source) ✦Anaconda Enterprise - Enterprise features to manage organisation wide output of DS/ML/AI projects
  • 208. Jupyter Notebook ✦Open-source web application (included as part of Anaconda) ✦Create and share documents that contain live code, equations, visualizations and narrative text. ✦Describe data cleaning and transformation, numerical simulation, statistical modeling, data visualization, machine learning, and much more.