Begrepp Flashcards

1
Q

Supervised learnning

A

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

  • Includes target outcomes
  • Trained to recognize patterns(that lead to certain outcomes based on historical data(examples))
  • (such examples: credit evaluation or interest rate prediction)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Unsupervised learning

A

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

  • No known outcomes
  • Learns to recognize patterns in the form of similarities
  • Examples: Customer segmentation or marget basket analysis
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Sample

A

Some kind of incoming data to be analysed
- example: a JPG

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Feature

A

Some quantifiable data from the sample
- Example: Color, height, width, pixel data, etc

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Labels

A
  • Some useful information about the sample that we wish to categorize
  • Example: looking at this picture, this is a person
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Model

A

The output of some learning algorithm
- The parameterization of an algorithm that can be run against new data after it has been trained

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Reinforcement learning

A

No specific target given, will instead explore many loops (solutions) to find the most optimal/best reward, based on feedback from the environment

  • Based on agents, states, rewards, environment
  • Similar to playing a game many times and learning from interaction
  • Central/important to modern AI
  • Examples: self-driving cars or game-playing computers(bottar)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How do you know when to stop training an algorithm? (in case of supervised learning)

A
  • Seperate out some test data to assess the model accuracy
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is Accuracy?

A
  • The number of correct classifications / Total number of test cases
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

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?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

List some examples of Supervised machine learning approaches

A
  • Linear regression
  • Logistic regression
  • Decision trees
  • Nearest neighbor
  • Support vector machine (SVM)
  • Artificial neural networks (ANN): Most popular form of Machine learning approach
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

List some examples of Unsupervised machine learning approaches

A
  • Apriori algorithm.
  • K-means.
  • Principle components analysis (PCA).
  • Kohonen self-organizing maps (SOM).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is Classification?

A

It’s a key part of AI, used for many different ai applications

  • Look at some attributes about an object and decide how to label it (classify it)
  • Deeply useful for making sense of big data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is cluster analysis?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Artificial Neural Networks

A

They are biologically inspired methods of computation:

  • Based on models from neuroscience and cognitive psychology ideas

Similar to how we think the human nervous system works:

  • Series of weighted connections between neurons (aka small processing units)
  • Connection weights adjusted until desired output reached
  • Basically a series of nonlinear equations
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is a perceptron?

A

It’s a “single artificial neuron”

Perceptron features:

  • The output from a neuron is either on or off, (0 or 1)
  • The output depends only on the inputs, and a certain number must be on at any one time in order to make the neuron fire.
17
Q

Explain what everything is in this image:

A

Xi

  • The number of inputs

Wi

  • The number of weights applied to each input

F(x)

  • Is the activation function

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).

18
Q

How does “learning in preceptrons” work?

A

If we initiazlies the weights of a neurons randomly, then it does not “know” anything.

  • Weights need to be adjusted based on some learning process, aka. on success or failure
  • If we want an active output, we need to increase the weights
  • If we want an inactive output, we decrease the weights

Basically adjust the weights on the active inputs

19
Q

What are the limits of perceptrons?

A

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)

  • Led to great decline in neural computing interest in the 60s/70s
  • But led to the development of multilayer perceptrons, aka networks of perceptrons passing outputs to inputs: Neural networks
20
Q

What is a XOR network

A

It’s what forms a neural network, aka multiple layers of connected perceptrons

21
Q

What is artificial neural networks

A
  • Multi-layer feedforward neural networks are the core model for most neural networks
  • Backpropagation is one of the most popular supervised learning techniques. and is used in deep neural networks (aka very large multi-layer networks)
  • Recursive and recurrent connectivity in neural nets and self-organising maps are other model sof neural networks.
22
Q

What are the advantages and disadvantages of using artificial neural networks?

A

Advantages:

  • Can learn complex patterns: The more layers, the more complex.
  • Can handle non-linear data
  • A series of non-linear regressions, can basically model any function
  • Can handle redundant attributes, learns importance through weighting.

Disadvantages:

  • Very susceptible to overfitting: The more layers, the higher the risk.
  • Missing values must be imputed or the corresponding records removed
  • Sensitive to noise
  • Increased complexity of network requires more data and increases training time
  • Traditional ANNs failed at high-dimensional input tasks such as image processing.
23
Q

Why do we need machine learning and predictive analysis?

A

Because companies today are generating lots of data. We need computational methods to processes this data, and it’s used for:

  • Explore data and extract insights
  • Make predictions using data
  • Generate recommendations to make decisions

Data analytics involves making PREDICTIONS based on data:

  • ML is used extensively in data analytics
24
Q

What are the uses of machine learning?

A

Fraud detection

  • Spam emails, fake reviews, credit card fraud

Personalization

  • Recommendations

Targeted margeting

  • Predictive preferences, cross-selling(?)

Content classification

  • Documenet classification, sentiment analysis

Customer support

  • Social media analysis
25
Q
A
26
Q

What is natural language processing?

A

CHATGPT is a typical example of NLP
Because it is concerned with the interactions between computer sand human (natural) languages

  • The goal is to enable computers to understand, interpret, and respond to human language in a valuable and meaningful way.

it includes:

  • Machine translation
  • Opinion analysis
  • Text classification
  • Question answering/responding to instruction
27
Q

Observations (instances)

A
  • Individual records in data about events/transactions/objects, think rows in a data table
28
Q

Testing

A

A process to verify/detect how well it performs during the development process of the model

29
Q

Training

A
30
Q

Algorithm

A
31
Q
A