Machine Learning Flashcards

1
Q

input/output table

A

represents relationship between inputs (features) and output (target values)

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

what is the goal of machine learning

A

find underlying function from the data that maps inputs to outputs

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

parameterised hypothesis

A

model tat is defined by parameters and the learning process is about adjusting these to fit the data

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

hypothesis vs paramterized hypothesis

A

hypothesis is the proposed function and parameterised is the model that includes parameters adjusted during learning

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

3 types of learning

A

reinforcement
supervised
unsupervised

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

supervised learning and example

A

agent learns a function given labelled data inputs and outputs
parameterised model that maps inputs to outputs is chosen and the learning is to find correct parameters that produce correct output
spam/ham

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

unsupervised learning and example

A

agent is given unlabelled data and has to identify patterns in data
parameterised model is chosen and learning algiorhtm works out parameter values that organises data
used for understanding data
weather patterns

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

reinforcement learning and example

A

agent learns by interacting with the environment and is given positive/negative feedback based on its actions
learning algorithm wants to chose parameter values that maximise rewards
gets reward and looks back at past actions to see what led to the rewards
AI game playing raj

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

inductive learning

A

system tries to induce a general rule from a set of observed instances
exam question given in class and put same in exam can’t tell if have just memorised rope learnt or understands

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

hypothesis consistency

A

consistent if correctly classifies all training examples

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

generalisation

A

ability of model to adapt to new unseen data not just on training
best models are those that can adapt on unseen data (generalise)

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

overtraining

A

performs well on training data but poorly on new data

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

overfitting

A

model becomes too attuned to thee data now which it was trained and loses applicability to any other dataset

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

Occam’s razor

A

heuristic suggesting choosing simpler ML models as they are expected to generalise better

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

discriminative model

A

model that attempts to model the agent function directly

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

generative model

A

model that attempts to model agent function indirectly by modelling the reverse relationship

17
Q

example for reading and writing of discriminative and generative

A

discriminative can read but not write where as generative has to learn to write before it can read

18
Q

examples of discriminative and generative

A

generative =bayes classifier
discriminative= decision tree

19
Q

loss function

A

used to evaluate performance of a model

20
Q

2 types of loss functions

A

classification error: # mislabeled
MSE: average distance of models output from target value

21
Q

confusion matrix

A

table used to evaluate performance of classification model
shows TP, FP, TN, FN

22
Q

training vs data sets

A

split data available for training into 2

training data used to train model/adjust parameters
testing data used to verify performance of the model

23
Q

what does good performance on training and test show?

A

good on training could be a sign of overfitting
good on performance is a better show of generalisation