CS 348 Lecture 15: Perceptrons

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/19

flashcard set

Earn XP

Description and Tags

Vocabulary practice flashcards covering perceptron architecture, learning rules, mathematical formulation, properties, extensions, and support vector machines from Lecture 15.

20 Terms

1
New cards

Classification Task

A machine learning task where an input (such as a document, image, or account activity) is mapped to one of several discrete categories or classes (such as spam/not spam, characters, or fraud/not fraud).

2
New cards

Feature Vector

A structured representation of an input instance composed of numerical or boolean attributes, which can be raw percepts (e.g., pixel values, word occurrences) or derived processing attributes (e.g., number of loops, misspelled words).

3
New cards

Perceptron

A linear classifier that models artificial neurons by weighting input feature values, summing them to compute an activation, and assigning an output class of +1+1 if the activation is positive or −1-1 if it is negative.

4
New cards

Activation

The weighted sum of an instance's feature values in a linear classifier, computed via the dot product (inner product) of the weight vector ww and feature vector f(x)f(x).

5
New cards

Decision Boundary

A line or hyperplane in feature space defined by the weight vector that separates points belonging to different classes (e.g., y=+1y = +1 on one side and y=−1y = -1 on the other).

6
New cards

Binary Perceptron Update Rule

The weight-updating process where weights remain unchanged if the predicted class yy equals the true label y∗y^*, but are adjusted upon error by w′=w+y∗f(x)w' = w + y^* f(x), adding the feature vector if the true class is +1+1 and subtracting it if −1-1.

7
New cards

Perceptron Theorem

A foundational theorem stating that if the training data categories are linearly separable, the perceptron learning algorithm is guaranteed to converge on a set of weights that perfectly separates them, potentially requiring multiple passes through the dataset.

8
New cards

Multiclass Perceptron Decision Rule

A decision process for multiple classes where each class yy maintains its own weight vector wyw_y, and the classifier predicts the class yielding the highest activation score: arg⁡max⁡ywy⋅f(x)\arg\max_y w_y \cdot f(x).

9
New cards

Multiclass Perceptron Update Rule

An error-correction procedure where, upon an incorrect prediction yy, the score of the incorrectly predicted class is lowered by subtracting the feature vector (wy=wy−f(x)w_y = w_y - f(x)) and the score of the correct class y∗y^* is raised by adding the feature vector (wy∗=wy∗+f(x)w_{y^*} = w_{y^*} + f(x)).

10
New cards

Linear Separability

A property of a dataset indicating that there exists at least one configuration of weights and bias capable of classifying every training example perfectly with zero errors.

11
New cards

Perceptron Mistake Bound

The theoretical maximum number of prediction mistakes a binary perceptron can make on linearly separable data before converging, which is determined by the number of features kk and the margin δ\delta separating the classes.

12
New cards

Averaged Perceptron

A perceptron modification designed to mitigate weight thrashing caused by noise or non-separable data by averaging weight vectors over time across training iterations.

13
New cards

Overtraining

A form of overfitting in perceptrons where accuracy on held-out or test data initially increases during training but subsequently declines as training continues.

14
New cards

Minimum Correcting Update

An improved update strategy that chooses a step size τ\tau to correct a classification error and establish an extra margin while minimizing the squared parameter difference between the new and old weight vectors.

15
New cards

Update Size Formulation (τ\tau)

In minimum correcting updates without step-size constraints, the exact step size calculated to fix a mistake with margin 11: τ=(wy−wy∗)⋅f(x)+12f(x)⋅f(x)\tau = \frac{(w_y - w_{y^*}) \cdot f(x) + 1}{2 f(x) \cdot f(x)}.

16
New cards

Maximum Step Size (CC)

A constant upper bound applied to the update size (τ∗=min⁡{τ,C}\tau^* = \min\{\tau, C\}) to prevent excessively large updates on mislabeled instances or noisy, non-separable data.

17
New cards

Support Vector Machines (SVMs)

Linear classifiers that find the optimal decision boundary by maximizing the margin between classes across all training examples simultaneously.

18
New cards

Support Vectors

The subset of training feature vectors situated closest to the decision boundary that exclusively determine the optimal margin and separating hyperplane in a Support Vector Machine.

19
New cards

Non-Linear Feature Mapping

The technique of projecting input data from the original feature space into a higher-dimensional space (Φ:x→ϕ(x)\Phi: x \rightarrow \phi(x)) where non-linearly separable data can become linearly separable.

20
New cards

Failure-Driven Learning

A learning approach characteristic of perceptrons where model weights are updated solely in response to classification mistakes rather than through passive statistical counting.