B06 K-NN Flashcards

1
Q

Some examples of Parametric models are:

A
  • Linear Regression
  • Logistic Regression
  • Naive Bayes
  • Simple Neural Networks
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Some examples of Non- Parametric models are:

A
  • k - Nearest Neighbor
  • Support Vector Machines
  • Decision Trees
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

A learning model that summarizes data with a set of
parameters of fixed size (independent of the number of
training examples) is called a __________. No
matter how much data you throw at a ___________, it won’t change its mind about how many
parameters it needs.”

A

parametric model
parametric
model

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

Strengths of Parametric Models?

A
-Simpler: These methods are easier to
understand and the results are easy to
interpret.
-Speed: Parametric models are usually
very fast to train.
-Less Data: They do not require as much
training data and can work well even if
the fit to the data is not perfect.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Weaknesses of Parametric Models?

A
-Constrained: By choosing a functional
form, these methods are highly
constrained to the specified form.
-Limited Complexity: The methods are
more suited to simpler problems.
-Poor Fit: In practice, the methods may
not always match the underlying
mapping function.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

A learning model that does not make strong
assumptions about the form of the mapping function is
called a ___________. By not making
assumptions, ____________ are free to learn
any functional form from the training data.

A

non-parametric model

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

Weaknesses of Non-Parametic Models?

A
-More data: Require a lot more training
data to estimate the mapping
function.
-Slower: A lot slower to train, as they
often have far more parameters to
train.
-Overfitting: Have a higher risk of
overfitting against the training data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Strengths of Non-Parametric Models?

A
-Flexibility: Capable of fitting a large
number of functional forms.
-Power: No assumptions (or weak
assumptions) about the underlying
function.
-Performance: Can result in higher
performance models for prediction.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
A class of non-parametric learning methods that do
not generate a model but instead make use of
verbatim training data for classification?
A

Lazy or instance-based learners or

rote learners

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

The _________________algorithm gets its name
from the fact that it classifies an unlabeled observation
based on information about the _______labeled
________ of the observation.

A

k-Nearest Neighbor (k-NN)
k-nearest
neighbors

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

Choosing the right K

A ____ reduces the impact of
noisy data but increases the risk of
ignoring important patterns

A

large K

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

Choosing the right K

A _______ makes the model
susceptible to noise and/or outliers.

A

small K

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

Note that the ______ the dataset, the ____
important the difference between two choices
for k becomes.

A

larger

less

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

Strengths of K-NN?

A

-Simple and effective.
-Makes no assumptions about the
underlying data distribution.
-Training phase is very fast

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

Weaknesses of K-NN?

A

-Does not produce a model.
-The selection of an appropriate
k is often arbitrary.
-Rather slow classification
phase.
-Does not handle missing, outlier
and nominal data well without
pre-processing.

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