

{"id":15119,"date":"2018-05-19T06:15:37","date_gmt":"2018-05-19T06:15:37","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=15119"},"modified":"2021-05-14T11:00:21","modified_gmt":"2021-05-14T05:30:21","slug":"mandelbrot-set-in-tensorflow","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/mandelbrot-set-in-tensorflow\/","title":{"rendered":"Mandelbrot Set In TensorFlow &#8211; Compute Quickly"},"content":{"rendered":"<p><span style=\"font-weight: 400\">Today, in this <strong>TensorFlow<\/strong> Tutorial, we will see TensorFlow Mandelbrot Set. We\u2019ll be visualizing the famous <em>Chaos Theory<\/em> Mandelbrot Set in TensorFlow. Moreover, in this TensorFlow Mandelbrot set. <\/span><\/p>\n<p><span style=\"font-weight: 400\">We will see the set up for Mandelbrot Set and session and variable initialization in TensorFlow. Along with this, we will also look at the what Mandelbrot set actually is and computation of Mandelbrot Set in TensorFlow with an example.<\/span><\/p>\n<p><span style=\"font-weight: 400\">So, let\u2019s begin TensorFlow Mandelbrot Set.<\/span><\/p>\n<h2><span style=\"font-weight: 400\">What is Mandelbrot Set?<\/span><\/h2>\n<p><span style=\"font-weight: 400\">According to <em>Wikipedia<\/em>, \u201cThe Mandelbrot set is a famous example of a fractal in mathematics. The Mandelbrot set is important for the chaos theory. The edging of the set shows a self-similarity, which is not perfect because it has deformations. <\/span><\/p>\n<p><span style=\"font-weight: 400\">The Mandelbrot set can be explained with the equation z<\/span><span style=\"font-weight: 400\">n+1<\/span><span style=\"font-weight: 400\"> = z<\/span><span style=\"font-weight: 400\">n<\/span><span style=\"font-weight: 400\">2<\/span><span style=\"font-weight: 400\"> + c. In that equation, c and z are complex numbers and n is zero or a positive integer (natural number). <\/span><\/p>\n<p><span style=\"font-weight: 400\">Starting with z<\/span><span style=\"font-weight: 400\">0<\/span><span style=\"font-weight: 400\">=0, c is in the Mandelbrot set if the absolute value of z<\/span><span style=\"font-weight: 400\">n<\/span><span style=\"font-weight: 400\"> never becomes larger than a certain number (that number depends on c), no matter how large n gets.&#8221;<\/span><\/p>\n<div id=\"attachment_15123\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/images-1-1.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-15123\" class=\"wp-image-15123 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/images-1-1.jpg\" alt=\"TensorFlow Mandelbrot Set\" width=\"600\" height=\"520\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/images-1-1.jpg 600w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/images-1-1-150x130.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/images-1-1-300x260.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><p id=\"caption-attachment-15123\" class=\"wp-caption-text\">TensorFlow Mandelbrot Set<\/p><\/div>\n<p><span style=\"font-weight: 400\">Visualizing the\u00a0set\u00a0has nothing to do with <strong>machine learning<\/strong>. It can be thought of as another TensorFlow example for mathematics. So, let&#8217;s learn how can we compute Mandelbrot set in TensorFlow.<\/span><\/p>\n<h2><span style=\"font-weight: 400\">Setup For Mandelbrot Set in TensorFlow<\/span><\/h2>\n<p><span style=\"font-weight: 400\">For Mandelbrot Set in TensorFlow, you&#8217;ll need a few imports to get started.<\/span><\/p>\n<pre class=\"EnlighterJSRAW\"># Import libraries for simulation\r\nimport tensorflow as tf\r\nimport numpy as np\r\n# Imports for visualization\r\nimport PIL.Image\r\nfrom io import BytesIO\r\nfrom IPython.display import Image, display\r\n<\/pre>\n<p>Now, define a function to actually display the image once you have iteration counts.<\/p>\n<pre class=\"EnlighterJSRAW\">def DisplayFractal(a, fmt='jpeg'):\r\n  \"\"\"Display an array of iteration counts as a\r\n     colorful picture of a fractal.\"\"\"\r\n  a_cyclic = (6.28*a\/20.0).reshape(list(a.shape)+[1])\r\n  img = np.concatenate([10+20*np.cos(a_cyclic),\r\n                        30+50*np.sin(a_cyclic),\r\n                        155-80*np.cos(a_cyclic)], 2)\r\n  img[a==a.max()] = 0\r\n  a = img\r\n  a = np.uint8(np.clip(a, 0, 255))\r\n  f = BytesIO()\r\n  PIL.Image.fromarray(a).save(f, fmt)\r\n  display(Image(data=f.getvalue()))\r\n<\/pre>\n<p>&nbsp;<\/p>\n<h2>Session &amp; Variable Initialization in Mandelbrot Set<\/h2>\n<p><span style=\"font-weight: 400\">Here an interactive session is used, but a regular session would work as well.<\/span><\/p>\n<pre class=\"EnlighterJSRAW\">sess = tf.InteractiveSession()<\/pre>\n<p><span style=\"font-weight: 400\">Introducing NumPy with Tensorflow<\/span><span style=\"font-weight: 400\">.<\/span><\/p>\n<pre class=\"EnlighterJSRAW\"># Use NumPy to create a 2D array of complex numbers\r\nY, X = np.mgrid[-1.3:1.3:0.005, -2:1:0.005]\r\nZ = X+1j*Y\r\n<\/pre>\n<p><span style=\"font-weight: 400\">I<\/span><span style=\"font-weight: 400\">nitializing TensorFlow tensors<\/span><span style=\"font-weight: 400\">.<\/span><\/p>\n<pre class=\"EnlighterJSRAW\">xs = tf.constant(Z.astype(np.complex64))\r\nzs = tf.Variable(xs)\r\nns = tf.Variable(tf.zeros_like(xs, tf.float32))\r\n<\/pre>\n<p><span style=\"font-weight: 400\">Now, as you already aware that TensorFlow requires you to explicitly declare variables before using them.<\/span><\/p>\n<pre class=\"EnlighterJSRAW\">tf.global_variables_initializer().run()<\/pre>\n<h2><span style=\"font-weight: 400\">Running Computation &#8211; TensorFlow Mandelbrot Set<\/span><\/h2>\n<p><span style=\"font-weight: 400\">Now, we specify more of the computation for Mandelbrot set in TensorFlow.<\/span><\/p>\n<pre class=\"EnlighterJSRAW\"># Compute the new values of z: z^2 + x\r\nzs_ = zs*zs + xs\r\n# Have we diverged with this new value?\r\nnot_diverged = tf.abs(zs_) &lt; 4\r\n# Operation to update the zs and the iteration count.\r\n#\r\n# Note: We keep computing zs after they diverge! This\r\n#       is very wasteful! There are better, if a little\r\n#       less simple, ways to do this.\r\n#\r\nstep = tf.group(\r\n  zs.assign(zs_),\r\n  ns.assign_add(tf.cast(not_diverged, tf.float32))\r\n  )\r\n<\/pre>\n<p>and we run it for a couple hundred iterations:<br \/>\n<strong>for i in range(200): step.run()<\/strong><span style=\"font-weight: 400\"><br \/>\n<\/span><br \/>\n<span style=\"font-weight: 400\">Then, displaying the result using:<\/span><br \/>\n<span style=\"font-weight: 400\">DisplayFractal<\/span><span style=\"font-weight: 400\">(ns.<\/span><span style=\"font-weight: 400\">eval<\/span><span style=\"font-weight: 400\">())<\/span><\/p>\n<div id=\"attachment_15122\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/m_s.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-15122\" class=\"wp-image-15122 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/m_s.jpg\" alt=\"Mandelbrot Set in TensorFlow- Running the Computation\" width=\"600\" height=\"520\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/m_s.jpg 600w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/m_s-150x130.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/m_s-300x260.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><p id=\"caption-attachment-15122\" class=\"wp-caption-text\">Mandelbrot Set in TensorFlow- Running the Computation<\/p><\/div>\n<p>So, this was all about Mandelbrot Set in TensorFlow. Hope you like and understand our explanation of computing Mandelbrot Set using TensorFlow.<\/p>\n<h2><span style=\"font-weight: 400\">Conclusion: TensorFlow Mandelbrot Set<\/span><\/h2>\n<p><span style=\"font-weight: 400\">Hence, we saw the concept of Mandelbrot Set in TensorFlow, just like the Mandelbrot Set solution. TensorFlow proves to be a great tool for visualizing and understanding not only machine learning concepts but complex mathematical functions including random processes and graph theory. <\/span><\/p>\n<p><span style=\"font-weight: 400\">At last, we discussed how to run the computation for TensorFlow Mandelbrot Set. Next up, is solving <strong>PDEs using TensorFlow<\/strong>. Furthermore, for any query regarding Mandelbrot Set in TensorFlow, feel free to ask in the comment section.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today, in this TensorFlow Tutorial, we will see TensorFlow Mandelbrot Set. We\u2019ll be visualizing the famous Chaos Theory Mandelbrot Set in TensorFlow. Moreover, in this TensorFlow Mandelbrot set. We will see the set up&#46;&#46;&#46;<\/p>\n","protected":false},"author":6,"featured_media":15120,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[73],"tags":[8508,8509,8510,14573,14609,14614],"class_list":["post-15119","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tensorflow","tag-mandelbrot-set","tag-mandelbrot-set-in-tensorflow","tag-mandelbrot-set-using-tensorflow","tag-tensorflow-mandelbrot-set","tag-tensorflow-tutorial-mnist","tag-tensorfow"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Mandelbrot Set In TensorFlow - Compute Quickly - DataFlair<\/title>\n<meta name=\"description\" content=\"Mandelbrot Set in TensorFlow:Tensorflow Mandelbrot Set,set up of Mandelbrot Set, compute Mandelbrot Set using TensorFlow, Session in Mandelbrot set tutorial\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/mandelbrot-set-in-tensorflow\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Mandelbrot Set In TensorFlow - Compute Quickly - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Mandelbrot Set in TensorFlow:Tensorflow Mandelbrot Set,set up of Mandelbrot Set, compute Mandelbrot Set using TensorFlow, Session in Mandelbrot set tutorial\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/mandelbrot-set-in-tensorflow\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-05-19T06:15:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-14T05:30:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/Mandelbrot-set-visualisation-in-TensorFlow-01.jpg\" \/>\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\/jpeg\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Mandelbrot Set In TensorFlow - Compute Quickly - DataFlair","description":"Mandelbrot Set in TensorFlow:Tensorflow Mandelbrot Set,set up of Mandelbrot Set, compute Mandelbrot Set using TensorFlow, Session in Mandelbrot set tutorial","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:\/\/data-flair.training\/blogs\/mandelbrot-set-in-tensorflow\/","og_locale":"en_US","og_type":"article","og_title":"Mandelbrot Set In TensorFlow - Compute Quickly - DataFlair","og_description":"Mandelbrot Set in TensorFlow:Tensorflow Mandelbrot Set,set up of Mandelbrot Set, compute Mandelbrot Set using TensorFlow, Session in Mandelbrot set tutorial","og_url":"https:\/\/data-flair.training\/blogs\/mandelbrot-set-in-tensorflow\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2018-05-19T06:15:37+00:00","article_modified_time":"2021-05-14T05:30:21+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/Mandelbrot-set-visualisation-in-TensorFlow-01.jpg","type":"image\/jpeg"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/mandelbrot-set-in-tensorflow\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/mandelbrot-set-in-tensorflow\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89"},"headline":"Mandelbrot Set In TensorFlow &#8211; Compute Quickly","datePublished":"2018-05-19T06:15:37+00:00","dateModified":"2021-05-14T05:30:21+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/mandelbrot-set-in-tensorflow\/"},"wordCount":477,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/mandelbrot-set-in-tensorflow\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/Mandelbrot-set-visualisation-in-TensorFlow-01.jpg","keywords":["Mandelbrot Set","Mandelbrot set in TensorFlow","Mandelbrot Set using TensorFlow","Tensorflow mandelbrot Set","TensorFlow tutorial mnist","Tensorfow"],"articleSection":["Tensorflow Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/mandelbrot-set-in-tensorflow\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/mandelbrot-set-in-tensorflow\/","url":"https:\/\/data-flair.training\/blogs\/mandelbrot-set-in-tensorflow\/","name":"Mandelbrot Set In TensorFlow - Compute Quickly - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/mandelbrot-set-in-tensorflow\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/mandelbrot-set-in-tensorflow\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/Mandelbrot-set-visualisation-in-TensorFlow-01.jpg","datePublished":"2018-05-19T06:15:37+00:00","dateModified":"2021-05-14T05:30:21+00:00","description":"Mandelbrot Set in TensorFlow:Tensorflow Mandelbrot Set,set up of Mandelbrot Set, compute Mandelbrot Set using TensorFlow, Session in Mandelbrot set tutorial","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/mandelbrot-set-in-tensorflow\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/mandelbrot-set-in-tensorflow\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/mandelbrot-set-in-tensorflow\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/Mandelbrot-set-visualisation-in-TensorFlow-01.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/Mandelbrot-set-visualisation-in-TensorFlow-01.jpg","width":1200,"height":628,"caption":"Mandelbrot Set Compute Quickly"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/mandelbrot-set-in-tensorflow\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"Tensorflow Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/tensorflow\/"},{"@type":"ListItem","position":3,"name":"Mandelbrot Set In TensorFlow &#8211; Compute Quickly"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"The DataFlair Team provides industry-driven content on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our expert educators focus on delivering value-packed, easy-to-follow resources for tech enthusiasts and professionals.","url":"https:\/\/data-flair.training\/blogs\/author\/dfteam2\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/15119","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=15119"}],"version-history":[{"count":5,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/15119\/revisions"}],"predecessor-version":[{"id":94994,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/15119\/revisions\/94994"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/15120"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=15119"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=15119"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=15119"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}