Supervised learnning
In Supervised learning, we can only make a decision on how to update the internal parameters by knowing what our expected output should be, I.E “learning by example”.
Basically you need to have some training data to provide to the training examples
Unsupervised learning
In unsupervised learning, we don’t know what our output should be, except for some pre-programmed target such as “trying to win at tic tac toe”
It’s learning from data without any examples
Sample
Some kind of incoming data to be analysed
- example: a JPG
Feature
Some quantifiable data from the sample
- Example: Color, height, width, pixel data, etc
Labels
Model
The output of some learning algorithm
- The parameterization of an algorithm that can be run against new data after it has been trained
Reinforcement learning
No specific target given, will instead explore many loops (solutions) to find the most optimal/best reward, based on feedback from the environment
How do you know when to stop training an algorithm? (in case of supervised learning)
What is Accuracy?
The learning algorithm analyses the training data and produces a predictor function that can be used for mapping new examples to outputs.
What does this sentence actually mean?
This is a fundamental process in machine learning.
Learning Algorithm:
- This is a set of rules or procedures used by a machine learning model to learn from data. The algorithm processes the data and identifies patterns or relationships within it.
Analyses the Training Data:
- Training data is a dataset used to teach the model. The learning algorithm examines this data to understand its structure and the relationships between its elements. For instance, in a dataset of housing prices, the algorithm might analyze features like location, size, and number of bedrooms.
Produces a Predictor Function:
- Based on the analysis of the training data, the algorithm creates a function (or model). This function is designed to make predictions. For example, in the housing prices scenario, the predictor function would estimate the price of a house based on its features.
Mapping New Examples to Outputs:
- The term “mapping” refers to the process of taking new data (new examples that were not part of the training set) and applying the predictor function to this data to generate outputs (predictions). For instance, if you provide the characteristics of a new house to the trained model, it will use the predictor function to estimate the house’s price.
Summary:
- the sentence describes how a machine learning algorithm takes a set of training data, learns from it by identifying patterns, creates a model (predictor function) based on this learning, and then uses this model to make predictions about new, unseen data.
List some examples of Supervised machine learning approaches
List some examples of Unsupervised machine learning approaches
What is Classification?
It’s a key part of AI, used for many different ai applications
What is cluster analysis?
An analysis technique which groups objects by some selected attributes so that each object is similar to the other objects in a cluster different from objects in all other clusters
Used for:
- Classification
- Simplifying data
- Identifying relationships
Different Methods for cluster analysis:
- K-means
- K-nearest-neihhbor
- Mean-shift
- DBSCAN
Artificial Neural Networks
They are biologically inspired methods of computation:
Similar to how we think the human nervous system works:
What is a perceptron?
It’s a “single artificial neuron”
Perceptron features:
Explain what everything is in this image:
Xi
Wi
F(x)
We multiply the weights, to each input and sum this together, the sum is then compared to a certain value in the neruon(Threshold value)
If the sum is greather than this threshold, the output is 1. Otherwise it is 0(neuron doesn’t fire).
How does “learning in preceptrons” work?
If we initiazlies the weights of a neurons randomly, then it does not “know” anything.
Basically adjust the weights on the active inputs
What are the limits of perceptrons?
Single-layer perceptron can implement simple problems such as logic gates AND and OR, but is unable to solve XOR(exlusive OR, aka non-linear problem)
What is a XOR network
It’s what forms a neural network, aka multiple layers of connected perceptrons
What is artificial neural networks
What are the advantages and disadvantages of using artificial neural networks?
Advantages:
Disadvantages:
Why do we need machine learning and predictive analysis?
Because companies today are generating lots of data. We need computational methods to processes this data, and it’s used for:
Data analytics involves making PREDICTIONS based on data:
What are the uses of machine learning?
Fraud detection
Personalization
Targeted margeting
Content classification
Customer support