{"id":25528102,"date":"2022-06-12T02:59:11","date_gmt":"2022-06-11T21:29:11","guid":{"rendered":"https:\/\/entri.app\/blog\/?p=25528102"},"modified":"2022-11-23T12:54:45","modified_gmt":"2022-11-23T07:24:45","slug":"decision-trees-in-machine-learning-a-study","status":"publish","type":"post","link":"https:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/","title":{"rendered":"Decision Trees In Machine Learning- A Study"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_79_2 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69e9efbb2967e\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69e9efbb2967e\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/#Decision_Tree_Terminologies\" >Decision Tree Terminologies<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/#How_does_the_Decision_Tree_algorithm_Work\" >How does the Decision Tree algorithm Work?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/#How_can_an_algorithm_be_represented_as_a_tree\" >How can an algorithm be represented as a tree?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/#Attribute_Selection_Measures\" >Attribute Selection Measures<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/#Pruning_Getting_an_Optimal_Decision_tree\" >Pruning: Getting an Optimal Decision tree<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/#Advantages_of_the_Decision_Tree\" >Advantages of the Decision Tree<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/#Disadvantages_of_the_Decision_Tree\" >Disadvantages of the Decision Tree<\/a><\/li><\/ul><\/nav><\/div>\n<p>A tree has many analogies in real life, and turns out that it has influenced a wide area of\u00a0machine learning, covering both\u00a0classification and regression. In decision analysis, a decision tree can be used to visually and explicitly represent decisions and decision making. As the name goes, it uses a tree-like model of decisions. Though a commonly used tool in data mining for deriving a strategy to reach a particular goal, its also widely used in machine learning, which will be the main focus of this article.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Decision_Tree_Terminologies\"><\/span><strong>Decision Tree Terminologies<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><strong>Root Node:<\/strong>\u00a0Root node is from where the decision tree starts. It represents the entire dataset, which further gets divided into two or more homogeneous sets.<\/p>\n<p><strong>Leaf Node:<\/strong>\u00a0Leaf nodes are the final output node, and the tree cannot be segregated further after getting a leaf node.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Splitting:<\/strong>\u00a0Splitting is the process of dividing the decision node\/root node into sub-nodes according to the given conditions.<\/p>\n<p><strong>Branch\/Sub Tree:<\/strong>\u00a0A tree formed by splitting the tree.<\/p>\n<p><strong>Pruning:<\/strong>\u00a0Pruning is the process of removing the unwanted branches from the tree.<\/p>\n<p><strong>Parent\/Child node:<\/strong>\u00a0The root node of the tree is called the parent node, and other nodes are called the child nodes.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/bit.ly\/3ELmCiA\">Click here enroll in machine learning course in Entri app<\/a><\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_does_the_Decision_Tree_algorithm_Work\"><\/span><strong>How does the Decision Tree algorithm Work?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>In a decision tree, for predicting the class of the given dataset, the algorithm starts from the root node of the tree. This algorithm compares the values of root attribute with the record (real dataset) attribute and, based on the comparison, follows the branch and jumps to the next node.<\/p>\n<p>For the next node, the algorithm again compares the attribute value with the other sub-nodes and move further. It continues the process until it reaches the leaf node of the tree. The complete process can be better understood using the below algorithm:<\/p>\n<ul>\n<li><strong>Step-1:<\/strong>\u00a0Begin the tree with the root node, says S, which contains the complete dataset.<\/li>\n<li><strong>Step-2:<\/strong>\u00a0Find the best attribute in the dataset using\u00a0<strong>Attribute Selection Measure (ASM).<\/strong><\/li>\n<li><strong>Step-3:<\/strong>\u00a0Divide the S into subsets that contains possible values for the best attributes.<\/li>\n<li><strong>Step-4:<\/strong>\u00a0Generate the decision tree node, which contains the best attribute.<\/li>\n<li><strong>Step-5:<\/strong>\u00a0Recursively make new decision trees using the subsets of the dataset created in step -3. Continue this process until a stage is reached where you cannot further classify the nodes and called the final node as a leaf node.<\/li>\n<\/ul>\n<p><strong>Example:<\/strong>\u00a0Suppose there is a candidate who has a job offer and wants to decide whether he should accept the offer or Not. So, to solve this problem, the decision tree starts with the root node (Salary attribute by ASM). The root node splits further into the next decision node (distance from the office) and one leaf node based on the corresponding labels. The next decision node further gets split into one decision node (Cab facility) and one leaf node. Finally, the decision node splits into two leaf nodes (Accepted offers and Declined offer). Consider the below diagram:<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_can_an_algorithm_be_represented_as_a_tree\"><\/span><strong>How can an algorithm be represented as a tree?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>For this let\u2019s consider a very basic example that uses titanic data set for predicting whether a passenger will survive or not. Below model uses 3 features\/attributes\/columns from the data set, namely sex, age and sibsp (number of spouses or children along).<\/p>\n<p>A decision tree is drawn upside down with its root at the top.\u00a0In the image on the left, the bold text in black represents a condition\/<strong>internal node<\/strong>, based on which the tree splits into branches\/\u00a0<strong>edges<\/strong>. The end of the branch that doesn\u2019t split anymore is the decision\/<strong>leaf<\/strong>, in this case, whether the passenger died or survived, represented as red and green text respectively.<\/p>\n<p>Although, a real dataset will have a lot more features and this will just be a branch in a much bigger tree, but you can\u2019t ignore the simplicity of this algorithm. The\u00a0feature importance is clear\u00a0and relations can be viewed easily. This methodology is more commonly known as\u00a0learning decision tree from data\u00a0and above tree is called\u00a0Classification tree\u00a0as the target is to classify passenger as survived or died.\u00a0Regression trees\u00a0are represented in the same manner, just they predict continuous values like price of a house.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Attribute_Selection_Measures\"><\/span><strong>Attribute Selection Measures<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>While implementing a Decision tree, the main issue arises that how to select the best attribute for the root node and for sub-nodes. So, to solve such problems there is a technique which is called as\u00a0<strong>Attribute selection measure or ASM.\u00a0<\/strong>By this measurement, we can easily select the best attribute for the nodes of the tree. There are two popular techniques for ASM, which are:<\/p>\n<ul>\n<li><strong>Information Gain<\/strong><\/li>\n<li><strong>Gini Index<\/strong><\/li>\n<\/ul>\n<h3><strong>\u00a0Information Gain<\/strong><\/h3>\n<ul>\n<li>Information gain is the measurement of changes in entropy after the segmentation of a dataset based on an attribute.<\/li>\n<li>It calculates how much information a feature provides us about a class.<\/li>\n<li>According to the value of information gain, we split the node and build the decision tree.<\/li>\n<li>A decision tree algorithm always tries to maximize the value of information gain, and a node\/attribute having the highest information gain is split first. It can be calculated using the below formula:<\/li>\n<\/ul>\n<ol>\n<li>Information\u00a0Gain=\u00a0Entropy(S)-\u00a0[(Weighted\u00a0Avg)\u00a0*Entropy(each\u00a0feature)<\/li>\n<\/ol>\n<p><strong>Entropy:<\/strong>\u00a0Entropy is a metric to measure the impurity in a given attribute. It specifies randomness in data. Entropy can be calculated as:<\/p>\n<p>Entropy(s)= -P(yes)log2 P(yes)- P(no) log2 P(no)<\/p>\n<p><strong>Where,<\/strong><\/p>\n<ul>\n<li><strong>S= Total number of samples<\/strong><\/li>\n<li><strong>P(yes)= probability of yes<\/strong><\/li>\n<li><strong>P(no)= probability of no<\/strong><\/li>\n<\/ul>\n<h3><strong>Gini Index<\/strong><\/h3>\n<ul>\n<li>Gini index is a measure of impurity or purity used while creating a decision tree in the CART(Classification and Regression Tree) algorithm.<\/li>\n<li>An attribute with the low Gini index should be preferred as compared to the high Gini index.<\/li>\n<li>It only creates binary splits, and the CART algorithm uses the Gini index to create binary splits.<\/li>\n<li>Gini index can be calculated using the below formula:<\/li>\n<\/ul>\n<p>Gini Index= 1- \u2211<sub>j<\/sub>P<sub>j<\/sub><sup>2<\/sup><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Pruning_Getting_an_Optimal_Decision_tree\"><\/span><strong>Pruning: Getting an Optimal Decision tree<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Pruning is a process of deleting the unnecessary nodes from a tree in order to get the optimal decision tree.<\/p>\n<p>A too-large tree increases the risk of overfitting, and a small tree may not capture all the important features of the dataset. Therefore, a technique that decreases the size of the learning tree without reducing accuracy is known as Pruning. There are mainly two types of tree\u00a0<strong>pruning\u00a0<\/strong>technology used:<\/p>\n<ul>\n<li><strong>Cost Complexity Pruning<\/strong><\/li>\n<li><strong>Reduced Error Pruning.<\/strong><\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Advantages_of_the_Decision_Tree\"><\/span><strong>Advantages of the Decision Tree<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li>It is simple to understand as it follows the same process which a human follow while making any decision in real-life.<\/li>\n<li>It can be very useful for solving decision-related problems.<\/li>\n<li>It helps to think about all the possible outcomes for a problem.<\/li>\n<li>There is less requirement of data cleaning compared to other algorithms.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Disadvantages_of_the_Decision_Tree\"><\/span><strong>Disadvantages of the Decision Tree<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li>The decision tree contains lots of layers, which makes it complex.<\/li>\n<li>It may have an overfitting issue, which can be resolved using the\u00a0<strong>Random Forest algorithm.<\/strong><\/li>\n<li>For more class labels, the computational complexity of the decision tree may increase.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/bit.ly\/3ELmCiA\">Click here enroll in machine learning course in Entri app<\/a><\/p>\n<p style=\"text-align: center;\"><strong>Why is it important to choose Entri?<\/strong><\/p>\n<ul>\n<li>Excellent online platform for all the Competitive Exams.<\/li>\n<li>Provides updated materials created by the Entri Experts.<\/li>\n<li>Entri provides a best platform with full- length mock tests including previous year question papers.<\/li>\n<li>You can download the app for free and join the required classes.<\/li>\n<li>Entri wishes you all the best for your examinations and future endeavours.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><strong>\u201cYOU DON\u2019T HAVE TO BE GREAT TO START, BUT YOU HAVE TO START TO BE GREAT.\u201d<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A tree has many analogies in real life, and turns out that it has influenced a wide area of\u00a0machine learning, covering both\u00a0classification and regression. In decision analysis, a decision tree can be used to visually and explicitly represent decisions and decision making. As the name goes, it uses a tree-like model of decisions. Though a [&hellip;]<\/p>\n","protected":false},"author":55,"featured_media":25528104,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[802,558],"tags":[],"class_list":["post-25528102","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-articles","category-general-knowledge"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Decision Trees In Machine Learning- A Study - Entri Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Decision Trees In Machine Learning- A Study - Entri Blog\" \/>\n<meta property=\"og:description\" content=\"A tree has many analogies in real life, and turns out that it has influenced a wide area of\u00a0machine learning, covering both\u00a0classification and regression. In decision analysis, a decision tree can be used to visually and explicitly represent decisions and decision making. As the name goes, it uses a tree-like model of decisions. Though a [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/\" \/>\n<meta property=\"og:site_name\" content=\"Entri Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/entri.me\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-06-11T21:29:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-11-23T07:24:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/06\/Decision-Trees-In-Machine-Learning-A-Study.png\" \/>\n\t<meta property=\"og:image:width\" content=\"820\" \/>\n\t<meta property=\"og:image:height\" content=\"615\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Ayesha Surayya\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@entri_app\" \/>\n<meta name=\"twitter:site\" content=\"@entri_app\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ayesha Surayya\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/\"},\"author\":{\"name\":\"Ayesha Surayya\",\"@id\":\"https:\/\/entri.app\/blog\/#\/schema\/person\/568cc9d6e77fd5d01033b61c88343097\"},\"headline\":\"Decision Trees In Machine Learning- A Study\",\"datePublished\":\"2022-06-11T21:29:11+00:00\",\"dateModified\":\"2022-11-23T07:24:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/\"},\"wordCount\":1288,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/entri.app\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/06\/Decision-Trees-In-Machine-Learning-A-Study.png\",\"articleSection\":[\"Articles\",\"General Knowledge\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/\",\"url\":\"https:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/\",\"name\":\"Decision Trees In Machine Learning- A Study - Entri Blog\",\"isPartOf\":{\"@id\":\"https:\/\/entri.app\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/06\/Decision-Trees-In-Machine-Learning-A-Study.png\",\"datePublished\":\"2022-06-11T21:29:11+00:00\",\"dateModified\":\"2022-11-23T07:24:45+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/#primaryimage\",\"url\":\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/06\/Decision-Trees-In-Machine-Learning-A-Study.png\",\"contentUrl\":\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/06\/Decision-Trees-In-Machine-Learning-A-Study.png\",\"width\":820,\"height\":615,\"caption\":\"Decision Trees In Machine Learning- A Study\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/entri.app\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"General Knowledge\",\"item\":\"https:\/\/entri.app\/blog\/category\/general-knowledge\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Decision Trees In Machine Learning- A Study\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/entri.app\/blog\/#website\",\"url\":\"https:\/\/entri.app\/blog\/\",\"name\":\"Entri Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/entri.app\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/entri.app\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/entri.app\/blog\/#organization\",\"name\":\"Entri App\",\"url\":\"https:\/\/entri.app\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/entri.app\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2019\/10\/Entri-Logo-1.png\",\"contentUrl\":\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2019\/10\/Entri-Logo-1.png\",\"width\":989,\"height\":446,\"caption\":\"Entri App\"},\"image\":{\"@id\":\"https:\/\/entri.app\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/entri.me\/\",\"https:\/\/x.com\/entri_app\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/entri.app\/blog\/#\/schema\/person\/568cc9d6e77fd5d01033b61c88343097\",\"name\":\"Ayesha Surayya\",\"url\":\"https:\/\/entri.app\/blog\/author\/ayesha-surayya\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Decision Trees In Machine Learning- A Study - Entri Blog","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:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/","og_locale":"en_US","og_type":"article","og_title":"Decision Trees In Machine Learning- A Study - Entri Blog","og_description":"A tree has many analogies in real life, and turns out that it has influenced a wide area of\u00a0machine learning, covering both\u00a0classification and regression. In decision analysis, a decision tree can be used to visually and explicitly represent decisions and decision making. As the name goes, it uses a tree-like model of decisions. Though a [&hellip;]","og_url":"https:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/","og_site_name":"Entri Blog","article_publisher":"https:\/\/www.facebook.com\/entri.me\/","article_published_time":"2022-06-11T21:29:11+00:00","article_modified_time":"2022-11-23T07:24:45+00:00","og_image":[{"width":820,"height":615,"url":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/06\/Decision-Trees-In-Machine-Learning-A-Study.png","type":"image\/png"}],"author":"Ayesha Surayya","twitter_card":"summary_large_image","twitter_creator":"@entri_app","twitter_site":"@entri_app","twitter_misc":{"Written by":"Ayesha Surayya","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/#article","isPartOf":{"@id":"https:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/"},"author":{"name":"Ayesha Surayya","@id":"https:\/\/entri.app\/blog\/#\/schema\/person\/568cc9d6e77fd5d01033b61c88343097"},"headline":"Decision Trees In Machine Learning- A Study","datePublished":"2022-06-11T21:29:11+00:00","dateModified":"2022-11-23T07:24:45+00:00","mainEntityOfPage":{"@id":"https:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/"},"wordCount":1288,"commentCount":0,"publisher":{"@id":"https:\/\/entri.app\/blog\/#organization"},"image":{"@id":"https:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/#primaryimage"},"thumbnailUrl":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/06\/Decision-Trees-In-Machine-Learning-A-Study.png","articleSection":["Articles","General Knowledge"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/","url":"https:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/","name":"Decision Trees In Machine Learning- A Study - Entri Blog","isPartOf":{"@id":"https:\/\/entri.app\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/#primaryimage"},"image":{"@id":"https:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/#primaryimage"},"thumbnailUrl":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/06\/Decision-Trees-In-Machine-Learning-A-Study.png","datePublished":"2022-06-11T21:29:11+00:00","dateModified":"2022-11-23T07:24:45+00:00","breadcrumb":{"@id":"https:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/#primaryimage","url":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/06\/Decision-Trees-In-Machine-Learning-A-Study.png","contentUrl":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/06\/Decision-Trees-In-Machine-Learning-A-Study.png","width":820,"height":615,"caption":"Decision Trees In Machine Learning- A Study"},{"@type":"BreadcrumbList","@id":"https:\/\/entri.app\/blog\/decision-trees-in-machine-learning-a-study\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/entri.app\/blog\/"},{"@type":"ListItem","position":2,"name":"General Knowledge","item":"https:\/\/entri.app\/blog\/category\/general-knowledge\/"},{"@type":"ListItem","position":3,"name":"Decision Trees In Machine Learning- A Study"}]},{"@type":"WebSite","@id":"https:\/\/entri.app\/blog\/#website","url":"https:\/\/entri.app\/blog\/","name":"Entri Blog","description":"","publisher":{"@id":"https:\/\/entri.app\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/entri.app\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/entri.app\/blog\/#organization","name":"Entri App","url":"https:\/\/entri.app\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/entri.app\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2019\/10\/Entri-Logo-1.png","contentUrl":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2019\/10\/Entri-Logo-1.png","width":989,"height":446,"caption":"Entri App"},"image":{"@id":"https:\/\/entri.app\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/entri.me\/","https:\/\/x.com\/entri_app"]},{"@type":"Person","@id":"https:\/\/entri.app\/blog\/#\/schema\/person\/568cc9d6e77fd5d01033b61c88343097","name":"Ayesha Surayya","url":"https:\/\/entri.app\/blog\/author\/ayesha-surayya\/"}]}},"_links":{"self":[{"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/posts\/25528102","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/users\/55"}],"replies":[{"embeddable":true,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/comments?post=25528102"}],"version-history":[{"count":4,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/posts\/25528102\/revisions"}],"predecessor-version":[{"id":25547943,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/posts\/25528102\/revisions\/25547943"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/media\/25528104"}],"wp:attachment":[{"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/media?parent=25528102"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/categories?post=25528102"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/tags?post=25528102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}