1/40
Comprehensive practice flashcards covering FBLA Data Science and AI concepts including descriptive and inferential statistics, machine learning models, neural networks, natural language processing, data visualization, and ethics.
What are the mathematical definitions of precision and recall in classification evaluation?
Precision is the proportion of true positives among all predicted positives (Precision=TP+FPTP), while recall is the proportion of true positives among all actual positives (Recall=TP+FNTP).
What is the F1-score and when is it most advantageous to use?
The F1-score is the harmonic mean of precision and recall (F1=2×Precision+RecallPrecision×Recall), which balances both metrics and is particularly useful for evaluating imbalanced datasets.
What is Bayes' Theorem and what formula defines it?
Bayes' Theorem is a formula for calculating conditional probability: P(A∣B)=P(B)P(B∣A)P(A), where P(A) is the prior probability, P(B∣A) is the likelihood, and P(A∣B) is the updated posterior probability.
According to the empirical rule, what percentages of data lie within 1, 2, and 3 standard deviations in a normal distribution?
Approximately 68% of the data falls within 1 standard deviation, 95% falls within 2 standard deviations, and 99.7% falls within 3 standard deviations of the mean.
What is a z-score and what formula is used to calculate it?
A z-score is a standardized value used to compare data points across different scales, calculated as z=σx−μ.
How is the Interquartile Range (IQR) calculated and what does it represent?
The Interquartile Range is calculated as IQR=Q3−Q1 and serves as a robust measure of spread representing the middle 50% of a distribution.
What is the key difference between the Central Limit Theorem and the Law of Large Numbers?
The Central Limit Theorem states that the distribution of sample means approaches normality as sample size n increases regardless of population shape, whereas the Law of Large Numbers states that the sample average converges directly to the true population mean as sample size grows.
How does Pearson correlation differ from Spearman correlation?
Pearson correlation measures linear association between −1 and 1 and is sensitive to outliers, while Spearman correlation is rank-based, making it robust to non-linear monotonic relationships and outliers.
What are the mean and variance formulas for Binomial and Poisson distributions?
For a Binomial distribution (n trials, probability p), the mean is np and variance is np(1−p). For a Poisson distribution (rate parameter λ), both the mean and variance equal λ.
What are the key statistical characteristics of an exponential distribution?
An exponential distribution models memoryless waiting times with rate parameter λ, possessing a mean equal to λ1.
What is the difference between Type I and Type II errors in hypothesis testing?
A Type I error is a false positive (α) where the true null hypothesis is incorrectly rejected, while a Type II error is a false negative (β) where a false null hypothesis fails to be rejected; statistical power is defined as 1−β.
What are the six recognized dimensions of data quality?
Accuracy, completeness, consistency, timeliness, validity, and uniqueness.
What are the three missing data mechanisms that determine imputation strategies?
Missing Completely at Random (MCAR), Missing at Random (MAR), and Missing Not at Random (MNAR).
What is data leakage and how is it prevented in machine learning?
Data leakage occurs when information from test or future data is inadvertently included during model training, artificially inflating evaluation performance; it is prevented through strict data splitting prior to preprocessing.
In the bias-variance tradeoff, how do high bias and high variance impact model performance?
High bias results from an overly simplistic model that fails to learn patterns, causing underfitting; high variance occurs when a model memorizes random noise in the training set, causing overfitting.
How do L1 (Lasso) and L2 (Ridge) regularization differ in their treatment of model coefficients?
L1 regularization (Lasso) introduces sparsity by penalizing the absolute magnitude of coefficients and driving some exactly to zero, whereas L2 regularization (Ridge) penalizes squared magnitudes, shrinking coefficients toward zero without setting them entirely to zero.
What four core assumptions underlie standard ordinary least squares linear regression?
Linearity, homoscedasticity (constant error variance), normal distribution of error terms, and independence of observations.
How does K-means clustering differ from DBSCAN?
K-means partitions data into a preset number of spherical clusters (k) by minimizing within-cluster variance, whereas DBSCAN is a density-based algorithm that identifies arbitrary shapes, isolates outliers as noise, and requires tuning ϵ and minPts.
What do ROC curves and PR curves plot, and when is a PR curve preferred?
An ROC curve plots True Positive Rate (TPR) against False Positive Rate (FPR), whereas a Precision-Recall (PR) curve plots Precision against Recall and is preferred when working with severe class imbalance.
Which activation function is specifically utilized to convert raw model outputs into a multiclass probability distribution?
Softmax.
How does backpropagation update weights in a neural network, and what causes the vanishing gradient problem?
Backpropagation computes gradients using the calculus chain rule to update network weights via optimizers like SGD or Adam; vanishing gradients occur when gradients shrink exponentially as they propagate backward through deep networks, hindering learning.
What are the distinctive computational roles of CNNs, RNNs, and Transformers?
CNNs use convolutions to capture spatial visual features; RNNs (including LSTMs/GRUs) process sequential temporal data; Transformers utilize attention mechanisms to model global relationships across tokens simultaneously.
What is TF-IDF in natural language processing?
Term Frequency multiplied by Inverse Document Frequency, a statistical measure used to evaluate the relative importance of words within a document across a corpus.
What are the core components of a reinforcement learning framework?
Agent, environment, state, action, reward, policy, and value function.
What is the function of the discount factor (gamma) in reinforcement learning?
The discount factor γ weights future rewards relative to immediate rewards: a value near 0 prioritizes immediate gains, while a value approaching 1 places high weight on long-term future rewards.
What is the difference between data drift and concept drift?
Data drift is a shift in the distribution of input features over time, while concept drift is a change in the statistical relationship between the input features and target labels.
What constitutes the Markov blanket of a node in a Bayesian network?
A node's parents, its children, and its co-parents (other parents of its children); conditioning on these nodes isolates the node, rendering it conditionally independent of all other nodes in the network.
In a causal Directed Acyclic Graph (DAG), what are confounders and colliders?
Confounders are common causes of two or more variables, while colliders are nodes where two incoming causal arrows converge from distinct variables (→Collider←).

What type of data visualization is shown in this graphic, and what is its primary function?
A bar graph, which is used to compare discrete categories or groups.

What type of visual representation is shown here, and what does it display?
A histogram, which displays the distribution of continuous numerical data grouped into successive bins.

What kind of chart is shown, and what is it specifically designed to track?
A line graph, designed to display trends, changes, or continuous patterns over intervals of time.

What type of chart is depicted below, and what relationship does it examine?
A scatter plot, which illustrates the relationship, association, or correlation between two numerical variables.

What statistical visualization is shown in this diagram, and what summary values does it outline?
A box plot (box-and-whisker plot), which outlines summary statistics including minimum, first quartile (Q1), median (Q2), third quartile (Q3), maximum, and spread.

What format of data visualization is illustrated, and how does it convey categorical information?
A pie chart, which conveys categorical values as proportional slices of a whole, typically expressed in percentages.

What matrix framework is shown in this graphic, and what two dimensions does it cross-tabulate?
A risk matrix, which cross-tabulates relative impact against relative likelihood to determine risk severity levels.

In the decision analysis diagram shown, what is the meaning of the square symbol indicated by the arrow?
A decision node, representing a point at which a decision-maker must select between competing alternatives.
What are the defined stages of the Data Science Process?
Ask questions/define problem → collect data → clean data → explore and analyze data → model and evaluate solutions → interpret and communicate results.
What are the base values and character sets of binary, decimal, and hexadecimal number systems?
Binary is base-2 using digits 0 and 1; decimal is base-10 using digits 0–9; hexadecimal is base-16 using digits 0–9 and characters A–F.
What roles do NumPy, Pandas, Matplotlib, and Seaborn serve in Python data workflows?
NumPy handles fast array operations; Pandas provides DataFrames for data manipulation and analysis; Matplotlib offers foundational graph plotting; Seaborn adds high-level statistical plotting functionality built on Matplotlib.
What are the common limitations and credibility risks associated with Large Language Models (LLMs)?
Hallucinations, propagating bias from training datasets, misinformation, and privacy vulnerabilities such as data leakage.
How does symbolic (logic-based) reasoning differ from probability-based reasoning in artificial intelligence?
Symbolic (logic-based) reasoning deduces conclusions by executing predefined, explicit rules and logic, whereas probability-based reasoning infers outcomes by quantifying likelihood and managing uncertainty.