Introducing
Your new presentation assistant.
Refine, enhance, and tailor your content, source relevant images, and edit visuals quicker than ever before.
Trending searches
Artificial Intelligence & Machine Learning
Artificial Intelligence (AI) is a technology that performs cognitive tasks that normally only humans can perform.
Artificial Intelligence leverages computers and machines to mimic the problem-solving and decision-making capabilities of the human mind
AI ALGORITHMS
Fields of artificial intelligence
There are three types of AI:
a) Computer Vision
-is a field of artificial intelligence (AI) that focuses on enabling machines to interpret and understand visual information from the world.
a) Artificial Narrow Inteligence (ANI -weak AI)
AI type that can match human performance in one specific domain
Example: image recognition, speech recognition
b) NLP (Natural Language Processing)
-is a field of artificial intelligence (AI) that focuses on enabling machines to understand, interpret, and generate human language.
b) Artificial General Intelligence (AGI - strong AI)
-refers to the theoretical concept of creating machines that can perform any intellectual task that a human being can do
Example: ALPHAZERO
c) Robotics
-is a field of artificial intelligence (AI) that focuses on enabling machines to move and behave like humans
c) Artifical Super Inteligence (ASI)
-refers to a theoretical form of artificial intelligence that is vastly more intelligent than human beings across all domains and tasks.
Example: it still doesn't exist
d) Speech Recognition
-is a field of artificial intelligence (AI) that focuses on enabling machines to hear sound like humans
Intro to Machine Learninig
Machine Learning is a subset of AI that uses algorithms that teach machines how to learn from experience over large data sets
The output of machine learning is a model
Parts of machine learning:
training data + ML algorithm = ML model
How ML learns from the data?
Baby
ML MODEL
Reinforcement Learning
Supervised Learning
Unsupervised Learning
There are several types of deep learning models:
RNN
CNN
NN
Neural Network
Recurrent Neural Network
Convolutional Neural Network
Neural Network (ANN)
Architecture of ANN Deep Learning
Input Layer
Hidden Layer
Output Layer
Components of ANN
Biases are a constant value that is added to the weighted sum of the inputs of each neuron.
Biases are initialized with small random values and then adjusted during training to minimize the loss function.
Activation functions are a key component of artificial neural networks (ANNs). They are used to introduce nonlinearity into the output of each neuron in the network, which is essential for the network to learn complex patterns in data.
Activation functions operate on the weighted sum of the inputs to a neuron plus its bias, producing a non-linear output.
Weights are numerical values that determine the strength of the connection between two neurons.
During training, the network learns the optimal values of these weights to minimize the error between the predicted output and the actual output.
How to train NN?
5. Calculate the error
1. Data Preparation
6. Update the weights and biases
3.Initialization
4. Forward propagation
2.Model Architecture
6. Backpropagation
7. Repeat steps 4-6 for multiple epochs
Convolutional Neural Network (CNN)
4. Full Connection
1. Convolution
3. Flattering
2. Pooling
Architecture of CNN Deep Learning
Convolution
Convolution is defined by the following formula:
Masks for filtrtation:
ReLU
Img after convolution
View of the operation of the ReLU layer
Pooling
Flattering
Full Connection
Common concepts in Computer Vision
Masks
Intersection over Union (IoU)
Ground truth
Bounding boxes
Masks
Bounding boxes
Intersection over Union (IoU)
Ground truth
If IoU is high (e.g., greater than 0.5), then the algorithm has successfully detected the cat in the image. If IoU is low (e.g., less than 0.5), then the algorithm has not successfully detected the cat in the image.
Object Detection
The region proposal network is responsible for generating a set of bounding boxes that are likely to contain objects of interest in an image. These bounding boxes are then passed to the object detection network, which evaluates each box to determine whether it contains an object and, if so, what class the object belongs to.
Instance Segmentation
Confusion Matrix
-is used to judge the performance of machine
-also known as an Error Matrix
-is a way of visualisation of prerformance of ML model
Confusion Matrix
Confusion Matrix
N=15
TN
TN=3
TN- We start from the left corner. With True Negative, this involves counting how many images the model predicted were not knocks that actually were not knocks.
Confusion Matrix
N=15
FP- How much did the model predict that something is a dog but in reality it is not a dog (incorrect prediction)
FP=2
FP
TN=3
Confusion Matrix
N=15
FN- represents how much the model predicted that something was not a dog when in fact it was a dog
FP=2
FP
TN=3
FN=1
FN
Confusion Matrix
N=15
TP- represents how much the model predicted that something was a dog and that it really was a dog
FP=2
FP
TN=3
TP=9
FN=1
TP
FN
Confusion Matrix
Precision, recall, accuracy
Precision, recall, accuracy
Precision, recall, accuracy
Precision, recall formulas