{"id":86356,"date":"2022-11-29T11:30:57","date_gmt":"2022-11-29T06:00:57","guid":{"rendered":"https:\/\/techvidvan.com\/tutorials\/?p=86356"},"modified":"2026-06-03T15:06:24","modified_gmt":"2026-06-03T09:36:24","slug":"customer-churn-prediction-with-machine-learning","status":"publish","type":"post","link":"https:\/\/techvidvan.com\/tutorials\/customer-churn-prediction-with-machine-learning\/","title":{"rendered":"Customer Churn Prediction with Machine Learning"},"content":{"rendered":"<p>With this Machine Learning Project, we develop a customer churn analysis. We use Random Forest Classifier, xgboost in this ml project. So, let\u2019s build this system.<\/p>\n<h3>Customer Churn<\/h3>\n<p>One of the key sectors in developed nations is now telecommunications. The degree of competition increased due to both technological advancement and increased operators. Businesses are putting a lot of effort into surviving in this cutthroat market by utilizing various techniques. To increase revenue, three basic ideas have been put forth:<\/p>\n<p>(1) Obtain new clients,<br \/>\n(2) upsell to current clients, and<br \/>\n(3) lengthen consumer retention times.<\/p>\n<p>The third strategy, which proves that keeping an existing customer costs much less than acquiring a new one and is also thought to be much easier than the upselling strategy, is, however, the most profitable strategy when comparing these strategies while taking the value of return on investment (RoI) of each into account. Companies must lower the likelihood of customer churn, also referred to as &#8220;the consumer transfer from one provider to another,&#8221; in order to implement the third method.<\/p>\n<p>A customer loss is directly related to the loss of the company\u2019s profit. Customer loyalty and loss are closely related concepts. Price reductions are not the only approach to increasing consumer loyalty, there are other things that the company has to take care of if they don\u2019t want to lose customers. To maintain repeat business, it is important to provide additional value-added services to the products to increase the sales of that products.<\/p>\n<p>Customer churn research aims to identify customers who are likely to leave and estimate the cost of winning them back. The definition of churn is a crucial component of the analysis. Making a definition might be exceedingly challenging in some situations. For instance, a credit card holder can easily switch to using a credit card from a different bank without cancelling their present card. In this particular instance, the client&#8217;s loss can be understood by considering a decrease in expenditures.<\/p>\n<p>For businesses that are inclined to lose consumers quickly, customer loss is a serious issue. Examples include banks, insurance businesses, and telecommunications firms (Lazarov, 2007).<\/p>\n<p>In highly competitive service sectors, customer churn is a significant problem. On the other hand, identifying the clients who are most likely to quit the business might represent a sizable new revenue source. Numerous studies have shown that machine learning technology effectively predicts this circumstance. It involves learning from prior data to apply this method.<\/p>\n<h3>Random Forest<\/h3>\n<p>Random forests are made up of trees whose values are determined by the same random vector which is also collected randomly. For forests, the generalization error converges as the number of trees in the forest increases. The strength of each individual tree in the forest and the correlation between them determine the generalization error of a forest of tree classifiers. Each node is split using a random selection of features, producing error rates comparable to Adaboost but more resilient to noise.<\/p>\n<p>A large number of decision trees are built during the training phase of the random forest or random decision forest. Most trees choose the output of the random forest for classification problems. The mean or average prediction of each individual tree is returned for regression tasks. The tendency of decision trees to overfit their training set is corrected by random decision forests. Although they frequently outperform decision trees, random forests are less accurate than gradient-boosted trees. However, their effectiveness may be impacted by data peculiarities.<\/p>\n<p>Apparently, to gauge each variable&#8217;s predictive power, random forests additionally build a different variable important measure using the OOB samples. The OOB samples are transmitted down the bth tree as it grows, and the prediction accuracy is noted. The accuracy is then calculated again after the t values for the jth variable that have been randomly permuted in the OOB samples. The average accuracy loss, brought on by this permuting, is applied to all trees to determine the significance of variable j in the random forest. The relevance in the right plot is more evenly distributed throughout the variables, despite the similarity in ranks between the two methods. Similar to setting a coefficient to zero in a linear model, randomization essentially eliminates the effect of a variable. Because other variables might be used as a hold if the model were updated without the variable.<\/p>\n<h3>XGBoost<\/h3>\n<p>The gradient boosting technique has been scaled and enhanced, and the result is eXtreme Gradient Boosting (XGBoost), which was created for effectiveness, computational speed, and model performance. It belongs to the Distributed Machine Learning Community and is an open-source library.<\/p>\n<p>The software and hardware features of XGBoost are the ideal combination for enhancing current boosting methods accurately and quickly. Here is a quick comparison of XGBoost and various gradient-boosting algorithms using an objective benchmark trained on a random forest with 500 trees. Generally boosting means improving performance.<\/p>\n<p>A weak hypothesis or weak learners are turned into strong learners using the sequential ensemble learning technique known as &#8220;boosting&#8221; in machine learning. This increases the model&#8217;s accuracy. By using a straightforward classification example\u2014classifying a Twitter account as a Bot or Human using underlying rules\u2014we can see why boosting is necessary.<\/p>\n<h3>Project Prerequisites<\/h3>\n<p>The requirement for this project is Python 3.6 installed on your computer. I have used Jupyter notebook for this project. You can use whatever you want.<br \/>\nThe required modules for this project are &#8211;<\/p>\n<ol>\n<li>Numpy(1.22.4) &#8211; pip install numpy<\/li>\n<li>Sklearn(1.1.1) &#8211; pip install sklearn<\/li>\n<li>Pandas(1.5.0) &#8211; pip install pandas<\/li>\n<\/ol>\n<p>That\u2019s all we need for our project.<\/p>\n<h3>Customer Churn Prediction Project<\/h3>\n<p>Please download the source code and dataset for customer churn prediction project. you can download them from the following link: <a href=\"https:\/\/drive.google.com\/file\/d\/18gxT2Y-BYNl-87LevEYJIlod6NuBo6ez\/view?usp=drive_link\"><strong>Customer Churn Prediction Project<\/strong><\/a><\/p>\n<h3>Steps to Implement<\/h3>\n<p>1. Import the modules and all the libraries we would require in this project.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">import pandas as pd#importing the pandas library\r\nimport numpy as np#importing the numpy library\r\nimport seaborn as sns#importing the seaborn library\r\nimport matplotlib.pyplot as plt#importing the matplotlib library\r\n \r\nfrom sklearn.preprocessing import LabelEncoder#importing the label encode library\r\n \r\nimport xgboost as xgb#importing the xgboost library\r\nfrom sklearn.ensemble import RandomForestClassifier#importing the random forest classifier library\r\n \r\nfrom sklearn.model_selection import train_test_split#importing the train test split library\r\nfrom sklearn.preprocessing import StandardScaler#importing the standard scalar library\r\nfrom sklearn.metrics import accuracy_score, f1_score,confusion_matrix,classification_report#importing the confusion matrix and classification report library\r\n<\/pre>\n<p>2. Here, we read the dataset and create a function to process our dataset. Here we have used pandas to drop some unnecessary columns and create a new data frame with it.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">Here we are reading the dataset and we are creating a function to do some data processing on our dataset. Here we have used pandas to drop some unnecessary columns and then we are creating a new data frame with it.\r\n<\/pre>\n<p>3. We are giving color palettes to Germany, France, and Spain. We use the hashcodes to give the colors, and then we are giving the colors to the different countries.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">columns_pallete={\"Germany\": \"#F0E100\", \"France\": \"#01295F\", \"Spain\": \"#F17105\"}#taking some palette columns\r\ndataframe_palette=pd.DataFrame(columns_pallete.items(), columns=['Geography', 'Color'])#creating the palette dataframe\r\ndataframe_palette\r\n<\/pre>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2022\/11\/customer-churn-plot.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-86358\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2022\/11\/customer-churn-plot.png\" alt=\"customer churn plot\" width=\"968\" height=\"900\" \/><\/a><\/p>\n<p>4. We divide our dataset into X and Y, where x is the independent variable, whereas y is the dependent variable. Then we use the test train split function to divide the X and Y into training and testing datasets. We take the percentage of 75 and 25% for training and testing respectively. Here we have used a label encoder to assign a value to every, which will make it easier to process and work on the dataset. Then we use the XGB classifier and we pass our testing and training dataset to the classifier.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">dataframe_balanced=pd.DataFrame(dataframe['Exited'].value_counts(normalize=False))##taking some excited column columns\r\ndataframe_balanced=dataframe_balanced.reset_index().rename(columns = {'index':'Exited','Exited':'Count'})#creating the balanced dataframe\r\ndataframe_balanced\r\n \r\nlabel = LabelEncoder()#creating the label encoder\r\ndataframe['Geography']=label.fit_transform(dataframe['Geography'])\r\n<\/pre>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2022\/11\/ml-project-training-testing.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-86359\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2022\/11\/ml-project-training-testing.png\" alt=\"ml project training testing\" width=\"975\" height=\"897\" \/><\/a><\/p>\n<p>5. Here we are using the xgboost model and the accuracy of this model comes out to be 86.36%.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">label_encoder= dict(zip(le.classes_, le.transform(le.classes_)))\r\nlabel_encoder\r\nx_dataset = dataframe.drop(\"Exited\", axis=1)#creating the x dataset\r\ny_dataset = dataframe['Exited']#creating the y dataset\r\nX_train, X_test, y_train, y_test = train_test_split(x_dataset , y_dataset , test_size = 0.25, random_state = 1)\r\n \r\nxgb_model= xgb.XGBClassifier(gamma= 1.0,learning_rate= 0.15,max_depth= 7,\r\n                              n_estimators= 100)\r\nxgb_model.fit(X_train, y_train)#fitting the dataset into model\r\n \r\npred_values= xgb_model.predict(X_test)#predicting the testing values\r\nxgb_accuracy = accuracy_score(y_test, pred_values) * 100 #calcualting the accuracy of the model\r\nprint(\"The accuracy score is: \",xgb_accuracy )#printing the accuracy score\r\n<\/pre>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2022\/11\/customer-churn-accuracy.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-86360\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2022\/11\/customer-churn-accuracy.png\" alt=\"customer churn accuracy\" width=\"1628\" height=\"898\" \/><\/a><\/p>\n<p>6. Here we are trying the same dataset and trying it on some other algorithms. Then we are passing our testing and training dataset to the algorithm to it. Also, we are using Standard Scalar for fitting the data. Then we are evaluating it<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">standard_scalar= StandardScaler()\r\nx_train = standard_scalar.fit_transform(X_train)#creating the xtrain \r\nx_test = standard_scalar.transform(X_test)#creating the xtest \r\nrandom_forest= RandomForestClassifier(criterion ='gini', n_estimators=100,random_state = 10)#creating the model using sklearn\r\nrandom_forest.fit(x_train, y_train)#fitting the x and y value\r\n \r\npred_value= random_forest.predict(x_train)# Evaluating on Training set\r\n \r\naccuracy=accuracy_score(y_test, pred_value)*100 # Display accuracy score\r\nprint(\"The accuracy score is: \",random_forest)\r\n\r\n<\/pre>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2022\/11\/customer-churn-output.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-86361\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2022\/11\/customer-churn-output.png\" alt=\"customer churn output\" width=\"1160\" height=\"793\" \/><\/a><\/p>\n<h3>Summary<\/h3>\n<p>In this Machine Learning project, we did customer churn analysis. For this project, we have used Random Forest Classifier, xgboost. We hope you have learned something new in this project.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>With this Machine Learning Project, we develop a customer churn analysis. We use Random Forest Classifier, xgboost in this ml project. So, let\u2019s build this system. Customer Churn One of the key sectors in&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":86362,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[210],"tags":[4801,4802,4803,4804,204,205,3397],"class_list":["post-86356","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-machine-learning","tag-customer-churn-ml-project","tag-customer-churn-prediction","tag-customer-churn-prediction-machine-learning","tag-customer-churn-project","tag-machine-learning-project","tag-machine-learning-project-for-beginners","tag-ml-project"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Customer Churn Prediction with Machine Learning - TechVidvan<\/title>\n<meta name=\"description\" content=\"In this Machine Learning project, we develop customer churn analysis with the help of Random Forest Classifier, xgboost in Python\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/techvidvan.com\/tutorials\/customer-churn-prediction-with-machine-learning\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Customer Churn Prediction with Machine Learning - TechVidvan\" \/>\n<meta property=\"og:description\" content=\"In this Machine Learning project, we develop customer churn analysis with the help of Random Forest Classifier, xgboost in Python\" \/>\n<meta property=\"og:url\" content=\"https:\/\/techvidvan.com\/tutorials\/customer-churn-prediction-with-machine-learning\/\" \/>\n<meta property=\"og:site_name\" content=\"TechVidvan\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/TechVidvan\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-11-29T06:00:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-03T09:36:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2022\/11\/machine-learning-project-customer-churn-prediction.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"TechVidvan Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@vidvantech\" \/>\n<meta name=\"twitter:site\" content=\"@vidvantech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TechVidvan Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Customer Churn Prediction with Machine Learning - TechVidvan","description":"In this Machine Learning project, we develop customer churn analysis with the help of Random Forest Classifier, xgboost in Python","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:\/\/techvidvan.com\/tutorials\/customer-churn-prediction-with-machine-learning\/","og_locale":"en_US","og_type":"article","og_title":"Customer Churn Prediction with Machine Learning - TechVidvan","og_description":"In this Machine Learning project, we develop customer churn analysis with the help of Random Forest Classifier, xgboost in Python","og_url":"https:\/\/techvidvan.com\/tutorials\/customer-churn-prediction-with-machine-learning\/","og_site_name":"TechVidvan","article_publisher":"https:\/\/www.facebook.com\/TechVidvan\/","article_published_time":"2022-11-29T06:00:57+00:00","article_modified_time":"2026-06-03T09:36:24+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2022\/11\/machine-learning-project-customer-churn-prediction.webp","type":"image\/webp"}],"author":"TechVidvan Team","twitter_card":"summary_large_image","twitter_creator":"@vidvantech","twitter_site":"@vidvantech","twitter_misc":{"Written by":"TechVidvan Team","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/techvidvan.com\/tutorials\/customer-churn-prediction-with-machine-learning\/#article","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/customer-churn-prediction-with-machine-learning\/"},"author":{"name":"TechVidvan Team","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/person\/e9c26e74dd3d87421f7ada9433b8cd22"},"headline":"Customer Churn Prediction with Machine Learning","datePublished":"2022-11-29T06:00:57+00:00","dateModified":"2026-06-03T09:36:24+00:00","mainEntityOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/customer-churn-prediction-with-machine-learning\/"},"wordCount":1212,"commentCount":0,"publisher":{"@id":"https:\/\/techvidvan.com\/tutorials\/#organization"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/customer-churn-prediction-with-machine-learning\/#primaryimage"},"thumbnailUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2022\/11\/machine-learning-project-customer-churn-prediction.webp","keywords":["customer churn ml project","customer churn prediction","customer churn prediction machine learning","customer churn project","machine learning project","machine learning project for beginners","ML project"],"articleSection":["Machine Learning Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/techvidvan.com\/tutorials\/customer-churn-prediction-with-machine-learning\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/techvidvan.com\/tutorials\/customer-churn-prediction-with-machine-learning\/","url":"https:\/\/techvidvan.com\/tutorials\/customer-churn-prediction-with-machine-learning\/","name":"Customer Churn Prediction with Machine Learning - TechVidvan","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/customer-churn-prediction-with-machine-learning\/#primaryimage"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/customer-churn-prediction-with-machine-learning\/#primaryimage"},"thumbnailUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2022\/11\/machine-learning-project-customer-churn-prediction.webp","datePublished":"2022-11-29T06:00:57+00:00","dateModified":"2026-06-03T09:36:24+00:00","description":"In this Machine Learning project, we develop customer churn analysis with the help of Random Forest Classifier, xgboost in Python","breadcrumb":{"@id":"https:\/\/techvidvan.com\/tutorials\/customer-churn-prediction-with-machine-learning\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/techvidvan.com\/tutorials\/customer-churn-prediction-with-machine-learning\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techvidvan.com\/tutorials\/customer-churn-prediction-with-machine-learning\/#primaryimage","url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2022\/11\/machine-learning-project-customer-churn-prediction.webp","contentUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2022\/11\/machine-learning-project-customer-churn-prediction.webp","width":1200,"height":628,"caption":"machine learning project customer churn prediction"},{"@type":"BreadcrumbList","@id":"https:\/\/techvidvan.com\/tutorials\/customer-churn-prediction-with-machine-learning\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/techvidvan.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"Customer Churn Prediction with Machine Learning"}]},{"@type":"WebSite","@id":"https:\/\/techvidvan.com\/tutorials\/#website","url":"https:\/\/techvidvan.com\/tutorials\/","name":"TechVidvan Blogs","description":"","publisher":{"@id":"https:\/\/techvidvan.com\/tutorials\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/techvidvan.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/techvidvan.com\/tutorials\/#organization","name":"TechVidvan","url":"https:\/\/techvidvan.com\/tutorials\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/logo\/image\/","url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2024\/03\/techvidvan-logo-200x50-1.webp","contentUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2024\/03\/techvidvan-logo-200x50-1.webp","width":200,"height":50,"caption":"TechVidvan"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/TechVidvan\/","https:\/\/x.com\/vidvantech"]},{"@type":"Person","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/person\/e9c26e74dd3d87421f7ada9433b8cd22","name":"TechVidvan Team","description":"The TechVidvan Team delivers practical, beginner-friendly tutorials on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our experts are here to help you upskill and excel in today\u2019s tech industry."}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/86356","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/comments?post=86356"}],"version-history":[{"count":2,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/86356\/revisions"}],"predecessor-version":[{"id":448034,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/86356\/revisions\/448034"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/media\/86362"}],"wp:attachment":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/media?parent=86356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/categories?post=86356"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/tags?post=86356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}