Foundations Flashcards
Computer vision
Image detection and classification. Near realtime video analysis
Computer vision ML model
Uses neural networks
3 components of neural networks
Input layer: receives input data
Hidden layer: finds features in the data that have predictive power based on labels
Output layer: Generates the output
CNN
Convolutional neural networks used in modern day computer vision. Provides for faster training
Feature extraction
In CNNs this describes the process of how hidden layers extract different information from images
Image classification
What’s in this image. Text detection, OCR and content moderation
Object detection
More granular than image classification. How many objects or are there different classes of the object in the image
Semantic segmentation
Goes down to the pixel level. Identifies which part of the image is the object in
Activity recognition
Based around videos. Added time component. Detects changes that occur over time
Machine learning (ML)
is a modern software development technique and a type of artificial intelligence (AI) that enables computers to solve problems by using examples of real-world data. It allows computers to automatically learn and improve from experience without being explicitly programmed to do so.
supervised learning
every training sample from the dataset has a corresponding label or output value associated with it. As a result, the algorithm learns to predict labels or output values.
unsupervised learning
there are no labels for the training data. A machine learning algorithm tries to learn the underlying patterns or distributions that govern the data.
reinforcement learning
the algorithm figures out which actions to take in a situation to maximise a reward (in the form of a number) on the way to reaching a specific goal. This is a completely different approach than supervised and unsupervised learning.
model
an extremely generic program, made specific by the data used to train it. A more technical definition would be that a machine learning model is a block of code or framework that can be modified to solve different but related problems based on the data provided.
Model training algorithms
work through an interactive process where the current model iteration is analysed to determine what changes can be made to get closer to the goal. Those changes are made and the iteration continues until the model is evaluated to meet the goals.
Model inference
is when the trained model is used to generate predictions.
5 machine learning steps
- Define the problem
- Build the dataset
- Train the model
- Evaluate the model
- Use the model
labels
refers to data that already contains the solutions
Supervised vs unsupervised learning
Labelled data is supervised. Unlabelled data is unsupervised
clustering
Used in unsupervised learning. Used to determine if there are any naturally occurring groups in the data
categorical label
Has a discrete value (Sunday, Monday etc). Often used in classification tasks
continuous label (regression)
No discrete possibility, means you’re likely working with numerical data