1/43
Vocabulary practice flashcards covering fundamental machine learning algorithms, preprocessing functions, ensemble models, search algorithms, and validation metrics from the viva revision guide.
Machine Learning
The practice of teaching a computer to discover patterns from data and produce predictions without writing explicitly coded rules.
Supervised Learning
A learning paradigm that trains models on labeled data where both the input features and target labels are explicitly provided, such as in classification and regression.
Unsupervised Learning
A learning approach that discovers hidden structures, groupings, or patterns from unlabeled data, such as clustering with K-Means.
Reinforcement Learning
A framework where an autonomous agent learns optimal behaviors through sequential trial and error, earning rewards for positive outcomes and penalties for negative ones.
Iris Dataset
A standard scikit-learn benchmark dataset comprising 150 samples of flowers, 4 continuous features (sepal length, sepal width, petal length, petal width), and 3 balanced classes (setosa, versicolor, virginica) with 50 samples each.
Data Leakage
An issue where information from the testing set accidentally contaminates the training pipeline, leading to overly optimistic and ungeneralizable performance estimates.
Standardization
A feature scaling method performed by StandardScaler that transforms numeric features to have a mean of 0 and a standard deviation of 1, using the equation z=stdx−mean.
Normalization
A feature scaling process executed by MinMaxScaler that bounds numerical values into a fixed interval, typically between 0 and 1, via x′=max−minx−min.
SimpleImputer
A scikit-learn transformer used to replace missing data points (NaN) utilizing calculated strategies such as mean, median, most_frequent, or a specified constant.
One-Hot Encoding
A categorical transformation technique that converts each unique discrete category into a dedicated binary 0 or 1 column without introducing artificial rank or order.
Sigmoid Function
A mathematical curve employed within Logistic Regression that maps any real input value into a probability interval from 0 to 1, represented as 1+e−x1.
Gini Impurity
A split evaluation criterion for Decision Tree classifiers measuring statistical impurity, calculated as 1−∑p2, where a value of 0 represents absolute purity.
Entropy
An information theory metric quantifying node disorder in a decision tree, formulated as −∑plog2(p).
k-Nearest Neighbors (k-NN)
A distance-based, non-parametric lazy learner that categorizes new observations by taking a majority vote of the class labels among its K nearest data points.
Support Vector Machine (SVM)
A supervised classification model that establishes an optimal separating hyperplane by maximizing the margin between adjacent boundary points of different classes.
Support Vectors
The specific training observations residing nearest to or directly upon the margin boundaries that mathematically dictate the placement of the separating hyperplane in an SVM.
Radial Basis Function (RBF) Kernel
A widely used SVM kernel that projects input data into non-linear, higher-dimensional spaces to formulate curved decision boundaries using distance-dependent similarity.
Naive Bayes
A rapid probabilistic classification algorithm derived from Bayes' theorem (P(Class∣Features)=P(Features)P(Features∣Class)×P(Class)) under the naive assumption that all predictive features are conditionally independent.
Mean Absolute Error (MAE)
A regression loss metric computed as the simple average of all absolute differences between actual ground-truth values and model predictions: average of ∣actual−predicted∣.
Mean Squared Error (MSE)
A regression evaluation measure calculated as the average of the squared errors between observed and estimated values, which imposes heavier penalties on large outlier errors.
Root Mean Squared Error (RMSE)
The square root of the Mean Squared Error (MSE), expressing prediction error in the identical physical units as the original dependent variable.
Coefficient of Determination (R2)
A statistical score indicating the fraction of overall target variance accounted for by a regression model, where a maximum score of 1.0 denotes an ideal fit.
Bagging (Bootstrap Aggregating)
An ensemble technique that fits multiple instances of a base model in parallel on independent bootstrap samples to mitigate model variance, as implemented in Random Forest.
Boosting
A sequential ensemble learning strategy where consecutive weak models are iteratively trained to target and rectify the residual prediction errors of preceding models to lower bias.
AdaBoost
Adaptive Boosting; an ensemble algorithm that builds a succession of weak learners (typically decision stumps) while adaptively scaling up the sample weights of misclassified observations.
XGBoost
eXtreme Gradient Boosting; an efficient gradient boosting software framework that constructs decision trees sequentially using gradient descent optimizations and built-in regularization.
Soft Voting
An ensemble voting mechanism in a Voting Classifier that computes the average of predicted class probabilities across base estimators and picks the class with the largest mean.
GridSearchCV
A hyperparameter optimization utility in scikit-learn that evaluates every exhaustively defined parameter permutation using cross-validation to isolate the best-performing model.
Stratified K-Fold
A cross-validation partitioning scheme that divides data into K distinct subsets while maintaining equivalent relative class distributions within every individual fold.
SMOTE
Synthetic Minority Over-sampling Technique; an algorithmic method for imbalanced classification that synthesizes artificial minority observations along line segments connecting adjacent minority instances.
Precision
The ratio of correctly classified positive instances relative to the total number of predicted positive cases, computed as TP+FPTP.
Recall
The proportion of ground-truth positive samples that are successfully captured by the classification model, formulated as TP+FNTP.
F1-Score
The harmonic mean balancing precision and recall performance into a unified scalar, given by Precision+Recall2×Precision×Recall.
Receiver Operating Characteristic (ROC) Curve
A visual performance plot mapping the True Positive Rate against the False Positive Rate across all conceivable probabilistic decision thresholds.
Principal Component Analysis (PCA)
An unsupervised orthogonal linear transformation method that projects multidimensional data onto fewer continuous axes called principal components while retaining maximal data variance.
Recursive Feature Elimination (RFE)
A backward greedy wrapper feature selection algorithm that systematically trains a base model and removes the lowest-ranked features until a desired feature subset remains.
K-Means Clustering
An iterative, distance-based partitioning algorithm that segregates data into K unique clusters by dynamically shifting cluster centers (centroids) to minimize within-cluster spread.
Inertia
The within-cluster sum of squared Euclidean distances connecting every sample point to its closest assigned cluster centroid, utilized in the elbow method to determine optimal K.
DBSCAN
Density-Based Spatial Clustering of Applications with Noise; an unsupervised clustering model that segments contiguous high-density point neighborhoods and isolates low-density outliers as noise (−1).
Silhouette Score
An intrinsic cluster validation metric ranging between −1 and 1 evaluating how tightly grouped an instance is within its assigned cluster compared to neighboring alternate clusters.
Breadth-First Search (BFS)
An uninformed search algorithm that expands search frontiers layer-by-layer utilizing a First-In-First-Out (FIFO) queue, ensuring the shortest path on unweighted graphs.
A* Search Algorithm
An informed, heuristic-driven search algorithm that identifies lowest-cost paths by expanding the node having the minimum evaluation value f(n)=g(n)+h(n).
Admissible Heuristic
A search heuristic function h(n) that never exceeds or overestimates the actual minimal cost required to traverse from node n to the defined goal state.
Tower of Hanoi Recurrence
The recursive progression defined by T(n)=2T(n−1)+1 with base case T(1)=1, proving that moving n disks requires at least 2n−1 total actions.