{"id":81856,"date":"2025-07-19T17:48:27","date_gmt":"2025-07-19T12:18:27","guid":{"rendered":"https:\/\/www.guvi.in\/blog\/?p=81856"},"modified":"2025-10-10T15:59:48","modified_gmt":"2025-10-10T10:29:48","slug":"tutorial-on-decision-tree-in-data-science","status":"publish","type":"post","link":"https:\/\/www.guvi.in\/blog\/tutorial-on-decision-tree-in-data-science\/","title":{"rendered":"Decision Tree in Data Science: A Step-by-Step Tutorial"},"content":{"rendered":"\n<p>Data Science consists of different types of algorithms for various use cases. The most commonly used supervised learning algorithm is the Decision tree. This blog is a perfect guide to get started with decision trees in data science.<\/p>\n\n\n\n<p>In this blog, we will see the detailed description of the decision tree in data science, its application and uses, how it works, and implementation using Python. Let\u2019s get started!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is a Decision Tree in Data Science?<\/h2>\n\n\n\n<p>Decision Tree is a supervised learning algorithm in Data science. It follows a flowchart or tree branch-like pattern that helps in taking a series of decisions and their potential outcomes. Decision trees help solve classification and regression tasks.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Key Applications of Decision Trees in Data Science<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"630\" src=\"https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/Key-Applications-of-Decision-Tree-in-Data-Science@2x-1200x630.png\" alt=\"Key Applications of Decision Tree in Data Science\" class=\"wp-image-83507\" srcset=\"https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/Key-Applications-of-Decision-Tree-in-Data-Science@2x-1200x630.png 1200w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/Key-Applications-of-Decision-Tree-in-Data-Science@2x-300x158.png 300w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/Key-Applications-of-Decision-Tree-in-Data-Science@2x-768x403.png 768w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/Key-Applications-of-Decision-Tree-in-Data-Science@2x-1536x806.png 1536w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/Key-Applications-of-Decision-Tree-in-Data-Science@2x-2048x1075.png 2048w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/Key-Applications-of-Decision-Tree-in-Data-Science@2x-150x79.png 150w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" title=\"\"><\/figure>\n\n\n\n<p>Decision trees in data science are mainly useful in handling classification problems like classifying objects into distinct categories based on their features, and regression problems like predicting a continuous output based on one or more input variables. Some of the key applications of decision trees are:<\/p>\n\n\n\n<ul>\n<li><strong>Fraud Detection: <\/strong>It helps in detecting fraudulent transactions by analyzing patterns and identifying anomalies.<\/li>\n\n\n\n<li><strong>Credit Scoring: <\/strong>It calculates the credit scores and assesses the creditworthiness of loan applicants.<\/li>\n\n\n\n<li><strong>Product Recommendations:<\/strong> It is used to suggest products to customers based on their previous purchase history.<\/li>\n\n\n\n<li><strong>Diagnosis:<\/strong> It can assist doctors in diagnosing any disease and provide the result based on analyzing the patient data and medical history.<\/li>\n\n\n\n<li><strong>Inventory Management:<\/strong> It helps in tracking and managing the inventory by predicting sales trends and optimizing stock levels.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">How Decision Trees Work<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"630\" src=\"https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/How-Decision-Tree-Works@2x-1200x630.png\" alt=\"How Decision Tree Works\" class=\"wp-image-83504\" srcset=\"https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/How-Decision-Tree-Works@2x-1200x630.png 1200w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/How-Decision-Tree-Works@2x-300x158.png 300w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/How-Decision-Tree-Works@2x-768x403.png 768w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/How-Decision-Tree-Works@2x-1536x806.png 1536w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/How-Decision-Tree-Works@2x-2048x1075.png 2048w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/How-Decision-Tree-Works@2x-150x79.png 150w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" title=\"\"><\/figure>\n\n\n\n<p>This section covers the structure and key components of the decision tree and its working step by step. The structure of the decision tree is visualized in the form of a tree with its nodes, branches, and leaves. Some of the key components of the decision tree are:<\/p>\n\n\n\n<ul>\n<li><strong>Nodes:<\/strong> These are the building blocks or the data.\n<ul>\n<li><strong>Root Node:<\/strong> It represents the entire dataset and is present at the top of the tree.<\/li>\n\n\n\n<li><strong>Internal Nodes:<\/strong> They represent the features that help make decisions.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Branches:<\/strong> These are the lines that connect one or more nodes, indicating the flow of decisions.<\/li>\n\n\n\n<li><strong>Leaves (Terminal Nodes): <\/strong>These are the outcome of the series of decisions.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Working of Decision Tree<\/h3>\n\n\n\n<p>To understand the working of decision trees, let us consider the following example for a classification problem. The diagram below shows a decision tree to find whether a person is fit or not by taking a series of decisions. As a first step, let&#8217;s look at the given conditions.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"630\" src=\"https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/How-Decision-Tree-Works@2x-1-1200x630.png\" alt=\"How Decision Tree Works\" class=\"wp-image-83505\" srcset=\"https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/How-Decision-Tree-Works@2x-1-1200x630.png 1200w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/How-Decision-Tree-Works@2x-1-300x158.png 300w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/How-Decision-Tree-Works@2x-1-768x403.png 768w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/How-Decision-Tree-Works@2x-1-1536x806.png 1536w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/How-Decision-Tree-Works@2x-1-2048x1075.png 2048w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/How-Decision-Tree-Works@2x-1-150x79.png 150w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" title=\"\"><\/figure>\n\n\n\n<ul>\n<li>The first condition for a fit person is, they should be below 30 years old.<\/li>\n\n\n\n<li>The second condition is to check whether the person eats a lot of pizzas or exercises in the morning.<\/li>\n\n\n\n<li>Based on the two conditions, the decision tree will predict whether the person is fit or unfit.<\/li>\n<\/ul>\n\n\n\n<p><strong>Example 1:<\/strong> Let us consider a person who is 35 years old and does exercises in the morning. It follows the path below and predicts the person is Fit.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"630\" src=\"https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/Example-1@2x-1200x630.png\" alt=\"Example 1\" class=\"wp-image-83502\" srcset=\"https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/Example-1@2x-1200x630.png 1200w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/Example-1@2x-300x158.png 300w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/Example-1@2x-768x403.png 768w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/Example-1@2x-1536x806.png 1536w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/Example-1@2x-2048x1075.png 2048w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/Example-1@2x-150x79.png 150w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" title=\"\"><\/figure>\n\n\n\n<p><strong>Example 2:<\/strong> Let us consider a person who is 28 years old and eats lots of pizzas. It follows the path below and predicts that the person is unfit.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"630\" src=\"https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/Example-2@2x-1200x630.png\" alt=\"Example 2\" class=\"wp-image-83503\" srcset=\"https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/Example-2@2x-1200x630.png 1200w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/Example-2@2x-300x158.png 300w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/Example-2@2x-768x403.png 768w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/Example-2@2x-1536x806.png 1536w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/Example-2@2x-2048x1075.png 2048w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/Example-2@2x-150x79.png 150w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" title=\"\"><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Implementing Decision Trees in Data Science: Step-by-Step<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" width=\"1200\" height=\"630\" src=\"https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/Implementing-Decision-Tree-in-Data-Science@2x-1200x630.png\" alt=\"Implementing Decision Tree in Data Science\" class=\"wp-image-83506\" style=\"aspect-ratio:1.9047619047619047;width:840px;height:auto\" srcset=\"https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/Implementing-Decision-Tree-in-Data-Science@2x-1200x630.png 1200w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/Implementing-Decision-Tree-in-Data-Science@2x-300x158.png 300w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/Implementing-Decision-Tree-in-Data-Science@2x-768x403.png 768w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/Implementing-Decision-Tree-in-Data-Science@2x-1536x806.png 1536w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/Implementing-Decision-Tree-in-Data-Science@2x-2048x1075.png 2048w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/Implementing-Decision-Tree-in-Data-Science@2x-150x79.png 150w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" title=\"\"><\/figure>\n\n\n\n<p>In this section, we will see the implementation of a decision tree in data science using Python.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Import Libraries<\/h3>\n\n\n\n<p>For implementing a decision tree in Python, you need to import the decision tree model from scikit-learn, pandas for manipulating the data, and matplotlib for visualizing the data.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>from sklearn.tree import DecisionTreeClassifier, plot_tree<br>import pandas as pd<br>import matplotlib.pyplot as plt<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: Create \/ Import Dataset<\/h3>\n\n\n\n<p>The next step is to import the dataset into the code. For the above classification example to find whether the person is fit or not, we will create our sample dataset.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>data = {<br>&nbsp; &nbsp; &#8216;Age&#8217;: [35, 28, 25, 40, 29, 32],<br>&nbsp; &nbsp; &#8216;Eats_Pizza&#8217;: [0, 1, 1, 0, 0, 0],<br>&nbsp; &nbsp; &#8216;Exercises&#8217;: [1, 0, 1, 1, 0, 1],<br>&nbsp; &nbsp; &#8216;Fit&#8217;: [1, 0, 1, 1, 1, 1]<br>}<br><br>df = pd.DataFrame(data)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: Define Features and Label<\/h3>\n\n\n\n<p>The third step is to define the necessary input features that help predict the outcome. The label represents the output column.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>X = df[[&#8216;Age&#8217;, &#8216;Eats_Pizza&#8217;, &#8216;Exercises&#8217;]]<br>y = df[&#8216;Fit&#8217;]<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4: Train the Model<\/h3>\n\n\n\n<p>The fourth step is to train the decision tree model for the specific use cases. Here, we will train the decision tree for classification examples.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>clf = DecisionTreeClassifier(criterion=&#8217;entropy&#8217;)&nbsp; # or use &#8216;gini&#8217;<br>clf.fit(X, y)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 5: Visualize the data<\/h3>\n\n\n\n<p>The next step is visualization. This is an optional step, but it will help explain your code or thought processes to others and stakeholders. Here, it visualizes the decision tree to predict if a person is fit.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>plt.figure(figsize=(10, 6))<br>plot_tree(clf, feature_names=[&#8216;Age&#8217;, &#8216;Eats_Pizza&#8217;, &#8216;Exercises&#8217;], class_names=[&#8216;Unfit&#8217;, &#8216;Fit&#8217;], filled=True)<br>plt.title(&#8220;Decision Tree to Predict if a Person is Fit&#8221;)<br>plt.show()<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 6: Test the Example<\/h3>\n\n\n\n<p>The last step is to test the model to find whether it is providing the expected results or not. For the given problem, we will test the above examples 1 &amp; 2 and verify the predicted result. Here, the model will predict either 1 or 0. \u20181\u2019 represents the person is \u201cFit\u201d and \u20180\u2019 represents the person is \u201cUnfit\u201d.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td># Example 1: 35 years old, does exercise in the morning<br>example1 = [[35, 0, 1]]&nbsp; # Expected: Fit<br>print(&#8220;Example 1 Prediction (35 y\/o, exercises):&#8221;, &#8220;Fit&#8221; if clf.predict(example1)[0] == 1 else &#8220;Unfit&#8221;)<br><br># Example 2: 28 years old, eats a lot of pizzas<br>example2 = [[28, 1, 0]]&nbsp; # Expected: Unfit<br>print(&#8220;Example 2 Prediction (28 y\/o, eats pizza):&#8221;, &#8220;Fit&#8221; if clf.predict(example2)[0] == 1 else &#8220;Unfit&#8221;)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Getting started with HCL Guvi<\/h2>\n\n\n\n<p>To learn about each data science subject, you do not need to go and look for resources on the internet. We provide you with the best roadmap and a bootcamp course that covers all the necessary data science algorithms with detailed doubt-clearing sessions.<\/p>\n\n\n\n<p>Check out HCL Guvi\u2019s FREE E-book on <a href=\"https:\/\/www.guvi.in\/mlp\/data-science-ebook?utm_source=blog&amp;utm_medium=hyperlink&amp;utm_campaign=Decision+Tree+In+Data+Science\" target=\"_blank\" rel=\"noreferrer noopener\">Master the Art of Data Science &#8211; A Complete Guide<\/a>. It provides a detailed data science roadmap and guide to start your career in data science. This is a great way to start your career.\u00a0<\/p>\n\n\n\n<p>Incorporating emerging trends into data science will fuel the rapid growth of this field, unlocking countless opportunities for aspiring data scientists. If you&#8217;re ready to take advantage of this moment and launch your career, enroll in HCL Guvi\u2019s industry-recognized, certified <a href=\"https:\/\/www.guvi.in\/zen-class\/data-science-course\/?utm_source=blog&amp;utm_medium=hyperlink&amp;utm_campaign=Decision+Tree+In+Data+Science\" data-type=\"link\" data-id=\"https:\/\/www.guvi.in\/zen-class\/data-science-course\/?utm_source=blog&amp;utm_medium=hyperlink&amp;utm_campaign=Decision+Tree+In+Data+Science\" target=\"_blank\" rel=\"noreferrer noopener\">Data Science course<\/a> today.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>In this blog, we explored the structure, components, key applications, working, and step-by-step implementation of decision trees in data science using Python. By translating real-world logic into a model, we demonstrated how decision trees make predictions through clear, rule-based paths using a simple classification problem to predict whether a person is fit or unfit. Happy learning!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">FAQs<\/h2>\n\n\n<div id=\"rank-math-faq\" class=\"rank-math-block\">\n<div class=\"rank-math-list \">\n<div id=\"faq-question-1750324588793\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>Q1. Do I need coding for data science?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Yes, coding is an essential skill for data science. Being comfortable with coding is crucial for tasks like data manipulation, building machine learning models, and automating processes. <strong>Python<\/strong> and <strong>R<\/strong> are the most commonly used programming languages in data science, and they have extensive libraries to make your job easier.\u00a0<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1750324593188\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>Q2. Is DSA required for data science?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Yes, Data Structures and Algorithms (DSA) are important for data science, especially for machine learning and data engineering. DSA helps with data management, analysis, and problem solving. It can also help you write efficient code. You can expect DSA-based coding challenges during the interview.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1750324603690\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>Q3. Which language is best for data science?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>The most popular and widely used language for data science is <strong>Python<\/strong>. It\u2019s beginner-friendly, has a rich ecosystem of libraries (like Pandas, NumPy), and is great for tasks like data cleaning, analysis, and machine learning. For those working on large-scale systems, <strong><a href=\"https:\/\/www.scala-lang.org\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Scala<\/a><\/strong> and <strong><a href=\"https:\/\/julialang.org\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Julia<\/a><\/strong> are gaining popularity as well, especially for machine learning and high-performance tasks.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1750324613974\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>Q4. What industries hire data scientists?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Data scientists are in demand everywhere, from tech giants like Google and Amazon to healthcare, finance, retail, and entertainment. Almost every industry is tapping into data to drive smarter decisions.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1750324626029\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>Q5. Is data science a good career for freshers<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Absolutely! With the booming demand for data-driven insights, freshers with strong analytical skills and a passion for learning can easily find opportunities and grow rapidly in the field.<\/p>\n\n<\/div>\n<\/div>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Data Science consists of different types of algorithms for various use cases. The most commonly used supervised learning algorithm is the Decision tree. This blog is a perfect guide to get started with decision trees in data science. In this blog, we will see the detailed description of the decision tree in data science, its [&hellip;]<\/p>\n","protected":false},"author":57,"featured_media":83501,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"views":"3468","authorinfo":{"name":"Roopa Dharshini","url":"https:\/\/www.guvi.in\/blog\/author\/roopa-dharshini\/"},"thumbnailURL":"https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/Decision-Tree-in-Data-Science-300x116.png","jetpack_featured_media_url":"https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/07\/Decision-Tree-in-Data-Science.png","_links":{"self":[{"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/posts\/81856"}],"collection":[{"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/users\/57"}],"replies":[{"embeddable":true,"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/comments?post=81856"}],"version-history":[{"count":12,"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/posts\/81856\/revisions"}],"predecessor-version":[{"id":105345,"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/posts\/81856\/revisions\/105345"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/media\/83501"}],"wp:attachment":[{"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/media?parent=81856"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/categories?post=81856"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/tags?post=81856"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}