{"id":12194,"date":"2021-03-08T19:43:03","date_gmt":"2021-03-08T19:43:03","guid":{"rendered":"https:\/\/analystprep.com\/study-notes\/?p=12194"},"modified":"2026-04-20T08:27:37","modified_gmt":"2026-04-20T08:27:37","slug":"model-training","status":"publish","type":"post","link":"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/quantitative-method\/model-training\/","title":{"rendered":"Model Training"},"content":{"rendered":"<p><script type=\"application\/ld+json\">\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@type\": \"ImageObject\",\n  \"@id\": \"https:\/\/analystprep.com\/study-notes\/images\/model-training-img-110\",\n  \"contentUrl\": \"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_110-scaled.jpg\",\n  \"url\": \"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_110-scaled.jpg\",\n  \"caption\": \"Model Training \u2014 Image 110\",\n  \"width\": 1416,\n  \"height\": 2048,\n  \"copyrightNotice\": \"\u00a9 2024 AnalystPrep\",\n  \"acquireLicensePage\": \"https:\/\/analystprep.com\/license-info\",\n  \"creditText\": \"AnalystPrep Design Team\",\n  \"creator\": {\n    \"@type\": \"Organization\",\n    \"name\": \"AnalystPrep\"\n  },\n  \"isPartOf\": {\n    \"@type\": \"WebPage\",\n    \"@id\": \"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/quantitative-method\/model-training\/\"\n  }\n}\n<\/script> <script type=\"application\/ld+json\">\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@type\": \"ImageObject\",\n  \"@id\": \"https:\/\/analystprep.com\/study-notes\/images\/model-training-img-28-1\",\n  \"contentUrl\": \"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_28-1-1536x661.jpg\",\n  \"url\": \"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_28-1-1536x661.jpg\",\n  \"caption\": \"Model Training \u2014 Image 28-1\",\n  \"width\": 1536,\n  \"height\": 661,\n  \"copyrightNotice\": \"\u00a9 2024 AnalystPrep\",\n  \"acquireLicensePage\": \"https:\/\/analystprep.com\/license-info\",\n  \"creditText\": \"AnalystPrep Design Team\",\n  \"creator\": {\n    \"@type\": \"Organization\",\n    \"name\": \"AnalystPrep\"\n  },\n  \"isPartOf\": {\n    \"@type\": \"WebPage\",\n    \"@id\": \"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/quantitative-method\/model-training\/\"\n  }\n}\n<\/script> <script type=\"application\/ld+json\">\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@type\": \"ImageObject\",\n  \"@id\": \"https:\/\/analystprep.com\/study-notes\/images\/model-training-img-34\",\n  \"contentUrl\": \"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_34-1536x1180.jpg\",\n  \"url\": \"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_34-1536x1180.jpg\",\n  \"caption\": \"Model Training \u2014 Image 34\",\n  \"width\": 1536,\n  \"height\": 1180,\n  \"copyrightNotice\": \"\u00a9 2024 AnalystPrep\",\n  \"acquireLicensePage\": \"https:\/\/analystprep.com\/license-info\",\n  \"creditText\": \"AnalystPrep Design Team\",\n  \"creator\": {\n    \"@type\": \"Organization\",\n    \"name\": \"AnalystPrep\"\n  },\n  \"isPartOf\": {\n    \"@type\": \"WebPage\",\n    \"@id\": \"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/quantitative-method\/model-training\/\"\n  }\n}\n<\/script> <script type=\"application\/ld+json\">\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@type\": \"ImageObject\",\n  \"@id\": \"https:\/\/analystprep.com\/study-notes\/images\/model-training-img-44\",\n  \"contentUrl\": \"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_44-768x484.jpg\",\n  \"url\": \"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_44-768x484.jpg\",\n  \"caption\": \"Model Training \u2014 Image 44\",\n  \"width\": 768,\n  \"height\": 484,\n  \"copyrightNotice\": \"\u00a9 2024 AnalystPrep\",\n  \"acquireLicensePage\": \"https:\/\/analystprep.com\/license-info\",\n  \"creditText\": \"AnalystPrep Design Team\",\n  \"creator\": {\n    \"@type\": \"Organization\",\n    \"name\": \"AnalystPrep\"\n  },\n  \"isPartOf\": {\n    \"@type\": \"WebPage\",\n    \"@id\": \"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/quantitative-method\/model-training\/\"\n  }\n}\n<\/script> <script type=\"application\/ld+json\">\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@type\": \"ImageObject\",\n  \"@id\": \"https:\/\/analystprep.com\/study-notes\/images\/model-training-img-51\",\n  \"contentUrl\": \"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_51-768x697.jpg\",\n  \"url\": \"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_51-768x697.jpg\",\n  \"caption\": \"Model Training \u2014 Image 51\",\n  \"width\": 768,\n  \"height\": 697,\n  \"copyrightNotice\": \"\u00a9 2024 AnalystPrep\",\n  \"acquireLicensePage\": \"https:\/\/analystprep.com\/license-info\",\n  \"creditText\": \"AnalystPrep Design Team\",\n  \"creator\": {\n    \"@type\": \"Organization\",\n    \"name\": \"AnalystPrep\"\n  },\n  \"isPartOf\": {\n    \"@type\": \"WebPage\",\n    \"@id\": \"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/quantitative-method\/model-training\/\"\n  }\n}\n<\/script> <script type=\"application\/ld+json\">\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@type\": \"ImageObject\",\n  \"@id\": \"https:\/\/analystprep.com\/study-notes\/images\/model-training-img-6\",\n  \"contentUrl\": \"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_6-768x309.jpg\",\n  \"url\": \"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_6-768x309.jpg\",\n  \"caption\": \"Model Training \u2014 Image 6\",\n  \"width\": 768,\n  \"height\": 309,\n  \"copyrightNotice\": \"\u00a9 2024 AnalystPrep\",\n  \"acquireLicensePage\": \"https:\/\/analystprep.com\/license-info\",\n  \"creditText\": \"AnalystPrep Design Team\",\n  \"creator\": {\n    \"@type\": \"Organization\",\n    \"name\": \"AnalystPrep\"\n  },\n  \"isPartOf\": {\n    \"@type\": \"WebPage\",\n    \"@id\": \"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/quantitative-method\/model-training\/\"\n  }\n}\n<\/script> <script type=\"application\/ld+json\">\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@type\": \"QAPage\",\n  \"mainEntity\": {\n    \"@type\": \"Question\",\n    \"name\": \"Based on the confusion matrix, what are the model\u2019s F1 score and accuracy?\",\n    \"text\": \"A text classification model produces the following confusion matrix: TP = 200, FP = 70, FN = 40, TN = 98. Based on this confusion matrix, what are the model\u2019s F1 score and accuracy?\",\n    \"answerCount\": 1,\n    \"acceptedAnswer\": {\n      \"@type\": \"Answer\",\n      \"text\": \"The model\u2019s F1 score is approximately 78% and its accuracy is approximately 73%.\",\n      \"confidence\": 0.78\n    }\n  }\n}\n<\/script><\/p>\n<h3 id=\"mce_22\" class=\"editor-rich-text__tinymce mce-content-body\" data-is-placeholder-visible=\"false\"><iframe loading=\"lazy\" title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/ifHmwpgHWYY\" width=\"611\" height=\"344\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/h3>\n<p>Machine learning (ML) model training entails three tasks: method selection, performance evaluation, and tuning. While there are no standard rules for training an ML model, having a fundamental understanding of domain-specific training data and ML algorithm principles is key to proper model training.<\/p>\n<p>Recall that in the previous stages, we have transformed unstructured text data into forms of data matrixes or tables for machine training. Therefore, the ML model training for structured and unstructured data is typically similar. In ML model training, all we are doing is fitting a system of rules on a training dataset to establish data patterns. Model training steps are as follows:<\/p>\n<h2>1. Method Selection<\/h2>\n<p>The first step of the training process is selecting and applying an algorithm to an ML model. The following factors determine method selection:<\/p>\n<ol>\n<li><strong><em>Supervised or unsupervised learning: <\/em><\/strong>Supervised ML models use labeled training data to produce a known outcome. Typical methods of choice for supervised learning include: regression, ensemble trees, support vector machines (SVMs), and neural networks (NNs). On the contrary, unsupervised ML is reasonably challenging due to the absence of a target variable. Standard methods that apply here include dimensionality reduction, clustering, and anomaly detection.<\/li>\n<li><strong><em>Type of data:<\/em> <\/strong>Classification and regression tree (CART) methods are appropriate for numerical data. For text data, GLMs and SVMs are commonly used, whereas NNs and deep learning methods are suitable for image data. Finally, when working with speech data, deep learning methods can generate great results.<\/li>\n<li><em><strong>Size of data:<\/strong> <\/em>A standard dataset is characterized by the number of observations and the number of features. SVMs work well for broader data sets with 10,000 to 100,000 features but fewer observations. On the other hand, NNs often work better on \u201clonger\u201d datasets, where the observations are much larger than the number of features.<\/li>\n<\/ol>\n<p>It is vital to note that more than one method can be used to exploit the advantages of each method. Additionally, before model training begins, the master data set is split into three subsets in case of supervised learning. The figure below demonstrates a possible way of splitting the data.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14930\" src=\"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_110-scaled.jpg\" alt=\"Example: Spliting the Data\" width=\"1416\" height=\"2048\" srcset=\"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_110-scaled.jpg 1416w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_110-207x300.jpg 207w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_110-708x1024.jpg 708w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_110-768x1111.jpg 768w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_110-1062x1536.jpg 1062w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_110-400x578.jpg 400w\" sizes=\"auto, (max-width: 1416px) 100vw, 1416px\" \/>For unsupervised learning, no splitting is needed due to the absence of labeled training data.<\/p>\n<p>In some cases, the number of observations for a particular class may be significantly larger than for other classes. This is known as class imbalance, and it is linked to data used in supervised learning. Resampling the data set solves this problem. Undersampling and oversampling approaches apply to balancing the classes.<\/p>\n<p>Undersampling works by reducing the majority class (\u201c0\u201d). This method is applicable when the quantity of data is adequate. By keeping all samples in the minority class (\u201c1\u201d) and randomly selecting an equal number of samples in the majority class, a balanced new dataset can be retrieved for further modeling.<\/p>\n<p>Oversampling, on the contrary, is used when the quantity of data is not sufficient. Its goal is to balance the dataset by increasing the size of the minority samples. Instead of getting rid of majority samples, new minority samples are generated using, say repetition, and bootstrapping.<\/p>\n<p>The following figure shows the idea of balancing the majority and the minority classes.<\/p>\n<h2><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14932\" src=\"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_28-1.jpg\" alt=\"Balancing Majority and Minority Classes\" width=\"1590\" height=\"684\" srcset=\"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_28-1.jpg 1590w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_28-1-300x129.jpg 300w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_28-1-1024x441.jpg 1024w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_28-1-768x330.jpg 768w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_28-1-1536x661.jpg 1536w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_28-1-400x172.jpg 400w\" sizes=\"auto, (max-width: 1590px) 100vw, 1590px\" \/>2. Performance Evaluation<\/h2>\n<p>Performance evaluation of the model training is essential for validation of the model. In this section, we discuss the various techniques appropriate for measuring model performance. For simplicity, we will mostly deal with binary classification models.<\/p>\n<div style=\"background-color: #f5f7fa; padding: 20px; text-align: center; margin: 30px 0; border-radius: 8px;\">\n<div style=\"max-width: 620px; margin: 0 auto;\"><a style=\"display: flex; align-items: center; justify-content: center; width: 100%; padding: 10px 20px; border: 2px solid #1a73e8; border-radius: 999px; text-decoration: none; color: #1a73e8; font-size: 15px; font-weight: 600; line-height: 1.4;\" href=\"https:\/\/analystprep.com\/free-trial\/\" target=\"_blank\" rel=\"noopener noreferrer\"> Strengthen model training concepts with our Free Trial <\/a><\/div>\n<\/div>\n<h3>a. Error Analysis<\/h3>\n<p>Error analysis entails four basic evaluation metrics: true positive (TP), false positive (FP), true negative (TN), and false-negative (FN) metrics. FP is also known as Type I error, whereas FN is also called a Type II error. The confusion matrix below gives a better visualization of these metrics:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14933\" src=\"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_34.jpg\" alt=\"Error Analysis\" width=\"1590\" height=\"1221\" srcset=\"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_34.jpg 1590w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_34-300x230.jpg 300w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_34-1024x786.jpg 1024w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_34-768x590.jpg 768w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_34-1536x1180.jpg 1536w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_34-400x307.jpg 400w\" sizes=\"auto, (max-width: 1590px) 100vw, 1590px\" \/>The explanation of the terms in the confusion matrix is as follows:<\/p>\n<ul>\n<li data-tadv-p=\"keep\"><strong><em>True Positives (TP):<\/em> <\/strong>This is the case when the actual class and the predicted class of data point are both 1.<\/li>\n<li data-tadv-p=\"keep\"><strong><em>True Negatives (TN)<\/em>:<\/strong> It occurs when the actual and predicted classes of the data point are both 0.<\/li>\n<li data-tadv-p=\"keep\"><strong><em>False Positives (FP):<\/em> <\/strong>It occurs when the actual class of data point is 0, whereas the predicted class of data point is 1. Also known as <b style=\"font-size: inherit;\">Type I error<\/b><span style=\"font-size: inherit;\">.<\/span><\/li>\n<li data-tadv-p=\"keep\"><em><strong>False Negatives (FN):<\/strong> <\/em>This occurs when the actual class of data point is 1, whereas the predicted class of data point is 0. Also known as <b style=\"font-size: inherit;\">Type II error<\/b><span style=\"font-size: inherit;\">.<\/span><\/li>\n<\/ul>\n<h4>Precision<\/h4>\n<p>Precision (P) is the proportion of correctly predicted positive classes to total predicted positive classes. Precision is useful in situations where the cost of false positives (FP), or Type I error is high.<\/p>\n<p>$$\\text{Precision (P)}=\\frac{\\text{TP}}{\\text{TP}+\\text{FP}}$$<\/p>\n<h4>Recall\/Sensitivity<\/h4>\n<p>Recall (sensitivity) is the proportion of correctly predicted positive classes to the total actual positive classes. It is useful where the cost of FN or Type II error is high.<\/p>\n<p>$$\\text{Recall (R)}=\\frac{\\text{TP}}{\\text{TP}+\\text{FN}}$$<\/p>\n<h4>Accuracy<\/h4>\n<p>Accuracy is the percentage of correctly predicted classes out of total predictions. It is a standard metric for evaluating model performance. However, it is not a clear indicator of the performance and can generate worse results, especially if the classes are imbalanced.<\/p>\n<p>$$\\text{Accuracy}=\\frac{\\text{TP}+\\text{TN}}{\\text{TP}+\\text{FP}+\\text{TN}+\\text{FN}}$$<\/p>\n<h4>F1 Score<\/h4>\n<p>FI score is the harmonic mean of precision and recall. F1 score is more appropriate than accuracy when there is a class imbalance in the dataset, and it is necessary to measure the equilibrium of precision and recall. The higher the F1 score, the better the model performance.<\/p>\n<p>$$\\text{F1 score}=\\frac{(2\\times\\text{Precision}\\times\\text{Recall})}{\\text{Precision}+\\text{Recall}}$$<\/p>\n<h3>b. Receiver Operating Characteristic (ROC)<\/h3>\n<p>ROC involves plotting a curve showing the trade-off between the false positive rate (x-axis) and true positive rate (y-axis) for various cutoff points where:<\/p>\n<p>$$\\text{False positive rate (FPR)}=\\frac{\\text{FP}}{\\text{TN}+\\text{FP}}$$<\/p>\n<p>And,<\/p>\n<p>$$\\text{True positive rate (TPR)}=\\frac{\\text{TP}}{\\text{TP}+\\text{FN}}$$<\/p>\n<p>As TPR increases, FPR also increases. Furthermore, a more convex curve indicates better model performance. AUC is equivalent to the area under the ROC curve. The higher the numerical value of AUC, the better the prediction.<\/p>\n<p>The following figure demonstrates all you need to know about ROC curves and AUCs:<\/p>\n<h3><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14934\" src=\"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_44.jpg\" alt=\"Receiver Operating Characteristics\" width=\"1590\" height=\"1002\" srcset=\"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_44.jpg 1590w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_44-300x189.jpg 300w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_44-1024x645.jpg 1024w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_44-768x484.jpg 768w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_44-1536x968.jpg 1536w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_44-400x252.jpg 400w\" sizes=\"auto, (max-width: 1590px) 100vw, 1590px\" \/>c. Root Mean Squared Error (RMSE)<\/h3>\n<p>RMSE is a single metric that captures all the prediction errors in the data (n). It is appropriate for continuous data prediction and is mostly used for regression methods.<\/p>\n<p>$$\\text{RMSE}=\\sqrt{\\sum_{i=1}^{n}\\frac{(\\text{Predicted}_{i}-\\text{Actual}_{i})}{n}}$$<\/p>\n<p>A small RMSE indicates potentially better model performance.<\/p>\n<h2>3. Tuning<\/h2>\n<p>\u00a0The main objective of tuning is to improve model performance. Model-fitting has two types of error: bias and variance. Bias error emerges when the model is underfitted, whereas variance error is associated with overfitting. Both errors can be reduced, so the total aggregate error (bias error + variance error) is at a minimum. The bias-variance trade-off is vital to finding an optimum balance where a model neither underfits nor overfits.<\/p>\n<p>Tuning is usually a trial-and-error process. It entails a continuous change of some hyperparameters. The algorithm is then run on the data again, and the output is compared to its performance using the validation set. This determines the set of hyperparameters, which results in the most accurate model. This method is known as a grid search.<\/p>\n<p>A fitting curve of the training sample error and cross-validation sample error on the y-axis versus model complexity on the x-axis is useful for managing the bias vs. variance error trade-off. Fitting curves visually aid in tuning hyperparameters.<\/p>\n<p>The following figure shows a bias-variance error trade-off by plotting a generic fitting curve for hyperparameter:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14935\" src=\"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_51.jpg\" alt=\"Bias-variance Error Trade-off\" width=\"1590\" height=\"1443\" srcset=\"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_51.jpg 1590w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_51-300x272.jpg 300w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_51-1024x929.jpg 1024w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_51-768x697.jpg 768w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_51-1536x1394.jpg 1536w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_51-400x363.jpg 400w\" sizes=\"auto, (max-width: 1590px) 100vw, 1590px\" \/>If there exists a high bias or variance even after the tuning of hyperparameters, a large number of training observations (instances) may be needed. Additionally, the number of features included in the model may need to be reduced in the case of high variance or increased in the case of high bias. The model then needs to be re-trained and re-tuned using the new training dataset.<\/p>\n<p>Ceiling analysis is employed in the case of a complex model, i.e., where a large model is comprised of sub-model(s). Ceiling analysis is a systematic process of assessing different components in the pipeline of model building. It assists in understanding the part of the pipeline that can potentially improve in performance by further tuning.<\/p>\n<h2><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14936\" src=\"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_6.jpg\" alt=\"Ceiling Analysis\" width=\"1710\" height=\"689\" srcset=\"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_6.jpg 1710w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_6-300x121.jpg 300w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_6-1024x413.jpg 1024w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_6-768x309.jpg 768w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_6-1536x619.jpg 1536w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_6-400x161.jpg 400w\" sizes=\"auto, (max-width: 1710px) 100vw, 1710px\" \/>Question<\/h2>\n<blockquote>\n<p>Amelia Parker is a junior analyst at ABC Investment Ltd. Parker is building a model that has an improved predictive power. She plans to improve the existing model that purely relies on structured financial data by incorporating finance-related text data derived from news articles and tweets relating to the company. After preparing and wrangling the raw text data, Parker performs exploratory data analysis. She creates and analyzes a visualization that shows the most informative words in the dataset based on their term frequency (TF) values to assist in feature selection.<\/p>\n<p>Once satisfied with the final set of features, Parker selects and runs a model on the training set that classifies the text as having positive sentiment (Class \u201c1\u201d) or negative sentiment (Class \u201c0\u201d). She then evaluates its performance using error analysis. The resulting confusion matrix is as follows:<\/p>\n<h6 style=\"text-align: center;\">Confusion Matrix<\/h6>\n<p>$$\\small{\\begin{array}{l|l|l|l} {}&amp;{} &amp; \\text{Actual Training Results}\\\\ \\hline{}&amp; {}&amp; \\text{Class &#8220;1&#8221;} &amp; \\text{Class &#8220;0&#8221;}\\\\ \\hline\\text{Predicted Results} &amp; \\text{Class &#8220;1&#8221;} &amp; \\text{TP=200} &amp; \\text{FP=70}\\\\ {}&amp; \\text{Class &#8220;0&#8221;} &amp; \\text{FN=40} &amp; \\text{TN=98}\\\\\u00a0 \\end{array}}$$<\/p>\n<p>Based on the above confusion matrix, the models F1 score and accuracy metric are <em>most likely<\/em> to be:<\/p>\n<p>\u00a0 \u00a0 \u00a0A. 74% and 83%, respectively.<\/p>\n<p>\u00a0 \u00a0 \u00a0B. 74% and 78%, respectively.<\/p>\n<p>\u00a0 \u00a0 \u00a0C. 78% and 73%, respectively.<\/p>\n<h3>Solution<\/h3>\n<p><strong>The correct answer is C.<\/strong><\/p>\n<p>The model\u2019s F1 score, which is the harmonic mean of precision and recall, is computed as:<\/p>\n<p>$$\\text{F1 score}=\\frac{(2\\times \\text{Precision}\\times\\text{Recall})}{\\text{Precision}+\\text{Recall}}$$<\/p>\n<p>$$\\text{Precision (P)}=\\frac{\\text{TP}}{\\text{TP}+\\text{FP}}$$<\/p>\n<p>$$\\begin{align*}\\text{Precision (P)}&amp;=\\frac{200}{200+70}\\\\&amp;=74\\%\\end{align*}$$<\/p>\n<p>$$\\text{Recall (R)}=\\frac{\\text{TP}}{\\text{TP}+\\text{FN}}$$<\/p>\n<p>$$\\begin{align*}\\text{Recall (R)}&amp;=\\frac{200}{200+40}\\\\&amp;=83\\%\\end{align*}$$<\/p>\n<p>$$\\text{F1 score}=\\frac{(2\\times \\text{Precision}\\times\\text{Recall})}{\\text{Precision}+\\text{Recall}}$$<\/p>\n<p>$$\\begin{align*}\\text{F1 score}&amp;=\\frac{(2\\times74\\times83)}{74+83}\\\\&amp;=78\\%\\end{align*}$$<\/p>\n<p>The model\u2019s accuracy, which is the proportion of correctly predicted classes out of total predictions, is solved as follows:<\/p>\n<p>$$\\text{Accuracy}=\\frac{\\text{TP}+\\text{TN}}{\\text{TP}+\\text{FP}+\\text{TN}+\\text{FN}}$$<\/p>\n<p>$$\\begin{align*}\\text{Accuracy}&amp;=\\frac{200+98}{200+70+98+40}\\\\&amp;=73\\%\\end{align*}$$<\/p>\n<\/blockquote>\n<p>Reading 7: Big Data Projects<\/p>\n<p><em>LOS 7 (d) Describe objectives, steps, and techniques in model training<\/em><\/p>\n<div style=\"background-color: #f5f7fa; padding: 32px 20px; text-align: center; margin: 40px 0; border-radius: 8px;\"><a style=\"display: inline-block; background-color: #1a73e8; color: #ffffff; text-decoration: none; font-size: 16px; font-weight: 600; padding: 12px 28px; border-radius: 999px; line-height: 1.4;\" href=\"https:\/\/analystprep.com\/free-trial\/\" target=\"_blank\" rel=\"noopener noreferrer\"> Start Free Trial \u2192 <\/a><\/p>\n<p style=\"margin: 14px auto 0; max-width: 620px; font-size: 15px; line-height: 1.6; color: #444444;\">Build CFA Level II readiness with structured study materials, guided learning, and focused practice for quantitative methods and model evaluation.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Machine learning (ML) model training entails three tasks: method selection, performance evaluation, and tuning. While there are no standard rules for training an ML model, having a fundamental understanding of domain-specific training data and ML algorithm principles is key to&#8230;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[102,229],"tags":[216,267,230],"class_list":["post-12194","post","type-post","status-publish","format-standard","hentry","category-cfa-level-2","category-quantitative-method","tag-cfa-level-2","tag-model-training","tag-quantitative-method","blog-post","no-post-thumbnail","animate"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Model Training - CFA, FRM, and Actuarial Exams Study Notes<\/title>\n<meta name=\"description\" content=\"Understand how to interpret a confusion matrix and calculate model metrics like F1 score and accuracy using a provided example.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/quantitative-method\/model-training\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Model Training - CFA, FRM, and Actuarial Exams Study Notes\" \/>\n<meta property=\"og:description\" content=\"Understand how to interpret a confusion matrix and calculate model metrics like F1 score and accuracy using a provided example.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/quantitative-method\/model-training\/\" \/>\n<meta property=\"og:site_name\" content=\"CFA, FRM, and Actuarial Exams Study Notes\" \/>\n<meta property=\"article:published_time\" content=\"2021-03-08T19:43:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-04-20T08:27:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_110-scaled.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1416\" \/>\n\t<meta property=\"og:image:height\" content=\"2048\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Irene R\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Irene R\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/analystprep.com\\\/study-notes\\\/cfa-level-2\\\/quantitative-method\\\/model-training\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/analystprep.com\\\/study-notes\\\/cfa-level-2\\\/quantitative-method\\\/model-training\\\/\"},\"author\":{\"name\":\"Irene R\",\"@id\":\"https:\\\/\\\/analystprep.com\\\/study-notes\\\/#\\\/schema\\\/person\\\/7002f30d8f174958802c1c30b167eaf5\"},\"headline\":\"Model Training\",\"datePublished\":\"2021-03-08T19:43:03+00:00\",\"dateModified\":\"2026-04-20T08:27:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/analystprep.com\\\/study-notes\\\/cfa-level-2\\\/quantitative-method\\\/model-training\\\/\"},\"wordCount\":1787,\"image\":{\"@id\":\"https:\\\/\\\/analystprep.com\\\/study-notes\\\/cfa-level-2\\\/quantitative-method\\\/model-training\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/analystprep.com\\\/study-notes\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/Img_110-scaled.jpg\",\"keywords\":[\"CFA-level-2\",\"Model Training\",\"Quantitative Method\"],\"articleSection\":[\"CFA Level II Study Notes\",\"Quantitative Method\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/analystprep.com\\\/study-notes\\\/cfa-level-2\\\/quantitative-method\\\/model-training\\\/\",\"url\":\"https:\\\/\\\/analystprep.com\\\/study-notes\\\/cfa-level-2\\\/quantitative-method\\\/model-training\\\/\",\"name\":\"Model Training - CFA, FRM, and Actuarial Exams Study Notes\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/analystprep.com\\\/study-notes\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/analystprep.com\\\/study-notes\\\/cfa-level-2\\\/quantitative-method\\\/model-training\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/analystprep.com\\\/study-notes\\\/cfa-level-2\\\/quantitative-method\\\/model-training\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/analystprep.com\\\/study-notes\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/Img_110-scaled.jpg\",\"datePublished\":\"2021-03-08T19:43:03+00:00\",\"dateModified\":\"2026-04-20T08:27:37+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/analystprep.com\\\/study-notes\\\/#\\\/schema\\\/person\\\/7002f30d8f174958802c1c30b167eaf5\"},\"description\":\"Understand how to interpret a confusion matrix and calculate model metrics like F1 score and accuracy using a provided example.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/analystprep.com\\\/study-notes\\\/cfa-level-2\\\/quantitative-method\\\/model-training\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/analystprep.com\\\/study-notes\\\/cfa-level-2\\\/quantitative-method\\\/model-training\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/analystprep.com\\\/study-notes\\\/cfa-level-2\\\/quantitative-method\\\/model-training\\\/#primaryimage\",\"url\":\"https:\\\/\\\/analystprep.com\\\/study-notes\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/Img_110-scaled.jpg\",\"contentUrl\":\"https:\\\/\\\/analystprep.com\\\/study-notes\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/Img_110-scaled.jpg\",\"width\":1416,\"height\":2048,\"caption\":\"Example: Spliting the Data\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/analystprep.com\\\/study-notes\\\/cfa-level-2\\\/quantitative-method\\\/model-training\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/analystprep.com\\\/study-notes\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Model Training\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/analystprep.com\\\/study-notes\\\/#website\",\"url\":\"https:\\\/\\\/analystprep.com\\\/study-notes\\\/\",\"name\":\"CFA, FRM, and Actuarial Exams Study Notes\",\"description\":\"Question Bank and Study Notes for the CFA, FRM, and Actuarial exams\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/analystprep.com\\\/study-notes\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/analystprep.com\\\/study-notes\\\/#\\\/schema\\\/person\\\/7002f30d8f174958802c1c30b167eaf5\",\"name\":\"Irene R\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/33caf1e1bcb63ee970b36351f165c7bc714b19614993ab9c2c8bf36273b7df48?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/33caf1e1bcb63ee970b36351f165c7bc714b19614993ab9c2c8bf36273b7df48?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/33caf1e1bcb63ee970b36351f165c7bc714b19614993ab9c2c8bf36273b7df48?s=96&d=mm&r=g\",\"caption\":\"Irene R\"},\"url\":\"https:\\\/\\\/analystprep.com\\\/study-notes\\\/author\\\/irene\\\/\"}]}<\/script>\n<meta property=\"og:video\" content=\"https:\/\/www.youtube.com\/embed\/ifHmwpgHWYY\" \/>\n<meta property=\"og:video:type\" content=\"text\/html\" \/>\n<meta property=\"og:video:duration\" content=\"3468\" \/>\n<meta property=\"og:video:width\" content=\"480\" \/>\n<meta property=\"og:video:height\" content=\"270\" \/>\n<meta property=\"ya:ovs:adult\" content=\"false\" \/>\n<meta property=\"ya:ovs:upload_date\" content=\"2021-03-08T19:43:03+00:00\" \/>\n<meta property=\"ya:ovs:allow_embed\" content=\"true\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Model Training - CFA, FRM, and Actuarial Exams Study Notes","description":"Understand how to interpret a confusion matrix and calculate model metrics like F1 score and accuracy using a provided example.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/quantitative-method\/model-training\/","og_locale":"en_US","og_type":"article","og_title":"Model Training - CFA, FRM, and Actuarial Exams Study Notes","og_description":"Understand how to interpret a confusion matrix and calculate model metrics like F1 score and accuracy using a provided example.","og_url":"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/quantitative-method\/model-training\/","og_site_name":"CFA, FRM, and Actuarial Exams Study Notes","article_published_time":"2021-03-08T19:43:03+00:00","article_modified_time":"2026-04-20T08:27:37+00:00","og_image":[{"width":1416,"height":2048,"url":"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_110-scaled.jpg","type":"image\/jpeg"}],"author":"Irene R","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Irene R","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/quantitative-method\/model-training\/#article","isPartOf":{"@id":"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/quantitative-method\/model-training\/"},"author":{"name":"Irene R","@id":"https:\/\/analystprep.com\/study-notes\/#\/schema\/person\/7002f30d8f174958802c1c30b167eaf5"},"headline":"Model Training","datePublished":"2021-03-08T19:43:03+00:00","dateModified":"2026-04-20T08:27:37+00:00","mainEntityOfPage":{"@id":"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/quantitative-method\/model-training\/"},"wordCount":1787,"image":{"@id":"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/quantitative-method\/model-training\/#primaryimage"},"thumbnailUrl":"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_110-scaled.jpg","keywords":["CFA-level-2","Model Training","Quantitative Method"],"articleSection":["CFA Level II Study Notes","Quantitative Method"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/quantitative-method\/model-training\/","url":"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/quantitative-method\/model-training\/","name":"Model Training - CFA, FRM, and Actuarial Exams Study Notes","isPartOf":{"@id":"https:\/\/analystprep.com\/study-notes\/#website"},"primaryImageOfPage":{"@id":"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/quantitative-method\/model-training\/#primaryimage"},"image":{"@id":"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/quantitative-method\/model-training\/#primaryimage"},"thumbnailUrl":"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_110-scaled.jpg","datePublished":"2021-03-08T19:43:03+00:00","dateModified":"2026-04-20T08:27:37+00:00","author":{"@id":"https:\/\/analystprep.com\/study-notes\/#\/schema\/person\/7002f30d8f174958802c1c30b167eaf5"},"description":"Understand how to interpret a confusion matrix and calculate model metrics like F1 score and accuracy using a provided example.","breadcrumb":{"@id":"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/quantitative-method\/model-training\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/analystprep.com\/study-notes\/cfa-level-2\/quantitative-method\/model-training\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/quantitative-method\/model-training\/#primaryimage","url":"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_110-scaled.jpg","contentUrl":"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_110-scaled.jpg","width":1416,"height":2048,"caption":"Example: Spliting the Data"},{"@type":"BreadcrumbList","@id":"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/quantitative-method\/model-training\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/analystprep.com\/study-notes\/"},{"@type":"ListItem","position":2,"name":"Model Training"}]},{"@type":"WebSite","@id":"https:\/\/analystprep.com\/study-notes\/#website","url":"https:\/\/analystprep.com\/study-notes\/","name":"CFA, FRM, and Actuarial Exams Study Notes","description":"Question Bank and Study Notes for the CFA, FRM, and Actuarial exams","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/analystprep.com\/study-notes\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/analystprep.com\/study-notes\/#\/schema\/person\/7002f30d8f174958802c1c30b167eaf5","name":"Irene R","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/33caf1e1bcb63ee970b36351f165c7bc714b19614993ab9c2c8bf36273b7df48?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/33caf1e1bcb63ee970b36351f165c7bc714b19614993ab9c2c8bf36273b7df48?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/33caf1e1bcb63ee970b36351f165c7bc714b19614993ab9c2c8bf36273b7df48?s=96&d=mm&r=g","caption":"Irene R"},"url":"https:\/\/analystprep.com\/study-notes\/author\/irene\/"}]},"og_video":"https:\/\/www.youtube.com\/embed\/ifHmwpgHWYY","og_video_type":"text\/html","og_video_duration":"3468","og_video_width":"480","og_video_height":"270","ya_ovs_adult":"false","ya_ovs_upload_date":"2021-03-08T19:43:03+00:00","ya_ovs_allow_embed":"true"},"_links":{"self":[{"href":"https:\/\/analystprep.com\/study-notes\/wp-json\/wp\/v2\/posts\/12194","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/analystprep.com\/study-notes\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/analystprep.com\/study-notes\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/analystprep.com\/study-notes\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/analystprep.com\/study-notes\/wp-json\/wp\/v2\/comments?post=12194"}],"version-history":[{"count":77,"href":"https:\/\/analystprep.com\/study-notes\/wp-json\/wp\/v2\/posts\/12194\/revisions"}],"predecessor-version":[{"id":43135,"href":"https:\/\/analystprep.com\/study-notes\/wp-json\/wp\/v2\/posts\/12194\/revisions\/43135"}],"wp:attachment":[{"href":"https:\/\/analystprep.com\/study-notes\/wp-json\/wp\/v2\/media?parent=12194"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/analystprep.com\/study-notes\/wp-json\/wp\/v2\/categories?post=12194"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/analystprep.com\/study-notes\/wp-json\/wp\/v2\/tags?post=12194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}