Chapter 4: Machine Learning and Optimisation Flashcards

1
Q

what datatypes do we have in machine learning

A

objects and pairwise relations

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

what data containers do we have and what do they do

A

hold data types

scalar, matrix, vector, tensor

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

what data structures do we use. what do they do

A

set, tree, graph

they allow us to create a set of containers

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

what is a parameter

A

they control model behaviour. They are set during training.

a non parametric model has none

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

give an example of a non parametric model

A

KNN

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

what is an objective function

A

it is either maximised or minimised by a technique:
by example- supervised
by reward- reinforcement
by exploration- unsupervised

also called loss/cost

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

describe the three approaches for decision making

A
  1. direct- map from input to output
    2/3, inference- give the probability
    2- calculate probability directly
    3- calculate probability indirectly i.e. using a base theory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

give the three approaches for decision making

A

1 discriminant function
2 direct model
3 bayes theorem

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

within approach 1, give the different approaches

A

linear model
linear basis function
kernel method

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

within approach 2, give the different approaches

A

for classification- logistic regression

for regression- Bayesian regression

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

what is the approach for approach 3

A

naïve bayes

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

describe a linear model

A

the output is the weighted sum of the inputs

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

how is the linear model used for classification

A

threshold function. this creates a hyperplane which is a classification/division/separating boundary

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

how can we create a ROC curve in a binary model

A

change the threshold value

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

how do we handle non linear data patterns

A

map to linear within a new feature space. We then have an input space and a feature space

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

what are the two basis functions described in this course

A

gaussian basis function and polynomial basis function

17
Q

what does gaussian basis function use as parameters

A

mean and variance

18
Q

what does a polynomial basis function use as parameters

A

integers

19
Q

describe the kernel method

A

like linear basis function, in that it creates a non linear separating boundary, but directly defines the mapping function rather than relying on user set values

uses the inner products

20
Q

give example kernel function

A

linear, polynomial, gaussian, hyperbolic tangent

21
Q

describe logistic regression

A

gives the probability of a sample belonging to a class.

apply SoftMax to a linear model to obtain class posterior.

22
Q

describe gaussian Bayesian linear regression

A

for regression

assumes the output follows a gaussian distribution

Tread w and o^2 as random

23
Q

how do we infer p(c | x)

A

bayes theorem

24
Q

what is approach 3

A

Instead of calculating probability directly, we apply a base theory for probability.

25
Q
give p(c | x)
( bayes theorem )
A
p(x)