

{"id":16969,"date":"2018-06-08T04:00:22","date_gmt":"2018-06-08T04:00:22","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=16969"},"modified":"2021-05-14T11:00:10","modified_gmt":"2021-05-14T05:30:10","slug":"embedding-in-tensorflow","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/embedding-in-tensorflow\/","title":{"rendered":"Embedding in TensorFlow | TensorBoard Embedding Projector"},"content":{"rendered":"<p><span style=\"font-weight: 400\">In this <strong>TensorFlow<\/strong> Embedding tutorial, we will be learning about the Embedding in TensorFlow &amp; also TensorFlow Embedding example. Moreover, we will look at TensorFlow Embedding Visualization example. <\/span><\/p>\n<p><span style=\"font-weight: 400\">Along with this, we will discuss TensorFlow Embedding Projector and metadata for Embedding in TensorFlow. At last. we will see how to create Embeddings in TensorFlow.<\/span><\/p>\n<p>So, let&#8217;s start embeddings in TensorFlow.<\/p>\n<h2><span style=\"font-weight: 400\">What is Embedding in TensorFlow?<\/span><\/h2>\n<p><span style=\"font-weight: 400\">An E<\/span>mbedding in TensorFlow\u00a0<span style=\"font-weight: 400\">defines as the mapping like the word to vector (<strong>word2vec<\/strong>) of real numbers. A TensorFlow embedding example below where a list of colors represents as vectors:<\/span><\/p>\n<p><span style=\"font-weight: 400\">Black: \u00a0(0.01359, 0.00075997, 0.24608, &#8230;, -0.2524, 1.0048, 0.06259)<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">Blues: \u00a0(0.01396, 0.11887, -0.48963, &#8230;, 0.033483, -0.10007, 0.1158)<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">Yellow: \u00a0(-0.24776, -0.12359, 0.20986, &#8230;, 0.079717, 0.23865, -0.014213)<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">Oranges: \u00a0(-0.35609, 0.21854, 0.080944, &#8230;, -0.35413, 0.38511, -0.070976)<\/span><\/p>\n<p><span style=\"font-weight: 400\">The dimensions in these kinds of vectors usually don\u2019t have any meaning, but the pattern of the matrix, as well as the location and distance between the vectors, contains some significant information that can be taken an advantage of.<\/span><\/p>\n<p><span style=\"font-weight: 400\">As you are already aware, the classifiers and neural networks use these vectors of real numbers in their regular computation dense vectors are used to train them the best way. But many times the data involved such as words of text, don\u2019t have a vector to be represented by. <\/span><\/p>\n<p><span style=\"font-weight: 400\">Therefore, you could make use of standard embedding functions that prove to be an effective way to transform such inputs into useful vectors.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Another example for embeddings in TensorFlow can be assumed to be the representation of Euclidean distance or the angle between vectors which are commonly used to find the nearest neighbors as shown below, the word and the respective angles:<\/span><\/p>\n<p><span style=\"font-weight: 400\"><strong>Black:<\/strong> \u00a0(red, 47.6\u00b0), (yellow, 51.9\u00b0), (purple, 52.4\u00b0)<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\"><strong>Blues:<\/strong> \u00a0(jazz, 53.3\u00b0), (folk, 59.1\u00b0), (bluegrass, 60.6\u00b0)<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\"><strong>Yellow:<\/strong> \u00a0(yellow, 53.5\u00b0), (colored, 58.0\u00b0), (bright, 59.9\u00b0)<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\"><strong>Oranges:<\/strong> \u00a0(apples, 45.3\u00b0), (lemons, 48.3\u00b0), (mangoes, 50.4\u00b0)<\/span><\/p>\n<h2><span style=\"font-weight: 400\">Creating Embedding in TensorFlow\u00a0<\/span><\/h2>\n<p><span style=\"font-weight: 400\">To create word embedding in TensorFlow, you start off by splitting the input text into words and then assigning an integer to every word. After that has been done, the <\/span><i><span style=\"font-weight: 400\">word_id<\/span><\/i><span style=\"font-weight: 400\"> become a vector of these integers. <\/span><\/p>\n<p><span style=\"font-weight: 400\">Let us take an example for embedding in TensorFlow, \u201cI love the dog.\u201d This could split into [\u201cI\u201d, \u201clove\u201d, \u201cthe\u201d, \u201cdog\u201d, \u201c.\u201d]. The <\/span><i><span style=\"font-weight: 400\">word_ids<\/span><\/i><span style=\"font-weight: 400\"> vector will now be of size [5] and will have 5 integers. <\/span><\/p>\n<p><span style=\"font-weight: 400\">Now, for mapping the word_ids into vectors, you will create an embedding variable and should use the <\/span><strong><i>tf.nn.embedding_lookup<\/i> function:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\">word_embeddings = tf.get_variable(\u201cword_embeddings\u201d,\r\n    [vocabulary_size, embedding_size])\r\nembedded_word_ids = tf.nn.embedding_lookup(word_embeddings, word_ids)<\/pre>\n<p><span style=\"font-weight: 400\">After which the word_ids will be of size [5, embedding_size] and will contain the representation for every word. <\/span><\/p>\n<h2><span style=\"font-weight: 400\">Visualizing TensorFlow Embeddings<\/span><\/h2>\n<p><span style=\"font-weight: 400\">For visualization of embeddings in TensorFlow, TensorBoard offers an <\/span><i><span style=\"font-weight: 400\">embedding projector<\/span><\/i><span style=\"font-weight: 400\">, a tool which lets you interactively visualize embeddings. The TensorFlow embedding projector consists of three panels:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400\"><i><span style=\"font-weight: 400\"><strong>Data panel<\/strong><\/span><\/i> &#8211; W<span style=\"font-weight: 400\">hich is used to run and color the data points.<\/span><\/li>\n<li style=\"font-weight: 400\"><i><span style=\"font-weight: 400\"><strong>Projections panel<\/strong><\/span><\/i> &#8211; W<span style=\"font-weight: 400\">hich is used to select the type of projection.<\/span><\/li>\n<li style=\"font-weight: 400\"><strong><i>Inspector panel<\/i><\/strong> &#8211; W<span style=\"font-weight: 400\">hich is used to search for specific points and look at nearest neighbors.<\/span><\/li>\n<\/ul>\n<h2><span style=\"font-weight: 400\">TensorFlow Embedding Projector<\/span><\/h2>\n<p><span style=\"font-weight: 400\">In this TensorFlow Embedding Projector tutorial, we saw that embedding projector reduces the dimensionality of the dataset in the following three ways:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400\"><strong><i>t-SNE<\/i><\/strong><span style=\"font-weight: 400\"><strong>:<\/strong>\u00a0An algorithm considered to be nondeterministic and on linear. It basically conserves the local neighborhoods in the data but affects the overall global structure.<\/span><\/li>\n<li style=\"font-weight: 400\"><strong><i>PCA<\/i><\/strong><span style=\"font-weight: 400\"><strong>:<\/strong>\u00a0A linear and deterministic algorithm as compared to t-SNE. It is responsible for holding information about the variability of data in the least dimensions possible while affecting the local neighbors. <\/span><\/li>\n<li style=\"font-weight: 400\"><strong><i>Custom<\/i><\/strong><span style=\"font-weight: 400\"><strong>:<\/strong>\u00a0A linear projection, projected onto a horizontal and a vertical axis. You can specify the axes by using the labels on your data. The projector then finds all the points whose label matches the assigned keyword and computes the centroid which use to define the axis.<\/span><\/li>\n<\/ul>\n<h2><span style=\"font-weight: 400\">Exploration of Embedding in TensorFlow\u00a0 \u00a0 \u00a0 \u00a0<\/span><\/h2>\n<p><span style=\"font-weight: 400\">You can visualize by zooming, rotating or panning the graph in any way you that suits you. Pointing the mouse over a point will tell the metadata associated with that point. Other options are clicking on a point which will list the nearest neighbors with distances up to the current point.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Users also have a choice to select some particular points and perform the operations listed above on these selected points. You can do that in multiple ways:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Click on a point, and select its nearest neighbors.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Search for a point and select the matching queries.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Clicking on a point and dragging can let you define a selection sphere.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400\">Follow these steps by selecting &#8220;Isolate <\/span><i><span style=\"font-weight: 400\">nnn<\/span><\/i><span style=\"font-weight: 400\"> points&#8221; button in the Inspector pane. The following image shows an example when select 101 points:<\/span><\/p>\n<div id=\"attachment_16975\" style=\"width: 754px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/points.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-16975\" class=\"wp-image-16975 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/points.png\" alt=\"embedding in tensorflow\" width=\"744\" height=\"494\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/points.png 744w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/points-150x100.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/points-300x199.png 300w\" sizes=\"auto, (max-width: 744px) 100vw, 744px\" \/><\/a><p id=\"caption-attachment-16975\" class=\"wp-caption-text\">Exploration of Embedding in TensorFlow<\/p><\/div>\n<p><strong>Tip:<\/strong> Always try to filter using custom projections. Given below, the result of filtering the nearest neighbors of the word \u201cpolitics\u201d, projected on the axes. The y-axis takes as random.<\/p>\n<div id=\"attachment_16974\" style=\"width: 1093px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/custom.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-16974\" class=\"wp-image-16974 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/custom.png\" alt=\"embedding in tensorflow\" width=\"1083\" height=\"433\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/custom.png 1083w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/custom-150x60.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/custom-300x120.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/custom-768x307.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/custom-1024x409.png 1024w\" sizes=\"auto, (max-width: 1083px) 100vw, 1083px\" \/><\/a><p id=\"caption-attachment-16974\" class=\"wp-caption-text\">Exploration of Embedding in TensorFlow- Filtering<\/p><\/div>\n<p><span style=\"font-weight: 400\">Use the bookmark panel to save the present state. The embedding projector will point to a cluster of one or more files, and will produce a panel as shown below:<\/span><\/p>\n<div id=\"attachment_16973\" style=\"width: 606px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/bkmrk.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-16973\" class=\"wp-image-16973 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/bkmrk.png\" alt=\"embedding in tensorflow\" width=\"596\" height=\"450\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/bkmrk.png 596w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/bkmrk-150x113.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/bkmrk-300x227.png 300w\" sizes=\"auto, (max-width: 596px) 100vw, 596px\" \/><\/a><p id=\"caption-attachment-16973\" class=\"wp-caption-text\">Exploration of Embedding in TensorFlow- Bookmark panel<\/p><\/div>\n<h2><span style=\"font-weight: 400\">How to Generate Metadata<\/span><\/h2>\n<p><span style=\"font-weight: 400\">You probably will add labels to your data points when working with embeddings in TensorFlow. You need to generate a metadata file which contains those labels and we can see in the data panel of the TensorFlow Embedding Projector.<\/span><\/p>\n<p><span style=\"font-weight: 400\">The metadata can either labels or images, which stores in a separate file. Tab-Separated Values (TSV) format should be chosen for labels. For example:<\/span><br \/>\n<b><br \/>\nWord<\/b><b>\\t<\/b><b>Frequency<\/b><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">Boat<\/span><span style=\"font-weight: 400\">\\t<\/span><span style=\"font-weight: 400\">345<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">Truck<\/span><span style=\"font-weight: 400\">\\t<\/span><span style=\"font-weight: 400\">241<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">&#8230; <\/span><\/p>\n<p><span style=\"font-weight: 400\">The (i+1) line in the metadata file corresponds to the i row of the variable. If the TSV file has a single column, there isn\u2019t a header row, each row corresponds the label of the embedding. The table looks something like the one given below:<\/span><\/p>\n<p><strong>Table of metadata in TensorFlow-<\/strong><\/p>\n<div id=\"attachment_16972\" style=\"width: 1100px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/table.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-16972\" class=\"wp-image-16972 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/table.png\" alt=\"embedding in tensorflow\" width=\"1090\" height=\"154\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/table.png 1090w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/table-150x21.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/table-300x42.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/table-768x109.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/table-1024x145.png 1024w\" sizes=\"auto, (max-width: 1090px) 100vw, 1090px\" \/><\/a><p id=\"caption-attachment-16972\" class=\"wp-caption-text\">TensorFlow Embeddings- Metadata table<\/p><\/div>\n<p>So, this was all about Embeddings in TensorFlow. Hope you like our explanation of TensorFlow and TensorBoard Embeddings.<\/p>\n<h2><span style=\"font-weight: 400\">Conclusion<\/span><\/h2>\n<p><span style=\"font-weight: 400\">Hence, in this TensorFlow Embedding tutorial, we saw what Embeddings in TensorFlow are and how to train an Embedding in TensorFlow. Along with this, we saw how one can view the Embeddings with TensorBoard Embedding Projector. <\/span><\/p>\n<p><span style=\"font-weight: 400\">Moreover, we saw the example of TensorFlow &amp; TensorBoard embedding. Next up is <strong>debugging in TensorFlow<\/strong>. Furthermore, if you have any query feel free to ask through the comment section.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this TensorFlow Embedding tutorial, we will be learning about the Embedding in TensorFlow &amp; also TensorFlow Embedding example. Moreover, we will look at TensorFlow Embedding Visualization example. Along with this, we will discuss&#46;&#46;&#46;<\/p>\n","protected":false},"author":6,"featured_media":16971,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[73],"tags":[4132,4134,8655,14512,14541,14542,14543],"class_list":["post-16969","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tensorflow","tag-embedding-projector-tutorial","tag-embeddings-in-tesnorflow","tag-metadata-in-tensorflow-embedding","tag-tensorboard-embedding-example","tag-tensorflow-embedding-example","tag-tensorflow-embedding-projector","tag-tensorflow-embedding-tutorial"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Embedding in TensorFlow | TensorBoard Embedding Projector - DataFlair<\/title>\n<meta name=\"description\" content=\"Embedding in TensorFlow Tutorial:embedding projector in Tensorflow,Tensorboard embedding example,TensorFlow embedding lookup,embedding visualization example\" \/>\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\/embedding-in-tensorflow\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Embedding in TensorFlow | TensorBoard Embedding Projector - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Embedding in TensorFlow Tutorial:embedding projector in Tensorflow,Tensorboard embedding example,TensorFlow embedding lookup,embedding visualization example\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/embedding-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-06-08T04:00:22+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-14T05:30:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/Embeddings-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=\"6 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Embedding in TensorFlow | TensorBoard Embedding Projector - DataFlair","description":"Embedding in TensorFlow Tutorial:embedding projector in Tensorflow,Tensorboard embedding example,TensorFlow embedding lookup,embedding visualization example","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\/embedding-in-tensorflow\/","og_locale":"en_US","og_type":"article","og_title":"Embedding in TensorFlow | TensorBoard Embedding Projector - DataFlair","og_description":"Embedding in TensorFlow Tutorial:embedding projector in Tensorflow,Tensorboard embedding example,TensorFlow embedding lookup,embedding visualization example","og_url":"https:\/\/data-flair.training\/blogs\/embedding-in-tensorflow\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2018-06-08T04:00:22+00:00","article_modified_time":"2021-05-14T05:30:10+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/Embeddings-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":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/embedding-in-tensorflow\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/embedding-in-tensorflow\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89"},"headline":"Embedding in TensorFlow | TensorBoard Embedding Projector","datePublished":"2018-06-08T04:00:22+00:00","dateModified":"2021-05-14T05:30:10+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/embedding-in-tensorflow\/"},"wordCount":1057,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/embedding-in-tensorflow\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/Embeddings-in-TensorFlow-01.jpg","keywords":["embedding projector tutorial","embeddings in TesnorFlow","Metadata in tensorFlow embedding","tensorboard embedding example","tensorflow embedding example","tensorflow embedding projector","tensorflow embedding tutorial"],"articleSection":["Tensorflow Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/embedding-in-tensorflow\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/embedding-in-tensorflow\/","url":"https:\/\/data-flair.training\/blogs\/embedding-in-tensorflow\/","name":"Embedding in TensorFlow | TensorBoard Embedding Projector - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/embedding-in-tensorflow\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/embedding-in-tensorflow\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/Embeddings-in-TensorFlow-01.jpg","datePublished":"2018-06-08T04:00:22+00:00","dateModified":"2021-05-14T05:30:10+00:00","description":"Embedding in TensorFlow Tutorial:embedding projector in Tensorflow,Tensorboard embedding example,TensorFlow embedding lookup,embedding visualization example","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/embedding-in-tensorflow\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/embedding-in-tensorflow\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/embedding-in-tensorflow\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/Embeddings-in-TensorFlow-01.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/05\/Embeddings-in-TensorFlow-01.jpg","width":1200,"height":628,"caption":"Embedding in TensorFlow"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/embedding-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":"Embedding in TensorFlow | TensorBoard Embedding Projector"}]},{"@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\/16969","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=16969"}],"version-history":[{"count":6,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/16969\/revisions"}],"predecessor-version":[{"id":94503,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/16969\/revisions\/94503"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/16971"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=16969"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=16969"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=16969"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}