{"id":12098,"date":"2021-03-07T04:14:31","date_gmt":"2021-03-07T04:14:31","guid":{"rendered":"https:\/\/analystprep.com\/study-notes\/?p=12098"},"modified":"2024-04-02T14:51:31","modified_gmt":"2024-04-02T14:51:31","slug":"supervised-machine-learning-algorithms","status":"publish","type":"post","link":"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/supervised-machine-learning-algorithms\/","title":{"rendered":"Supervised Machine Learning Algorithms"},"content":{"rendered":"<h3 id=\"mce_22\" class=\"editor-rich-text__tinymce mce-content-body\" data-is-placeholder-visible=\"false\">[vsw id=&#8221;JOpNoBlW_0Q&#8221; source=&#8221;youtube&#8221; width=&#8221;611&#8243; height=&#8221;344&#8243; autoplay=&#8221;no&#8221;]<\/h3>\n<h2>1. Penalized Regression<\/h2>\n<p>Penalized regression is a technique that is useful for reducing\/shrinking a large number of features to a manageable set and for making good predictions in a variety of large data sets. It is used to avoid overfitting. Models in which each variable plays an essential role tend to work well in prediction because they are less subject to overfitting.<\/p>\n<p>The penalized regression allows us to create a linear regression model that is penalized for having too many variables in the model by adding a constraint in the equation. This is through shrinkage or regularization methods.<\/p>\n<p>An excellent example of penalized regression is LASSO regression.<\/p>\n<h3>1.1. LASSO Regression<\/h3>\n<p>LASSO (least absolute shrinkage and selection operator) contracts the regression coefficients toward zero. The shrinking is done by penalizing the regression model with a penalty term, known as the L1 norm, which is the sum of the absolute coefficients.<\/p>\n<p>$$ \\text{Penalty Term} =\\lambda \\sum_{k-1}^{K}|\\widehat{{b}_{k}}| $$<\/p>\n<p>With \\(\\lambda&gt;0\\).<\/p>\n<p>LASSO also involves minimizing the sum of the absolute values of the regression coefficients as in the following expression:<\/p>\n<p>$$=\\sum_{i=1}^{n}(Y_i-Y_{i})^2+\\lambda \\sum_{k=1}^{K}|\\widehat{{b}_{K}}|$$<\/p>\n<p>When \\(\\lambda=0\\),\u00a0the penalty term reduces to zero, so there is no regularization, and the regression is equivalent to an ordinary least squares (OLS) regression.<\/p>\n<p>The higher the number of variables with non-zero coefficients, the larger the penalty term. Penalized regression, therefore, ensures that a feature is included if the sum of squared residuals declines by more than the penalty term increases. Additionally, LASSO automatically performs feature selection since it eliminates the least essential features from the model.<\/p>\n<p>Lambda is the tuning parameter that decides how much we want to penalize the flexibility of our model. As the value of \\(\\lambda\\) rises,\u00a0the value of coefficients reduces and thus reducing the variance, consequently avoiding overfitting.<\/p>\n<p>Regularization refers to methods that reduce statistical variability in big dimensional data estimation problems. In this case, reducing regression coefficient estimates toward zero and thereby avoiding complex models and the risk of overfitting.<\/p>\n<h2>2. Support Vector Machine<\/h2>\n<p>Support vector machine (SVM) is an algorithm technique used for classification, regression, and outlier detection.<\/p>\n<p>Starting with a set of training examples that belong to two specified categories, an SVM model can assign new examples to each category. In essence, the model can \u201ctrain\u201d\u00a0 and subsequently predict where a new set of examples belong. The SVM model works by establishing a hyperplane between the two categories that is wide as possible to simplify the prediction process. The model assumes that the data is linearly separable.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14908\" src=\"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_16.jpg\" alt=\"Support Vector Machine\" width=\"1590\" height=\"1080\" srcset=\"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_16.jpg 1590w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_16-300x204.jpg 300w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_16-1024x696.jpg 1024w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_16-768x522.jpg 768w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_16-1536x1043.jpg 1536w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_16-400x272.jpg 400w\" sizes=\"auto, (max-width: 1590px) 100vw, 1590px\" \/>A linear classifier is a binary classifier that makes its classification decision based on a linear combination of the features of each data point. SVM is a linear classifier that determines the decision boundary that optimally separates the observations into two sets of data points. The decision boundary is a hyperplane if the data has more than three dimensions. SVM solves the optimization problem so that:<\/p>\n<ul>\n<li>Support vectors have the shortest possible distance from the separating hyperplane or the boundary.<\/li>\n<li>The two classes lie on separate sides of the hyperplane.<\/li>\n<\/ul>\n<p>SVM can be applied to corporate financial statements or bankruptcy databases as they are complex high-dimensional data sets. It is essential to note that training the SVM algorithm is time-consuming, and the algorithm structure is challenging to understand.<\/p>\n<h2>3. K-Nearest Neighbor<\/h2>\n<p>K-nearest neighbor (KNN) is an algorithm used for classification and regression. The idea is to classify a new observation by finding similarities (\u201cnearness\u201d) between it and its k-nearest neighbors in the existing data set.<\/p>\n<h3>Example of KNN<\/h3>\n<p>In KNN, K is the number of the nearest neighbors, which is the core deciding factor. The simplest case is when K = 1; in this case, the algorithm is known as the nearest neighbor algorithm.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14909\" src=\"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/img_25.jpg\" alt=\"KNN\" width=\"1408\" height=\"1076\" srcset=\"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/img_25.jpg 1408w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/img_25-300x229.jpg 300w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/img_25-1024x783.jpg 1024w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/img_25-768x587.jpg 768w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/img_25-400x306.jpg 400w\" sizes=\"auto, (max-width: 1408px) 100vw, 1408px\" \/>KNN is a straightforward, intuitive model that is still very powerful because it is non-parametric; the model makes no assumptions concerning the distribution of the data. Further, it can be employed for multiclass classification.<\/p>\n<p>The main challenge facing KNN is the definition of \u201cnear.\u201d Additionally, an important decision relates to the distance metric used to model nearness because an inappropriate measure generates poorly performing models. More subjectivity may arise depending on the correct choice of the correct distance measure. KNN can be applied in the investment industry, including bankruptcy prediction, stock price prediction, corporate bond credit rating assignment, and customized equity and bond index creation.<\/p>\n<h2>4. Classification and Regression Tree<\/h2>\n<p>Classification and Regression Tree (CART), also known as a decision tree, is most commonly applied to binary classification or regression. Items are classified by asking a series of questions that home in on the most likely classification. It is essential to avoid overfitting by applying a stopping criterion or by pruning the decision tree. At each node, the algorithm chooses the feature and the cutoff value for the selected feature that generates the most extensive separation of the labeled data to minimize classification error.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14910\" src=\"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_33.jpg\" alt=\"Regression Tree\" width=\"1590\" height=\"1588\" srcset=\"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_33.jpg 1590w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_33-300x300.jpg 300w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_33-1024x1024.jpg 1024w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_33-150x150.jpg 150w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_33-768x767.jpg 768w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_33-1536x1534.jpg 1536w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_33-700x700.jpg 700w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_33-600x600.jpg 600w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_33-400x399.jpg 400w\" sizes=\"auto, (max-width: 1590px) 100vw, 1590px\" \/>Suppose we want to predict if a stock is an attractive investment or a value trap, i.e., an investment that is likely to be unprofitable but cheaply priced. High profitability is only relevant if the stock is cheap. For example, in this hypothetical case, if P\/E is less than 20, leverage is high (debt to total capital &gt; 50%), and sales are expanding (sales growth &gt; 20%). Multiple linear regression fails typically in situations where the relationship between the features and the outcome is non-linear.<\/p>\n<p>The decision tree to determine if the investment is attractive or a value trap is as follows:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14911\" src=\"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_42.jpg\" alt=\"Example: Decision Tree\" width=\"1590\" height=\"898\" srcset=\"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_42.jpg 1590w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_42-300x169.jpg 300w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_42-1024x578.jpg 1024w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_42-768x434.jpg 768w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_42-1536x868.jpg 1536w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_42-400x226.jpg 400w\" sizes=\"auto, (max-width: 1590px) 100vw, 1590px\" \/>The tree in the CART provides a visual explanation for prediction. Moreover, it is a powerful tool to build expert systems for decision-making processes. It can induce robust rules despite noisy data and complex relationships between high numbers of features.<\/p>\n<p>CART can be applied in enhancing fraud detection in financial statements, generating consistent decision processes in equity and fixed-income selection, and simplifying the communication of investment strategies to clients.<\/p>\n<h2>5. Ensemble Learning and Random Forest<\/h2>\n<p>Ensemble learning is the technique of combining the predictions from a collection of models, whereas the combination of multiple learning algorithms is known as the ensemble method. Ensemble learning produces more accurate and more stable predictions than any other single model typically. Ensemble methods aim to decrease variance (bagging), decrease bias (boosting), and improve predictions (stacking).<\/p>\n<p>Ensemble learning can be divided into two main categories:<\/p>\n<ul>\n<li data-tadv-p=\"keep\"><strong>A homogeneous ensemble <\/strong>is a combination of the same algorithm, using different training data that are based on say a bootstrap aggregating technique.<\/li>\n<li data-tadv-p=\"keep\"><strong>A heterogeneous ensemble<\/strong> entails different types of algorithms combined with a voting classifier.<\/li>\n<\/ul>\n<h3>5.1. Voting Classifiers<\/h3>\n<p>Voting works by first creating two or more individual ML models from your training data set. A voting classifier is then used to combine results of the models and average predictions of the sub-models when tasked to make predictions for new data. A majority-vote classifier can also be used to assign to a new data point the predicted label with the most votes.<\/p>\n<p>It is crucial to look for diversity in the choice of algorithms, modeling techniques, and hypotheses to mitigate the risk of overfitting.<\/p>\n<h3>5.2. Bootstrap Aggregating<\/h3>\n<p>Bootstrap aggregation, also known as bagging, involves taking multiple samples from the training dataset with replacement and training the algorithm. The final output prediction is obtained by aggregating the <em>n<\/em> predictions using a majority-vote classifier for classification or an average for a regression. Bagging improves the stability of predictions and protects against overfitting the model.<\/p>\n<h3>5.3. Random Forest<\/h3>\n<p>Random forest, like its name suggests, comprises of a large number of individual decision trees that operate as an ensemble. Training dataset samples are taken with replacement, but the trees are constructed in a way that reduces the correlation between individual classifiers. The fundamental concept here is that a large number of arguably uncorrelated models or trees operating as a group outperform any of the individual constituent models.<\/p>\n<p>A simple illustration of random forest is as follows:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14912\" src=\"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_5.jpg\" alt=\"Random Forest\" width=\"1590\" height=\"1390\" srcset=\"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_5.jpg 1590w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_5-300x262.jpg 300w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_5-1024x895.jpg 1024w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_5-768x671.jpg 768w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_5-1536x1343.jpg 1536w, https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_5-400x350.jpg 400w\" sizes=\"auto, (max-width: 1590px) 100vw, 1590px\" \/>The process involved in random forest reduces the risk of overfitting on the training data. It also reduces the ratio of noise to signal because errors cancel out across the collection of slightly different classification trees. However, a significant drawback of random forest is that it lacks the ease of interpretability of individual trees; as a result, it is considered a relatively black box-type algorithm.<\/p>\n<p>Random forest is a robust algorithm that can be applied in many investment aspects. For example, use in factor-based investment strategies for asset allocation and investment selection.<\/p>\n<blockquote>\n<h2>Question<\/h2>\n<p>An investment analyst wants to employ ML techniques to upgrade the way she selects her stock investments. She decides to employ machine learning to divide her investable universe of 2,000 stocks into 8 different groups, based on a wide variety of the most relevant financial and non-financial characteristics. The aim is to mitigate unintended portfolio concentration by selecting stocks from each of these distinct groups.<\/p>\n<p>Assuming she utilizes regularization in the ML technique, which of the following ML models is <em>least likely<\/em> appropriate?<\/p>\n<ol type=\"A\">\n<li>Regression tree with pruning<\/li>\n<li>LASSO with \\(\\lambda\\) equal to 0<\/li>\n<li>LASSO with \\(\\lambda\\) between 0.5 and 1<\/li>\n<h3>Solution<\/h3>\n<p><strong>The correct answer is B.<\/strong><\/p>\n<p>Recall that with LASSO, \\(\\lambda\\) is the penalty term. When the penalty term reduces to zero, there is no regularization, and the regression resembles an ordinary least squares (OLS) regression. Therefore, LASSO with \\(\\lambda\\) equal to 0 will be the least appropriate.<\/p>\n<p><strong>A is incorrect. <\/strong>One way of regularization in a decision tree or CART is through pruning. Pruning reduces the size of the regression tree\u2014sections that provide little explanatory power are eliminated or pruned.<\/p>\n<p><strong>C is incorrect.<\/strong>\u00a0LASSO with \\(\\lambda\\) between 0.5 and implies a reasonably significant penalty term. It, therefore, requires that a feature makes an adequate contribution to model fit to offset the penalty from including it in the model.<\/p>\n<\/blockquote>\n<p>Reading 6: Machine Learning<\/p>\n<p><em>LOS 6 (c) Describe supervised machine learning algorithms\u2014including penalized regression, support vector machine, k-nearest neighbor, classification and regression tree, ensemble learning, and random forest\u2014and determine the problems for which they are best suited<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>[vsw id=&#8221;JOpNoBlW_0Q&#8221; source=&#8221;youtube&#8221; width=&#8221;611&#8243; height=&#8221;344&#8243; autoplay=&#8221;no&#8221;] 1. Penalized Regression Penalized regression is a technique that is useful for reducing\/shrinking a large number of features to a manageable set and for making good predictions in a variety of large data sets&#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,230,257],"class_list":["post-12098","post","type-post","status-publish","format-standard","hentry","category-cfa-level-2","category-quantitative-method","tag-cfa-level-2","tag-quantitative-method","tag-supervised-machine-learning-algorithms","blog-post","no-post-thumbnail","animate"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Supervised Machine Learning Algorithms - CFA, FRM, and Actuarial Exams Study Notes<\/title>\n<meta name=\"description\" content=\"Classification and Regression Tree (CART), also known as a decision tree, is most commonly applied to binary classification or regression.\" \/>\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\/supervised-machine-learning-algorithms\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Supervised Machine Learning Algorithms - CFA, FRM, and Actuarial Exams Study Notes\" \/>\n<meta property=\"og:description\" content=\"Classification and Regression Tree (CART), also known as a decision tree, is most commonly applied to binary classification or regression.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/supervised-machine-learning-algorithms\/\" \/>\n<meta property=\"og:site_name\" content=\"CFA, FRM, and Actuarial Exams Study Notes\" \/>\n<meta property=\"article:published_time\" content=\"2021-03-07T04:14:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-02T14:51:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_16.jpg\" \/>\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=\"9 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\/supervised-machine-learning-algorithms\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/supervised-machine-learning-algorithms\/\"},\"author\":{\"name\":\"Irene R\",\"@id\":\"https:\/\/analystprep.com\/study-notes\/#\/schema\/person\/7002f30d8f174958802c1c30b167eaf5\"},\"headline\":\"Supervised Machine Learning Algorithms\",\"datePublished\":\"2021-03-07T04:14:31+00:00\",\"dateModified\":\"2024-04-02T14:51:31+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/supervised-machine-learning-algorithms\/\"},\"wordCount\":1679,\"image\":{\"@id\":\"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/supervised-machine-learning-algorithms\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_16.jpg\",\"keywords\":[\"CFA-level-2\",\"Quantitative Method\",\"Supervised Machine Learning Algorithms\"],\"articleSection\":[\"CFA Level II Study Notes\",\"Quantitative Method\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/supervised-machine-learning-algorithms\/\",\"url\":\"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/supervised-machine-learning-algorithms\/\",\"name\":\"Supervised Machine Learning Algorithms - 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\/supervised-machine-learning-algorithms\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/supervised-machine-learning-algorithms\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_16.jpg\",\"datePublished\":\"2021-03-07T04:14:31+00:00\",\"dateModified\":\"2024-04-02T14:51:31+00:00\",\"author\":{\"@id\":\"https:\/\/analystprep.com\/study-notes\/#\/schema\/person\/7002f30d8f174958802c1c30b167eaf5\"},\"description\":\"Classification and Regression Tree (CART), also known as a decision tree, is most commonly applied to binary classification or regression.\",\"breadcrumb\":{\"@id\":\"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/supervised-machine-learning-algorithms\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/supervised-machine-learning-algorithms\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/supervised-machine-learning-algorithms\/#primaryimage\",\"url\":\"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_16.jpg\",\"contentUrl\":\"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_16.jpg\",\"width\":1590,\"height\":1080,\"caption\":\"Support Vector Machine\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/supervised-machine-learning-algorithms\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/analystprep.com\/study-notes\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Supervised Machine Learning Algorithms\"}]},{\"@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:\/\/analystprep.com\/study-notes\/#\/schema\/person\/image\/\",\"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<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Supervised Machine Learning Algorithms - CFA, FRM, and Actuarial Exams Study Notes","description":"Classification and Regression Tree (CART), also known as a decision tree, is most commonly applied to binary classification or regression.","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\/supervised-machine-learning-algorithms\/","og_locale":"en_US","og_type":"article","og_title":"Supervised Machine Learning Algorithms - CFA, FRM, and Actuarial Exams Study Notes","og_description":"Classification and Regression Tree (CART), also known as a decision tree, is most commonly applied to binary classification or regression.","og_url":"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/supervised-machine-learning-algorithms\/","og_site_name":"CFA, FRM, and Actuarial Exams Study Notes","article_published_time":"2021-03-07T04:14:31+00:00","article_modified_time":"2024-04-02T14:51:31+00:00","og_image":[{"url":"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_16.jpg","type":"","width":"","height":""}],"author":"Irene R","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Irene R","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/supervised-machine-learning-algorithms\/#article","isPartOf":{"@id":"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/supervised-machine-learning-algorithms\/"},"author":{"name":"Irene R","@id":"https:\/\/analystprep.com\/study-notes\/#\/schema\/person\/7002f30d8f174958802c1c30b167eaf5"},"headline":"Supervised Machine Learning Algorithms","datePublished":"2021-03-07T04:14:31+00:00","dateModified":"2024-04-02T14:51:31+00:00","mainEntityOfPage":{"@id":"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/supervised-machine-learning-algorithms\/"},"wordCount":1679,"image":{"@id":"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/supervised-machine-learning-algorithms\/#primaryimage"},"thumbnailUrl":"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_16.jpg","keywords":["CFA-level-2","Quantitative Method","Supervised Machine Learning Algorithms"],"articleSection":["CFA Level II Study Notes","Quantitative Method"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/supervised-machine-learning-algorithms\/","url":"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/supervised-machine-learning-algorithms\/","name":"Supervised Machine Learning Algorithms - 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\/supervised-machine-learning-algorithms\/#primaryimage"},"image":{"@id":"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/supervised-machine-learning-algorithms\/#primaryimage"},"thumbnailUrl":"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_16.jpg","datePublished":"2021-03-07T04:14:31+00:00","dateModified":"2024-04-02T14:51:31+00:00","author":{"@id":"https:\/\/analystprep.com\/study-notes\/#\/schema\/person\/7002f30d8f174958802c1c30b167eaf5"},"description":"Classification and Regression Tree (CART), also known as a decision tree, is most commonly applied to binary classification or regression.","breadcrumb":{"@id":"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/supervised-machine-learning-algorithms\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/analystprep.com\/study-notes\/cfa-level-2\/supervised-machine-learning-algorithms\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/supervised-machine-learning-algorithms\/#primaryimage","url":"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_16.jpg","contentUrl":"https:\/\/analystprep.com\/study-notes\/wp-content\/uploads\/2021\/03\/Img_16.jpg","width":1590,"height":1080,"caption":"Support Vector Machine"},{"@type":"BreadcrumbList","@id":"https:\/\/analystprep.com\/study-notes\/cfa-level-2\/supervised-machine-learning-algorithms\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/analystprep.com\/study-notes\/"},{"@type":"ListItem","position":2,"name":"Supervised Machine Learning Algorithms"}]},{"@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:\/\/analystprep.com\/study-notes\/#\/schema\/person\/image\/","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\/"}]}},"_links":{"self":[{"href":"https:\/\/analystprep.com\/study-notes\/wp-json\/wp\/v2\/posts\/12098","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=12098"}],"version-history":[{"count":25,"href":"https:\/\/analystprep.com\/study-notes\/wp-json\/wp\/v2\/posts\/12098\/revisions"}],"predecessor-version":[{"id":37543,"href":"https:\/\/analystprep.com\/study-notes\/wp-json\/wp\/v2\/posts\/12098\/revisions\/37543"}],"wp:attachment":[{"href":"https:\/\/analystprep.com\/study-notes\/wp-json\/wp\/v2\/media?parent=12098"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/analystprep.com\/study-notes\/wp-json\/wp\/v2\/categories?post=12098"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/analystprep.com\/study-notes\/wp-json\/wp\/v2\/tags?post=12098"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}