Into Flashcards

1
Q

What is ML?

A

ML subset of AI techniques which learn from data

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

What is Supervised Learning?

A

Algorithm that learns a function using examples of inputs and outputs.

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

What is needed for supervised learning

A

labelled training data

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

Examples of supervised learning

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

What is unsupervised learning?

A

Algorithm that finds paterns in data without using labelled outputs

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

What does

Example of unsupervised learning

A

Clustering

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

What is classification

A

Predict discrete lavels or categories based on a group of features.
It has only two options (yes or no)

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

What is regression

A

Predict a continous calue based on a group of features

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

WHat are features?

A
  • Measurable property or characteristic of a dataset
  • they are inputs to ML models
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

List 2 learning strategies

A
  • Lazy learning algorithms
  • Eager learning algorithms
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Lazy learning algorithms

A
  • Computations are delayed until prediction.
    • New data stored during training.
    • Minimal training time, but prediction time is slow.
    • e.g. K Nearest Neighbours
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Eager learning algorithms

A
  • A full model is built during the training phase.
    • More time needed to train model, but prediction is very fast.
    • e.g. Decision trees, Perceptron, SVM
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is overfitting?

A

implies that a model is too complex for the data

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

what is underfitting?

A

implies that a model is too simple for the data.

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

Which algorithm should I use?

A
  1. Number of input examples, N.
  2. Number of features (dimensions), D, which represent each
    input example.
  3. Number of target classes, M.
  4. Complexity: Simple models (linear or nearest neighbours) →
    Bagging → Boosting → Neural networks
  5. Predictive power
  6. Interpretability
  7. Stability
  8. Assumptions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Explain the difference between supervised and unsupervised learning?

A

Supervised:
* learns using examples of input or output
* required labelled data

Unsupervised:
* Finds patterns in data without using labelled data

17
Q

What is the difference between an eager learning algorithm and a lazy learning algorithm?

A

Eager:
* Full model built during training phase
* Time needed to train model
* Prediction is fast
* E.g: SVM, perceptron, decision trees

Lazy:
* Computations delayed till training phase
* new data stored during training
* minimum training time, but predition time is slow
* E.g: KNN

18
Q

Explain overfitting and underfitting.

A

Overfitting:
* Model is too complex for data

Underfitting:
* model is too simple for the data

19
Q
A