Docsity

Machine Learning for Trading Question Pool, Study notes of Machine Learning

Partial preview of the text

Download Machine Learning for Trading Question Pool and more Study notes Machine Learning in PDF only on Docsity!

Machine Learning For Trading

Georgia Institute of Technology

Exam Question Pool

Table Of Contents

Introduction: How to Use This Question Pool Purpose of the Question Pools This book contains the publicly available question pools used to prepare for the Machine Learning for Trading (ML4T) examinations. It covers both major knowledge areas in the course – Machine Learning (ML) and Quantitative Finance (QF)

  • across the Exam 1 and Exam 2 content. The basic idea is straightforward: students should know the body of questions from which their examinations will be constructed. A public question pool makes the scope of the assessment transparent while still requiring students to develop broad and durable mastery of the material. This is a well-established assessment approach. The United States Amateur Radio licensing system uses publicly available question pools for its Federal Communications Commission (FCC) license examinations. Dr. Tucker Balch also used a public question-pool model when he taught this course. The approach is robust when the pool is suƯiciently broad, the questions test meaningful distinctions, and students must understand why each answer is correct or incorrect. The system used here blends two traditions:  Dr. Balch's public question-pool approach, which gives students clear visibility into the examinable material; and  Dr. David Joyner's multi-select examination approach, which evaluates several related claims within a single question rather than relying on one conventional multiple-choice response. Together, these approaches provide transparency without reducing the examination to a small set of facts that can be memorized in isolation. What the Book Covers The complete book consists of four question pools:
    1. Exam 1 — Machine Learning
    2. Exam 1 — Quantitative Finance
    3. Exam 2 — Machine Learning
    4. Exam 2 — Quantitative Finance Each question presents a common scenario, concept, or analytical problem followed by five statements. Students select every statement they judge to be True; statements not selected are treated as False. Each question includes at least one True and at least one False statement. Because the statements within a question are related, success requires more than recognizing a familiar term; students must distinguish carefully among concepts, assumptions, consequences, and common misconceptions. Students should expect to encounter approximately 20–50 questions from the Exam 1 question-pool set and approximately 20–50 questions from the Exam 2 question-pool set. Each exam set draws from both its Machine Learning and Quantitative Finance sections. The exact selection may vary, so no individual domain or topic group should be assumed to be absent merely because it appeared less frequently on a prior examination.

The Exam 2 pools focus on the material assigned to Exam 2 rather than serving as a cumulative retest of Exam 1. However, Machine Learning and Quantitative Finance are cumulative bodies of knowledge. An Exam 2 question may therefore rely on an earlier concept when that concept is necessary to reason about an Exam 2 topic—for example, when comparing a reinforcement learner with a supervised learner. A Conceptual “LeetCode” for ML and Quantitative Finance One useful way to think about this collection is as a conceptual version of LeetCode – without the coding. Instead of practicing programming patterns, students repeatedly work through the kinds of distinctions, reasoning steps, and analytical judgments that arise in machine learning, trading, and quantitative finance. The goal is not merely to pass an examination. A student who can explain the reasoning behind the pool's answers should be building knowledge useful for technical interviews and for work in quantitative finance, financial technology, algorithmic trading, asset management, or a hedge-fund environment. Memorizing a sequence of True and False answers is therefore a fragile strategy. Questions are grouped to expose whether a student understands the underlying relationships. The stronger preparation method is to explain, for every statement:  why the statement is true or false;  which principle, assumption, or calculation controls the answer;  how the answer would change if the facts or assumptions changed; and  why a plausible alternative interpretation is incorrect. If a student cannot explain an answer without looking at the key, that topic has not yet been mastered. Not a Textbook Replacement This book defines the examinable question space; it does not replace the course materials, lectures, readings, project work, oƯice hours, textbooks, or other learning resources. The questions are designed primarily for practice, diagnosis, and confirmation of mastery – not as stand-alone instruction. Students are expected to identify and use the resources that best support their own learning. Those resources may include textbooks, articles, videos, worked examples, discussions with classmates or course staƯ, and generative AI systems. Generative AI is permitted – and can be extremely useful – while learning and preparing. For example, students may ask an AI system to:  explain why a statement is true or false;  teach an unfamiliar prerequisite concept;  generate a similar practice problem;  compare two easily confused ideas;  critique the student's reasoning; or  explore how changing an assumption would change the answer.

Final Perspective The public nature of the pool is intentional. It shifts preparation away from guessing what might appear on the exam and toward mastering a defined body of knowledge. The breadth of the pools prevents transparency from becoming triviality: students know the possible questions, but they must still learn enough Machine Learning and Quantitative Finance to answer a substantial and varied sample correctly. Used well, this book is more than an exam-preparation resource. It is a structured collection of reasoning exercises that can help students build the conceptual fluency expected in ML-driven trading and quantitative-finance work. The objective is not simply to remember whether a statement was marked True or False. The objective is to understand the material well enough to know why.

Machine Learning – Part 1 Chapter Introduction: Machine Learning Foundations for Trading Machine learning for trading is not simply the application of an algorithm to a collection of market data. It is the disciplined process of defining a prediction problem, assembling information that would actually have been available at the time of a decision, selecting an appropriate learner, evaluating it honestly, and determining whether its behavior is suƯiciently reliable for use in a trading system. This chapter develops that process through ten connected domains that move from foundational learning concepts to practical model-selection decisions. The emphasis is on reasoning rather than memorization. Graduate-level ML4T students should be able to explain not only how a learner behaves, but also why it behaves that way, when its assumptions are reasonable, what can cause its apparent performance to be misleading, and whether it is suitable for a particular financial application. A model that produces a low error value in a notebook is not necessarily useful in practice. Its result may depend on leaked information, an unrepresentative sample, an inappropriate metric, unstable model behavior, or computational requirements that are incompatible with deployment. The domains in this chapter were selected to help students recognize and reason through those distinctions.

From a Trading Question to a Learning Problem

Domain 1: Learning Paradigms & Problem Framing establishes the vocabulary and conceptual structure needed to translate a trading question into a machine-learning task. Its groups distinguish supervised from unsupervised learning; regression from classification; and training from inference. They also introduce hypothesis spaces and model families, generalization versus memorization, and the broader question of what defines a “good” model. These topics matter because the way a problem is framed determines what the learner is asked to discover. Predicting tomorrow’s return is diƯerent from predicting whether tomorrow’s return will be positive, even when both tasks use the same data. Likewise, discovering market regimes is diƯerent from predicting a labeled outcome. Students must understand that model quality is conditional on the objective: a good model is not merely one that fits its training data, but one whose out-of-sample behavior, operational characteristics, and outputs are appropriate for the decision being made.

Building a Trustworthy Learning Dataset

Domain 2: Data & Sampling Discipline examines missing-data handling, noise and outliers, sampling bias and representativeness, temporal structure and ordering, train/test separation, and data snooping. Together, these groups address a central reality of financial machine learning: the dataset is part of the model. Decisions about which observations to include, discard, impute, reorder, or reuse can aƯect results as much as the choice of learner. This discipline is especially important in ML4T because market data are time ordered and generated by a changing process. Randomly shuƯling observations, repeatedly consulting a test set, or drawing conclusions from a period that does not represent the conditions in which a strategy will operate can create confidence without genuine predictive evidence. Graduate students must therefore be able to identify when an evaluation design has allowed information, judgment, or selection eƯects to cross boundaries that should have remained intact. Domain 3: Feature Engineering & Leakage extends that reasoning to the variables supplied to a learner. Its groups cover feature construction and transformation, scaling and normalization, relevance and redundancy, feature-selection intuition, target leakage, look-ahead bias, and features whose performance appears “too good to be true.” These topics

eƯects, and ensemble failure modes. The central idea is that combining models can improve performance when their errors are not perfectly correlated. Bagging can stabilize high-variance learners, random feature selection can increase diversity among trees, and boosting can focus successive learning on errors or diƯicult cases. Ensembles are important in ML4T because market predictions are noisy and individual models can be unstable. However, aggregation is not a guarantee of robustness. Highly correlated learners may repeat the same mistakes, boosting may emphasize noise, and a powerful ensemble can still inherit leakage or sampling flaws from its data. Graduate students should be able to explain what source of error an ensemble is intended to reduce and why the chosen mechanism is likely—or unlikely—to do so.

Determining Whether a Model Has Learned Something Useful

Domain 8: Model Evaluation & Metrics brings together the procedures used to estimate model performance. Its groups distinguish the roles of training, validation, and test sets; compare MAE, MSE, and RMSE; establish the importance of baselines; require fair comparisons across models; connect metric selection to business objectives; and examine variability across runs or data splits. Evaluation is not a neutral final step. DiƯerent metrics place diƯerent values on large and small errors, while a trading objective may care about direction, risk, turnover, drawdown, or the economic value of a prediction rather than predictive error alone. A result also has little meaning without a relevant baseline and a consistent comparison procedure. Students should be able to determine whether a reported improvement is material, repeatable, and aligned with the actual decision the system is intended to support. Domain 9: Overfitting, Underfitting & Generalization focuses directly on the relationship between performance on observed data and performance on unseen data. Its groups address how to identify overfitting and underfitting, reason about bias and variance, relate model capacity to data size, use cross-validation to estimate generalization, detect overfitting in practice, and control complexity. This domain is central to graduate-level ML4T because financial datasets contain noise, repeated experimentation is tempting, and market relationships can change. A highly flexible model may discover patterns that existed only by chance in the training sample, while an overly constrained model may miss relationships that could generalize. Cross-validation, regularization, depth limits, leaf-size controls, feature selection, and related techniques are not isolated recipes; they are diƯerent ways of managing the relationship among capacity, evidence, stability, and expected out-of-sample behavior.

Selecting a Model for the System, Not Just the Dataset

Domain 10: Model Selection & Practical TradeoƯs synthesizes the chapter. Its groups examine how to match models to problem characteristics; balance accuracy and interpretability; distinguish training time from inference time; assess sensitivity to noise and data quality; relate model complexity to dataset size; account for real-time constraints; evaluate production robustness and stability; and compare learners using multiple dimensions rather than a single score. This final domain reflects the reality that model selection is a systems decision. A marginally more accurate model may be the wrong choice if it is too slow, unstable, opaque, data hungry, or diƯicult to monitor. Conversely, a simpler model may be preferable when it oƯers reliable behavior, faster inference, clearer diagnostics, and easier governance. In a trading environment, the selected learner must coexist with data pipelines, market timing, transaction costs, risk controls, monitoring, and changing conditions. The best model is therefore the one that best satisfies the complete set of requirements—not automatically the model with the lowest historical error.

The Integrated ML4T Perspective

Across these ten domains, the chapter follows the full reasoning chain of applied machine learning:

  1. Define the learning problem and the meaning of success.
  2. Construct a representative dataset while preserving temporal and experimental boundaries.
  3. Develop features that are informative, reproducible, and free of future information.
  4. Understand how candidate learners represent patterns and where they can fail.
  5. Evaluate models using fair procedures, meaningful baselines, and aligned metrics.
  6. Diagnose generalization, instability, and excessive or insuƯicient capacity.
  7. Select a model whose predictive, computational, interpretive, and operational characteristics fit the trading system. The groups within each domain were selected because errors at any one of these stages can invalidate everything that follows. Sophisticated algorithms cannot rescue an incorrectly framed target, contaminated test data, leaked features, or an evaluation metric that rewards the wrong behavior. Conversely, disciplined framing, data handling, diagnostics, and comparison can make even relatively simple learners valuable. The graduate-level goal is therefore not merely to recognize definitions or reproduce familiar model descriptions. It is to develop defensible judgment. Students should be prepared to examine a proposed ML4T workflow, identify its assumptions and failure points, compare reasonable alternatives, and explain what additional evidence would be needed before trusting the result. That ability—to connect machine-learning theory with temporal data, empirical evidence, and operational trading constraints—is the foundation for responsible and eƯective machine learning for trading.

G5: Generalization vs. Memorization  Learning patterns vs. memorizing data  Role of unseen data  Consequences for real-world performance G6: What Defines a “Good” Model  Accuracy vs. robustness vs. stability  Alignment with problem objectives  TradeoƯs between competing criteria

G1: Supervised vs. Unsupervised Learning

[ML-D1G1Q1]

You have just joined a multi-strategy hedge fund. The Portfolio Manager (PM) asks you to “build something that finds patterns in the market and tells us when to buy or sell,” while a client suggests clustering regimes without using returns. You are asked to clarify how these approaches diƯer. A. Predicting next-day returns using labeled historical data is a supervised learning problem. B. Clustering days into regimes without labels is supervised learning. C. Discovering structure without labels is an unsupervised learning task. D. A buy/sell output always implies supervised learning. E. The presence of labels determines whether a problem is supervised. Answer Key: A. True – The historical next-day returns serve as labeled targets. B. False – Clustering observations without labels is unsupervised learning. C. True – Unsupervised learning seeks structure when target labels are not supplied. D. False – A rule can produce buy/sell actions without having learned from labeled examples. E. True – Supervised learning requires examples paired with target values or classes. [ML-D1G1Q2] An asset manager wants to study unusual trading behavior. The compliance oƯicer asks for a system that groups accounts by trading patterns, but no account has been labeled “normal” or “suspicious”; a junior analyst nevertheless

proposes training a suspicious-account classifier. The team must decide what can reasonably be learned from the available data. The team asks you to identify the flawed claims. For this question, mark each statement True if it is incorrect and False if it is accurate. A. Grouping accounts using only similarities in their observed behavior is an unsupervised learning task. B. The absence of suspicious-account labels prevents the team from discovering any structure in the data. C. If investigators later label accounts as suspicious or not suspicious, those labels could support a supervised classification task. D. A cluster produced by the unsupervised model is automatically a verified compliance category. E. Domain experts would still need to interpret whether a discovered cluster represents suspicious behavior. Answer Key (True = incorrect; False = accurate): A. False – The model is discovering structure without labeled targets. B. True – Unsupervised methods can identify similarities, groups, or unusual observations without labels. C. False – A discrete labeled outcome can be used to train a supervised classifier. D. True – A cluster reflects patterns in the selected data and features, not a verified legal or compliance conclusion. E. False – Human interpretation is needed to connect statistical structure to real-world meaning. [ML-D1G1Q3] A quantitative research team has historical market features and realized one-week returns. The Head of Research wants both a return forecast and a map of recurring market regimes, but requires the team to explain which outputs depend on labeled outcomes. The same historical rows may be used in two diƯerent analyses. A. Training a model to predict realized one-week return uses realized return as a supervised target. B. Removing the return column and grouping weeks by feature similarity changes the task to an unsupervised one. C. Because both analyses use the same feature rows, they must belong to the same learning paradigm. D. Naming clusters “bull,” “bear,” and “sideways” after inspecting them does not retroactively make the clustering procedure supervised. E. An unsupervised regime analysis is guaranteed to produce groups that are useful for predicting future returns. Answer Key:

[ML-D1G1Q5]

You have been hired by a FinTech startup to audit their "Black Box" market analysis tool. The lead developer claims the tool is "highly adaptive" because it takes 200 technical indicators and, every hour, automatically groups the thousands of stocks in the Russell 3000 into 12 "neighborhoods" of similar price-action behavior. The tool then assigns each neighborhood a sentiment score based on the average 1-hour forward return of the stocks within that group. The CEO is confused by the marketing material, which calls this "Hybrid Learning," and asks you to clarify the underlying paradigms. A. The process of grouping thousands of stocks into 12 "neighborhoods" without using sector labels or target categories is a Supervised Learning task. B. Identifying clusters of stocks that behave similarly in high-dimensional feature space is a core application of Unsupervised Learning. C. Once the tool calculates the average 1-hour forward return for a group to assign a sentiment score, it is using a "label" (return) that allows for a Supervised evaluation of that group's performance. D. The tool's ability to group stocks is fundamentally dependent on having a "Ground Truth" label for every stock that tells the model which neighborhood it belongs to before the grouping begins. E. In this scenario, Unsupervised Learning is used for structure discovery (the neighborhoods), while the returns provide a quantitative basis for a Supervised prediction task. Answer Key: A. False – Grouping data points based on similarity without pre-existing labels is Unsupervised Learning (specifically clustering). B. True – Unsupervised learning is designed to find latent structure or groupings in data when no response variable is provided. C. True – The forward return acts as a supervised target (𝑌) that allows the system to measure the predictive utility of the discovered clusters. D. False – Unsupervised learning does not require pre-existing labels; it discovers the groupings mathematically based on the features (𝑋) alone. E. True – This represents a common pipeline where unsupervised methods find patterns that are subsequently used or labeled for supervised tasks. [ML-D1G1Q6] You are a senior quant at a prop trading desk. The Head of Research is proposing a "Market Signature" project. The goal is to take 200 diƯerent technical indicators for 1,000 stocks and ask a model to discover "natural" clusters of stocks that behave similarly during periods of high volatility, without using any sector labels or prior groupings. Once these clusters are identified, the team plans to use them as a foundation for a separate model that predicts the next-day volatility for each cluster. You are asked to present the technical requirements for this project to the investment committee.

A. The process of discovering "natural" clusters based on price-action behavior without using pre-defined labels is an unsupervised learning task. B. In the first phase of the project, the model requires "Target Labels" to help it understand which clusters are most profitable for the desk. C. The second phase, which involves predicting a specific numerical value (next-day volatility), is a supervised regression task. D. Unsupervised learning is fundamentally incapable of being used as a preprocessing step for a supervised learning pipeline. E. The presence of a "supervisor" in this scenario refers to the numerical volatility value used to train the second model. Answer Key: A. True – Clustering data points based on inherent similarity in feature space without target labels is the definition of unsupervised learning. B. False – Unsupervised learning discovery is driven by the relationship between the features (𝑋), not by external target labels. C. True – Predicting a quantitative/continuous response variable like volatility is a supervised regression problem. D. False – It is very common to use unsupervised clustering to create features or "signatures" that are then fed into supervised models. E. True – In supervised learning, the "supervisor" is the ground truth label (𝑌) that guides the algorithm's parameter adjustments.

G2: Problem Type – Regression vs. Classification

[ML-D1G2Q1]

A portfolio manager wants a model for tomorrow’s S&P 500 movement. One team proposes forecasting the exact percentage return, while another proposes predicting whether the return will exceed 0.50%; the risk team wants to understand why the two teams may require diƯerent evaluation methods. Both teams use the same market features. A. Forecasting the exact percentage return is naturally framed as regression. B. Predicting whether the return exceeds 0.50% is naturally framed as binary classification. C. Using identical input features forces both teams to use the same problem type. D. Converting the continuous return into an above-threshold label discards some information about return magnitude. E. A model with low regression error must also classify the above-threshold outcome perfectly. Answer Key:

A. Directly predicting the three named outcomes is a multiclass classification task. B. Predicting excess return first is a regression task, even if the forecast is later converted into a category. C. The direct classifier and the thresholded regression model are guaranteed to make identical decisions if trained on the same observations. D. The desk’s asymmetric concern about underperformers should influence evaluation of the resulting decisions. E. Defining narrower category thresholds preserves all information contained in the continuous return target. Answer Key: A. True – Each stock is assigned to one of three discrete classes. B. True – The learned target remains continuous; thresholding is a later decision step. C. False – The models optimize diƯerent targets and can learn diƯerent boundaries. D. True – Errors involving underperformers carry diƯerent practical costs for this desk. E. False – Any conversion to categories loses within-category magnitude information. [ML-D1G2Q4] You are a Quantitative Research Lead at a mid-sized asset management firm. Your Head of Trading wants to build a system that monitors the "Big 7" tech stocks. She asks for two specific outputs: first, a model that predicts the exact closing price of NVIDIA (NVDA) for tomorrow's session to help with entry points; and second, a model that simply flags whether a stock will be "Bullish" (Up) or "Bearish" (Down) to trigger automated hedging. You must explain to the junior developers how these two tasks diƯer in their mathematical framing. For this question, mark each statement True if it is incorrect and False if it is accurate. A. The task of predicting the exact closing price of NVDA is a regression problem because the output variable is continuous. B. Flagging a stock as "Bullish" or "Bearish" is a classification problem because the output falls into discrete categories. C. A regression model can be converted into a classification model by applying a threshold to its continuous output (e.g., if predicted return > 0, then "Bullish"). D. Mean Squared Error (MSE) is an appropriate evaluation metric for the "Bullish/Bearish" flagging model. E. Statistical learning for classification aims to estimate the probability that an observation belongs to a particular category. Answer Key (True = incorrect; False = accurate):

A. False – Regression involves predicting a quantitative/continuous response. B. False – Classification involves predicting a qualitative/categorical response. C. False – We often use regression to predict a value and then "bin" that value to make a categorical decision. D. True – MSE is used for regression; classification typically uses metrics like Error Rate or Accuracy. E. False – Most classifiers work by first estimating the probability of class membership. [ML-D1G2Q5] You are a Quantitative Risk Analyst at a large investment bank. Your team is developing a new suite of models to analyze corporate bonds. Your Director wants one model to estimate the exact yield-to-maturity (YTM) of a bond based on its credit spread and duration. At the same time, the compliance department requires a second model that simply flags whether a bond should be "Approved" or "Denied" for the firm's buy-list based on its risk profile. You are tasked with explaining the fundamental diƯerences in how these models are evaluated. For this question, mark each statement True if it is incorrect and False if it is accurate. A. The task of estimating the exact yield-to-maturity (YTM) of a bond is a regression problem because the output is a continuous numerical value. B. The "Approved/Denied" model is a classification task because it predicts a discrete, qualitative category. C. For the YTM model, a primary goal is to minimize a loss function like Mean Squared Error (MSE), which measures the distance between the predicted and actual yields. D. In the "Approved/Denied" model, the output would typically be a continuous range of values from negative infinity to positive infinity, where the magnitude of the number indicates the bond's price. E. Both tasks fall under the supervised learning paradigm because they require historical data where the "ground truth" (actual YTM or actual Approval status) is known. Answer Key (True = incorrect; False = accurate): A. False – Regression is used when the target variable is quantitative and continuous. B. False – Classification aims to assign observations to distinct, non-numerical categories. C. False – MSE is the standard metric for assessing the accuracy of a regression model. D. True – Classification models typically output class labels or the probability of belonging to a specific class, not an unbounded continuous range. E. False – Both regression and classification are supervised paradigms that rely on labeled training data.