Machine Learning Lecture Notes

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

1/40

flashcard set

Earn XP

Description and Tags

Vocabulary practice flashcards covering fundamental paradigms, regression, classification, clustering, evaluation metrics, and reinforcement learning concepts from the Machine Learning lecture notes.

41 Terms

1
New cards

Machine Learning (Tom Mitchell's Definition)

A computer program is said to learn from experience EE with respect to some class of tasks TT and performance measure PP, if its performance at tasks in TT, as measured by PP, improves with experience EE.

2
New cards

Artificial Intelligence (AI)

The broad field of creating machines that can perform tasks by mimicking human intelligence ('Build Machine').

3
New cards

Deep Learning (DL)

A subset of Machine Learning that makes the computation of multi-neural networks possible.

4
New cards

Supervised Machine Learning

A learning technique where a model is trained using labelled data (input xx paired with correct output yy) so that the machine learns a mapping function to predict output for new data.

5
New cards

Unsupervised Machine Learning

A learning mechanism in which models are trained using unlabeled data without supervision to discover hidden patterns, group data according to similarities, or represent the dataset in a compressed format.

6
New cards

Reinforcement Learning

A type of machine learning in which an agent learns to make decisions through trial and error by interacting with an environment, aiming to maximize total cumulative rewards based on feedback.

7
New cards

Semi-Supervised Machine Learning

A learning approach that utilizes a small amount of labelled data combined with a larger amount of unlabelled data during training, typically applied when obtaining labelled data is expensive or time-consuming.

8
New cards

Hyperparameter Tuning

The step in machine learning where model performance is improved and overfitting is reduced by adjusting hyperparameters such as learning rate, number of trees, or batch size.

9
New cards

Continuous Variable

A numerical value within a range that includes decimal values, such as height, temperature, salary, or weight.

10
New cards

Categorical Variable

A variable that represents categories or groups, which can be nominal (unordered, such as blood group or city) or ordinal (ordered, such as student qualification or shirt size).

11
New cards

Regression

A supervised machine learning algorithm used to model the relationship between independent and dependent variables to predict continuous numerical values.

12
New cards

Classification

A supervised machine learning technique used to categorize input data into two or more distinct predefined classes by determining a decision boundary.

13
New cards

Simple Linear Regression

A statistical method that models the relationship between one independent variable xx and one dependent variable yy using a straight-line equation: y=a+bx+ϵy = a + bx + \epsilon.

14
New cards

Multiple Regression

An extension of simple linear regression that models the relationship between a single dependent variable yy and two or more independent variables via y=β0+β1x1+β2x2+…y = \beta_0 + \beta_1 x_1 + \beta_2 x_2 + \dots, with coefficients given by β=(XTX)−1XTY\beta = (X^T X)^{-1} X^T Y.

15
New cards

Polynomial Regression

A regression technique used when the relationship between independent and dependent variables is non-linear, fitting a curved path using polynomial degrees such as quadratic (y=a0+a1x+a2x2y = a_0 + a_1 x + a_2 x^2) or cubic transformations.

16
New cards

Logistic Regression

A supervised classification technique used for categorical and binary outcomes by modeling event probability through the sigmoid function: P(x)=11+e−(β0+β1x)P(x) = \frac{1}{1 + e^{-(\beta_0 + \beta_1 x)}}.

17
New cards

Mean Absolute Error (MAE)

A regression error metric representing the average of the absolute differences between actual and predicted values: MAE=1n∑i=0n−1∣yi−y^i∣\text{MAE} = \frac{1}{n} \sum_{i=0}^{n-1} |y_i - \hat{y}_i|.

18
New cards

Mean Squared Error (MSE)

A regression error metric calculated as the average of the squared differences between actual and predicted values: MSE=1n∑i=0n−1(yi−y^i)2\text{MSE} = \frac{1}{n} \sum_{i=0}^{n-1} (y_i - \hat{y}_i)^2.

19
New cards

Root Mean Squared Error (RMSE)

The square root of the mean squared error, used to penalize larger prediction errors: RMSE=1n∑i=0n−1(yi−y^i)2\text{RMSE} = \sqrt{\frac{1}{n} \sum_{i=0}^{n-1} (y_i - \hat{y}_i)^2}.

20
New cards

Coefficient of Variation (CV)

A regression metric defined as the ratio of the Root Mean Squared Error to the mean of the actual values: CV=RMSEyˉ\text{CV} = \frac{\text{RMSE}}{\bar{y}}.

21
New cards

Bias

The error that occurs when a model is too simple to capture the underlying pattern in the training data, leading to underfitting.

22
New cards

Variance

The error that occurs when a model is excessively sensitive to noise and fluctuations in the training dataset, leading to overfitting.

23
New cards

Lazy Learner

A learning algorithm that stores training data and delays generalization until a test query is provided, spending less time during training and more time on prediction (e.g., KNN).

24
New cards

Eager Learner

A learning algorithm that constructs a generalized classification model immediately from training data before testing data is provided (e.g., Naive Bayes, ANN).

25
New cards

K-Nearest Neighbors (KNN)

A non-parametric supervised algorithm that classifies or regresses a new query point by identifying the kk closest data samples using distance functions (e.g., Euclidean distance) and assigning the majority class or average value.

26
New cards

Naive Bayes

A supervised probabilistic classification algorithm based on Bayes' Theorem (P(A∣B)=P(B∣A)P(A)P(B)P(A|B) = \frac{P(B|A) P(A)}{P(B)}) that operates under the assumption that all input features are independent of each other.

27
New cards

Decision Tree

A tree-structured supervised model where internal nodes represent tests on specific features, branches represent outcomes of the tests, and leaf/terminal nodes represent target classes or predictions.

28
New cards

Attribute Selection Measure (ASM)

Heuristics used in decision trees to determine the best splitting attribute at internal nodes to maximize homogeneity, primarily including Entropy, Information Gain, and Gini Index.

29
New cards

Support Vector Machine (SVM)

A supervised learning algorithm that creates the optimal decision boundary (hyperplane) to separate distinct classes by maximizing the margin.

30
New cards

Margin (SVM)

The distance between the separating hyperplane decision boundary and the closest training data points (support vectors) from either class, given by M=2∥w∥M = \frac{2}{\|\mathbf{w}\|}.

31
New cards

Confusion Matrix

A performance evaluation table for classification that cross-tabulates actual categorical outcomes against predicted outcomes using True Positives (TP), True Negatives (TN), False Positives (FP), and False Negatives (FN).

32
New cards

Precision

The ratio of correctly predicted positive observations to total predicted positive observations: Precision=TPTP+FP\text{Precision} = \frac{TP}{TP + FP}.

33
New cards

Recall

The proportion of actual positive observations that were correctly identified by the classifier: Recall=TPTP+FN\text{Recall} = \frac{TP}{TP + FN}.

34
New cards

F1-Score

The harmonic mean of precision and recall that provides a balanced measure for imbalanced datasets: F1-Score=2×Precision×RecallPrecision+Recall\text{F1-Score} = 2 \times \frac{\text{Precision} \times \text{Recall}}{\text{Precision} + \text{Recall}}.

35
New cards

Receiver Operating Characteristic (ROC) Curve

A graph plotting the True Positive Rate (TPR) versus the False Positive Rate (FPR) across various classification threshold cutoffs.

36
New cards

Area Under the Curve (AUC)

The total area under an ROC curve that measures the degree of separability achieved by a binary classification model, where 1.01.0 denotes perfect performance and 0.50.5 indicates random performance.

37
New cards

K-Means Clustering

An iterative centroid-based unsupervised clustering algorithm that groups data points into kk clusters by minimizing the sum of squared distances between data points and their corresponding cluster centroids.

38
New cards

Elbow Method

A technique used to select the optimal number of clusters kk in K-Means by plotting Within-Cluster Sum of Squares (WCSS) against kk and finding the location of the bend or elbow.

39
New cards

Silhouette Score

A clustering metric that measures how similar a data point is to its own cluster compared to neighboring clusters, calculated as S(i)=b(i)−a(i)max⁡(a(i),b(i))S(i) = \frac{b(i) - a(i)}{\max(a(i), b(i))}.

40
New cards

K-Medoids Clustering

A partitioning clustering algorithm that designates actual data points (medoids) having the minimum total dissimilarity to other points in the cluster as the cluster centers.

41
New cards

DBSCAN

A density-based clustering algorithm that groups densely packed points within an epsilon (ϵ\epsilon) radius satisfying a minimum points (MinPts\text{MinPts}) threshold, identifying core points, border points, and noise points.