

{"id":77663,"date":"2020-04-27T13:00:07","date_gmt":"2020-04-27T07:30:07","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=77663"},"modified":"2021-08-25T13:55:17","modified_gmt":"2021-08-25T08:25:17","slug":"keras-deep-learning","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/keras-deep-learning\/","title":{"rendered":"Deep Learning with Keras Implementation and Example"},"content":{"rendered":"<p>Welcome back to <strong>DataFlair Keras Tutorial series.\u00a0<\/strong>In this Keras tutorial, we will walk through <strong>deep learning with keras<\/strong> and an important <strong>deep learning algorithm used in keras.\u00a0<\/strong>We will study the applications of this algorithm and also its implementation in Keras.<\/p>\n<p>Deep Learning is a subset of machine learning which concerns the algorithms inspired by the architecture of the brain. In the last decade, there have been many major developments to support deep learning research. Keras is the result of one of these recent developments which allow us to define and create neural network models in a few lines of code.<\/p>\n<p>There has been a boom in the research of <strong>Deep Learning algorithms<\/strong>. Keras ensures the ease of users to create these algorithms.<\/p>\n<p>But before we begin with Tensorflow Keras Deep learning article, let us do <a href=\"https:\/\/data-flair.training\/blogs\/install-keras-on-linux-windows\/\">keras installation.<\/a><\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/04\/deep-learning-with-keras.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-77664\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/04\/deep-learning-with-keras.jpg\" alt=\"deep learning with keras\" width=\"802\" height=\"420\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/04\/deep-learning-with-keras.jpg 802w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/04\/deep-learning-with-keras-150x79.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/04\/deep-learning-with-keras-300x157.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/04\/deep-learning-with-keras-768x402.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/04\/deep-learning-with-keras-520x272.jpg 520w\" sizes=\"auto, (max-width: 802px) 100vw, 802px\" \/><\/a><\/p>\n<h3>Popular Algorithms for Deep Learning with Keras<\/h3>\n<p>Below are mentioned some of the <strong>popular algorithms in deep learning:<\/strong><\/p>\n<ul>\n<li>Auto-Encoders<\/li>\n<li>Convolution Neural Nets<\/li>\n<li>Recurrent Neural Nets<\/li>\n<li>Long Short Term Memory Nets<\/li>\n<li>Deep Boltzmann Machine(DBM)<\/li>\n<li>Deep Belief Nets(DBN)<\/li>\n<\/ul>\n<p>There are implementations of <strong>convolution neural nets, recurrent neural nets, and LSTM<\/strong> in our previous articles.<\/p>\n<p>Here we will take a tour of <strong>Auto Encoders algorithm of deep learning.<\/strong><\/p>\n<h3>Auto-Encoders<\/h3>\n<p>These types of neural networks are able to compress the input data and reconstruct it again. These are very old deep learning algorithms. It encodes the input upto a bottleneck layer and then decodes it to get the input back. At the bottleneck layer, we get a compressed form of input.<\/p>\n<p><strong>Anomaly detection and denoising an image<\/strong> are a few of the major applications of Auto-Encoders.<\/p>\n<h3>Types of Auto-Encoders<\/h3>\n<p>There are seven types of deep learning auto encoders as mentioned below:<\/p>\n<ul>\n<li>Denoising autoencoders<\/li>\n<li>Deep autoencoders<\/li>\n<li>Sparse autoencoders<\/li>\n<li>Contractive autoencoders<\/li>\n<li>Convolutional autoencoders<\/li>\n<li>Variational autoencoders<\/li>\n<li>Undercomplete autoencoders<\/li>\n<\/ul>\n<p>For our study, we will create a Denoising autoencoder.<\/p>\n<h3>Implementation of Denoising Auto-encoder in Keras<\/h3>\n<p>For the purpose of its implementation in Keras, we will work on MNIST handwritten digit dataset.<\/p>\n<p>Firstly, we will introduce some noise in the MNIST images. Then we will create an <a href=\"https:\/\/www.deeplearningbook.org\/contents\/autoencoders.html\">Auto &#8211; Encoder<\/a> for removing noise from the images and reconstruct the original images.<\/p>\n<p><strong>1. Import required modules<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import numpy as np\r\nimport matplotlib.pyplot as plt\r\nfrom keras.datasets import mnist\r\nfrom keras.layers import Input,Dense,Conv2D,MaxPooling2D,UpSampling2D\r\n\r\nfrom keras.models import Model\r\nfrom keras import backend as K<\/pre>\n<p><strong>2. Load MNIST images from datasets module of keras<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">from keras.datasets import mnist\r\n(x_train,y_train),(x_test,y_test)=mnist.load_data()<\/pre>\n<p><strong>3. Convert dataset in range of 0 to 1<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">x_train=x_train.astype('float32')\/255\r\nx_test=x_test.astype('float32')\/255\r\n\r\n\r\nx_train=np.reshape(x_train,(len(x_train),28,28,1))\r\nx_test=np.reshape(x_test,(len(x_test),28,28,1))<\/pre>\n<p><strong>4. Introducing noise in MNIST images using Gaussian distribution<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">noise_factor=0.5\r\n\r\nx_train_noisy=x_train + noise_factor * np.random.normal(loc=0.0, scale=1.0,size=x_train.shape)\r\nx_test_noisy=x_test + noise_factor * np.random.normal(loc=0.0, scale=1.0,size=x_test.shape)\r\n\r\nx_train_noisy= np.clip(x_train_noisy,0.,1.)\r\nx_test_noisy= np.clip(x_test_noisy,0.,1.)<\/pre>\n<p><strong>5. Visualize the noise introduced<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">n=5\r\n\r\nplt.figure(figsize=(20,2))\r\n\r\nfor i in range(n):\r\nax=plt.subplot(1,n,i+1)\r\nplt.imshow(x_test_noisy[i].reshape(28,28))\r\nplt.gray()\r\nax.get_xaxis().set_visible(False)\r\nax.get_yaxis().set_visible(False)\r\nplt.show()<\/pre>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/04\/1_dnoised_image.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-77665\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/04\/1_dnoised_image.png\" alt=\"denoised_image\" width=\"1425\" height=\"911\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/04\/1_dnoised_image.png 1425w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/04\/1_dnoised_image-150x96.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/04\/1_dnoised_image-300x192.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/04\/1_dnoised_image-768x491.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/04\/1_dnoised_image-1024x655.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/04\/1_dnoised_image-520x332.png 520w\" sizes=\"auto, (max-width: 1425px) 100vw, 1425px\" \/><\/a><\/p>\n<p><strong>6. Specify input layer and create model<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">input_img=Input(shape=(28,28,1))\r\n\r\nx=Conv2D(32,(3,3),activation='relu',padding='same')(input_img)\r\nx=MaxPooling2D((2,2),padding='same')(x)\r\nx=Conv2D(32,(3,3),activation='relu',padding='same')(x)\r\nencoded=MaxPooling2D((2,2),padding='same')(x)<\/pre>\n<p><strong>7. Encoded is the bottleneck layer and consists of a compressed form of images.<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">x=Conv2D(32,(3,3),activation='relu',padding='same')(encoded)\r\nx=UpSampling2D((2,2))(x)\r\nx=Conv2D(32,(3,3),activation='relu',padding='same')(x)\r\nx=UpSampling2D((2,2))(x)\r\ndecoded=Conv2D(1,(3,3),activation='sigmoid',padding='same')(x)<\/pre>\n<p><strong>8. Train the autoencoder<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">x=Conv2D(32,(3,3),activation='relu',padding='same')(encoded)\r\nx=UpSampling2D((2,2))(x)\r\nx=Conv2D(32,(3,3),activation='relu',padding='same')(x)\r\nx=UpSampling2D((2,2))(x)\r\ndecoded=Conv2D(1,(3,3),activation='sigmoid',padding='same')(x)<\/pre>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/04\/2_training_epoch.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-77666\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/04\/2_training_epoch.png\" alt=\"Training epoch in deep learning\" width=\"1425\" height=\"911\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/04\/2_training_epoch.png 1425w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/04\/2_training_epoch-150x96.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/04\/2_training_epoch-300x192.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/04\/2_training_epoch-768x491.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/04\/2_training_epoch-1024x655.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/04\/2_training_epoch-520x332.png 520w\" sizes=\"auto, (max-width: 1425px) 100vw, 1425px\" \/><\/a><\/p>\n<p>Here I am training my model on 20 epochs only,\u00a0 you can train it with 100 epochs as well.<\/p>\n<p><strong>9. Get prediction on noisy data<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">x_test_result = autoencoder.predict(x_test_noisy, batch_size=128)<\/pre>\n<p><strong>10. Again visualize the reconstructed images<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">n=5\r\n\r\nplt.figure(figsize=(20,2))\r\n\r\nfor i in range(n):\r\nax=plt.subplot(1,n,i+1)\r\nplt.imshow(x_test_result[i].reshape(28,28))\r\nplt.gray()\r\nax.get_xaxis().set_visible(False)\r\nax.get_yaxis().set_visible(False)\r\nplt.show()<\/pre>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/04\/3_result.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-77667\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/04\/3_result.png\" alt=\"Deep learning auto encoder result\" width=\"1425\" height=\"911\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/04\/3_result.png 1425w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/04\/3_result-150x96.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/04\/3_result-300x192.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/04\/3_result-768x491.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/04\/3_result-1024x655.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/04\/3_result-520x332.png 520w\" sizes=\"auto, (max-width: 1425px) 100vw, 1425px\" \/><\/a><\/p>\n<p>You can see our Auto Encoder is able to reconstruct the images and remove its noise. We will get better quality if we increase the epoch count of training.<\/p>\n<h3>Summary<\/h3>\n<p>To conclude, we have seen Deep learning with Keras implementation and example. This article concerns the Keras library and its support to deploy major deep learning algorithms. It also introduces you to Auto-Encoders, its different types, its applications, and its implementation.<br \/>\nIt explains how to build a neural network for removing noise from our data.<\/p>\n<p><strong>When you have learnt deep learning with keras, let us implement <a href=\"https:\/\/data-flair.training\/blogs\/deep-learning-project-ideas\/\">deep learning projects<\/a> for better knowledge. <\/strong><\/p>\n<p><strong>Do share your feedback in the comment section.<\/strong><span hidden class=\"__iawmlf-post-loop-links\" data-iawmlf-links=\"[{&quot;id&quot;:1149,&quot;href&quot;:&quot;https:\\\/\\\/www.deeplearningbook.org\\\/contents\\\/autoencoders.html&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20250820165039\\\/https:\\\/\\\/www.deeplearningbook.org\\\/contents\\\/autoencoders.html&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-12-09 01:55:48&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-31 08:05:46&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-12 06:32:18&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-15 10:52:23&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-15 16:06:39&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-21 20:41:40&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-07-01 15:33:47&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-07-13 05:27:57&quot;,&quot;http_code&quot;:206}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-07-13 05:27:57&quot;,&quot;http_code&quot;:206},&quot;process&quot;:&quot;done&quot;}]\"><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Welcome back to DataFlair Keras Tutorial series.\u00a0In this Keras tutorial, we will walk through deep learning with keras and an important deep learning algorithm used in keras.\u00a0We will study the applications of this algorithm&#46;&#46;&#46;<\/p>\n","protected":false},"author":10,"featured_media":77664,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22185],"tags":[22203,22205,22204],"class_list":["post-77663","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-keras","tag-deep-learning-with-keras","tag-keras-deep-learning","tag-tensorflow-keras"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Deep Learning with Keras Implementation and Example - DataFlair<\/title>\n<meta name=\"description\" content=\"Deep Learning with keras - Learn how to install keras, various deepl learning algorithms used in Keras, implmentation of auto-encoders in keras with 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\/keras-deep-learning\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Deep Learning with Keras Implementation and Example - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Deep Learning with keras - Learn how to install keras, various deepl learning algorithms used in Keras, implmentation of auto-encoders in keras with example\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/keras-deep-learning\/\" \/>\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=\"2020-04-27T07:30:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-25T08:25:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/04\/deep-learning-with-keras.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"802\" \/>\n\t<meta property=\"og:image:height\" content=\"420\" \/>\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":"Deep Learning with Keras Implementation and Example - DataFlair","description":"Deep Learning with keras - Learn how to install keras, various deepl learning algorithms used in Keras, implmentation of auto-encoders in keras with 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\/keras-deep-learning\/","og_locale":"en_US","og_type":"article","og_title":"Deep Learning with Keras Implementation and Example - DataFlair","og_description":"Deep Learning with keras - Learn how to install keras, various deepl learning algorithms used in Keras, implmentation of auto-encoders in keras with example","og_url":"https:\/\/data-flair.training\/blogs\/keras-deep-learning\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2020-04-27T07:30:07+00:00","article_modified_time":"2021-08-25T08:25:17+00:00","og_image":[{"width":802,"height":420,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/04\/deep-learning-with-keras.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\/keras-deep-learning\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/keras-deep-learning\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/a90b082e16aa38d207212d22b0581f33"},"headline":"Deep Learning with Keras Implementation and Example","datePublished":"2020-04-27T07:30:07+00:00","dateModified":"2021-08-25T08:25:17+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/keras-deep-learning\/"},"wordCount":557,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/keras-deep-learning\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/04\/deep-learning-with-keras.jpg","keywords":["deep learning with keras","keras deep learning","tensorflow keras"],"articleSection":["Keras Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/keras-deep-learning\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/keras-deep-learning\/","url":"https:\/\/data-flair.training\/blogs\/keras-deep-learning\/","name":"Deep Learning with Keras Implementation and Example - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/keras-deep-learning\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/keras-deep-learning\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/04\/deep-learning-with-keras.jpg","datePublished":"2020-04-27T07:30:07+00:00","dateModified":"2021-08-25T08:25:17+00:00","description":"Deep Learning with keras - Learn how to install keras, various deepl learning algorithms used in Keras, implmentation of auto-encoders in keras with example","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/keras-deep-learning\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/keras-deep-learning\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/keras-deep-learning\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/04\/deep-learning-with-keras.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/04\/deep-learning-with-keras.jpg","width":802,"height":420,"caption":"deep learning with keras"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/keras-deep-learning\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"Keras Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/keras\/"},{"@type":"ListItem","position":3,"name":"Deep Learning with Keras Implementation and Example"}]},{"@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\/a90b082e16aa38d207212d22b0581f33","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/dd6de0d647a0185cd6faf264e4ba860b0d85d08d7070766f9cd41bea5bb0b227?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/dd6de0d647a0185cd6faf264e4ba860b0d85d08d7070766f9cd41bea5bb0b227?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/dd6de0d647a0185cd6faf264e4ba860b0d85d08d7070766f9cd41bea5bb0b227?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"The DataFlair Team is passionate about delivering top-notch tutorials and resources on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. With expertise in the tech industry, we simplify complex topics to help learners excel. Stay updated with our latest insights.","url":"https:\/\/data-flair.training\/blogs\/author\/dfadteam1\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/77663","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\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=77663"}],"version-history":[{"count":2,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/77663\/revisions"}],"predecessor-version":[{"id":77669,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/77663\/revisions\/77669"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/77664"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=77663"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=77663"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=77663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}