CINXE.COM
What is Neural Network and Deep Learning?
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <title>What is Neural Network and Deep Learning?</title> <meta name="HandheldFriendly" content="True" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="stylesheet" type="text/css" href="/assets/built/screen.css?v=02494157c1" /> <!-- for progress in navigation bar --> <link rel="stylesheet" type="text/css" href="/assets/built/lightbox.css?v=02494157c1" /> <!-- for syntax highlight --> <link rel="stylesheet" type="text/css" href="/assets/built/prism.css?v=02494157c1" /> <!-- merge2.css -> complexity.css + post_page.css --> <link rel="stylesheet" type="text/css" href="/assets/built/merge2.css?v=02494157c1" /> <link rel="stylesheet" type="text/css" href="/assets/css/search_page.css?v=02494157c1" /> <style> a { text-decoration: none !important; } #time { text-align: center; font-weight: bold; } #scrollBtn { display: none; position: fixed; bottom: 90px; right: 36px; z-index: 999; border: none; outline: none; background-color: #351ed478; color: white; cursor: pointer; padding: 15px; border-radius: 50px; width: 45px; } #scrollBtn:hover { background-color: #351ed4; } @media (max-width: 480px) { #scrollBtn { right: 18px; bottom: 80px; transform: scale(0.9); } } </style> <meta name="description" content="Deep Learning has become quite a buzzword in recent years. It has taken over in all applications from tasks like image recognition, chatbots like Alexa and Google Assistant to defeating world champions in a complex games like Go and Dota 2." /> <link rel="shortcut icon" href="/favicon.png" type="image/png" /> <link rel="canonical" href="https://iq.opengenus.org/neural-network/" /> <meta name="referrer" content="no-referrer-when-downgrade" /> <link rel="amphtml" href="https://iq.opengenus.org/neural-network/amp/" /> <meta property="og:site_name" content="OpenGenus IQ: Learn Algorithms, DL, System Design" /> <meta property="og:type" content="article" /> <meta property="og:title" content="What is Neural Network and Deep Learning?" /> <meta property="og:description" content="Deep Learning has become quite a buzzword in recent years. It has taken over in all applications from tasks like image recognition, chatbots like Alexa and Google Assistant to defeating world champions in a complex games like Go and Dota 2." /> <meta property="og:url" content="https://iq.opengenus.org/neural-network/" /> <meta property="article:published_time" content="2022-05-19T16:57:03.000Z" /> <meta property="article:modified_time" content="2022-05-19T16:57:03.000Z" /> <meta property="article:tag" content="Deep Learning" /> <meta property="article:tag" content="Machine Learning (ML)" /> <meta property="article:publisher" content="https://www.facebook.com/opengenus" /> <meta name="twitter:card" content="summary" /> <meta name="twitter:title" content="What is Neural Network and Deep Learning?" /> <meta name="twitter:description" content="Deep Learning has become quite a buzzword in recent years. It has taken over in all applications from tasks like image recognition, chatbots like Alexa and Google Assistant to defeating world champions in a complex games like Go and Dota 2." /> <meta name="twitter:url" content="https://iq.opengenus.org/neural-network/" /> <meta name="twitter:label1" content="Written by" /> <meta name="twitter:data1" content="Souvik Ghosh" /> <meta name="twitter:label2" content="Filed under" /> <meta name="twitter:data2" content="Deep Learning, Machine Learning (ML)" /> <meta name="twitter:site" content="@OpenGenus" /> <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "Article", "publisher": { "@type": "Organization", "name": "OpenGenus IQ: Learn Algorithms, DL, System Design", "logo": "https://iq.opengenus.org/content/images/2018/02/ll.jpeg" }, "author": { "@type": "Person", "name": "Souvik Ghosh", "url": "https://iq.opengenus.org/author/souvik/", "sameAs": [] }, "headline": "What is Neural Network and Deep Learning?", "url": "https://iq.opengenus.org/neural-network/", "datePublished": "2022-05-19T16:57:03.000Z", "dateModified": "2022-05-19T16:57:03.000Z", "keywords": "Deep Learning, Machine Learning (ML)", "description": "Deep Learning has become quite a buzzword in recent years. It has taken over in all applications from tasks like image recognition, chatbots like Alexa and Google Assistant to defeating world champions in a complex games like Go and Dota 2.", "mainEntityOfPage": { "@type": "WebPage", "@id": "https://iq.opengenus.org/" } } </script> <script src="/public/ghost-sdk.min.js?v=02494157c1"></script> <script> ghost.init({ clientId: "ghost-frontend", clientSecret: "06875a67cb74" }); </script> <meta name="generator" content="Ghost 1.25" /> <link rel="alternate" type="application/rss+xml" title="OpenGenus IQ: Learn Algorithms, DL, System Design" href="https://iq.opengenus.org/rss/" /> <style> ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; } pre { overflow: hidden !important; word-wrap: break-word !important; word-break: break-all !important; white-space: pre; } </style> <script data-ad-client="ca-pub-6329206778297580" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6329206778297580" crossorigin="anonymous"></script> <script async src="https://fundingchoicesmessages.google.com/i/pub-6329206778297580?ers=1" nonce="ynArYzv-IrmSxnbHoQm6Tg"></script><script nonce="ynArYzv-IrmSxnbHoQm6Tg">(function() {function signalGooglefcPresent() {if (!window.frames['googlefcPresent']) {if (document.body) {const iframe = document.createElement('iframe'); iframe.style = 'width: 0; height: 0; border: none; z-index: -1000; left: -1000px; top: -1000px;'; iframe.style.display = 'none'; iframe.name = 'googlefcPresent'; document.body.appendChild(iframe);} else {setTimeout(signalGooglefcPresent, 0);}}}signalGooglefcPresent();})();</script> <script>(function(){/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ 'use strict';var aa=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},ba="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},k;if("function"==typeof Object.setPrototypeOf)k=Object.setPrototypeOf;else{var m;a:{var ca={a:!0},n={};try{n.__proto__=ca;m=n.a;break a}catch(a){}m=!1}k=m?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null} var p=k,q=function(a,b){a.prototype=ba(b.prototype);a.prototype.constructor=a;if(p)p(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.v=b.prototype},r=this||self,da=function(){},t=function(a){return a};var u;var w=function(a,b){this.g=b===v?a:""};w.prototype.toString=function(){return this.g+""};var v={},x=function(a){if(void 0===u){var b=null;var c=r.trustedTypes;if(c&&c.createPolicy){try{b=c.createPolicy("goog#html",{createHTML:t,createScript:t,createScriptURL:t})}catch(d){r.console&&r.console.error(d.message)}u=b}else u=b}a=(b=u)?b.createScriptURL(a):a;return new w(a,v)};var A=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^Date.now()).toString(36)};var B={},C=null;var D="function"===typeof Uint8Array;function E(a,b,c){return"object"===typeof a?D&&!Array.isArray(a)&&a instanceof Uint8Array?c(a):F(a,b,c):b(a)}function F(a,b,c){if(Array.isArray(a)){for(var d=Array(a.length),e=0;e<a.length;e++){var f=a[e];null!=f&&(d[e]=E(f,b,c))}Array.isArray(a)&&a.s&&G(d);return d}d={};for(e in a)Object.prototype.hasOwnProperty.call(a,e)&&(f=a[e],null!=f&&(d[e]=E(f,b,c)));return d} function ea(a){return F(a,function(b){return"number"===typeof b?isFinite(b)?b:String(b):b},function(b){var c;void 0===c&&(c=0);if(!C){C={};for(var d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),e=["+/=","+/","-_=","-_.","-_"],f=0;5>f;f++){var h=d.concat(e[f].split(""));B[f]=h;for(var g=0;g<h.length;g++){var l=h[g];void 0===C[l]&&(C[l]=g)}}}c=B[c];d=Array(Math.floor(b.length/3));e=c[64]||"";for(f=h=0;h<b.length-2;h+=3){var y=b[h],z=b[h+1];l=b[h+2];g=c[y>>2];y=c[(y&3)<< 4|z>>4];z=c[(z&15)<<2|l>>6];l=c[l&63];d[f++]=""+g+y+z+l}g=0;l=e;switch(b.length-h){case 2:g=b[h+1],l=c[(g&15)<<2]||e;case 1:b=b[h],d[f]=""+c[b>>2]+c[(b&3)<<4|g>>4]+l+e}return d.join("")})}var fa={s:{value:!0,configurable:!0}},G=function(a){Array.isArray(a)&&!Object.isFrozen(a)&&Object.defineProperties(a,fa);return a};var H;var J=function(a,b,c){var d=H;H=null;a||(a=d);d=this.constructor.u;a||(a=d?[d]:[]);this.j=d?0:-1;this.h=null;this.g=a;a:{d=this.g.length;a=d-1;if(d&&(d=this.g[a],!(null===d||"object"!=typeof d||Array.isArray(d)||D&&d instanceof Uint8Array))){this.l=a-this.j;this.i=d;break a}void 0!==b&&-1<b?(this.l=Math.max(b,a+1-this.j),this.i=null):this.l=Number.MAX_VALUE}if(c)for(b=0;b<c.length;b++)a=c[b],a<this.l?(a+=this.j,(d=this.g[a])?G(d):this.g[a]=I):(d=this.l+this.j,this.g[d]||(this.i=this.g[d]={}),(d=this.i[a])? G(d):this.i[a]=I)},I=Object.freeze(G([])),K=function(a,b){if(-1===b)return null;if(b<a.l){b+=a.j;var c=a.g[b];return c!==I?c:a.g[b]=G([])}if(a.i)return c=a.i[b],c!==I?c:a.i[b]=G([])},M=function(a,b){var c=L;if(-1===b)return null;a.h||(a.h={});if(!a.h[b]){var d=K(a,b);d&&(a.h[b]=new c(d))}return a.h[b]};J.prototype.toJSON=function(){var a=N(this,!1);return ea(a)}; var N=function(a,b){if(a.h)for(var c in a.h)if(Object.prototype.hasOwnProperty.call(a.h,c)){var d=a.h[c];if(Array.isArray(d))for(var e=0;e<d.length;e++)d[e]&&N(d[e],b);else d&&N(d,b)}return a.g},O=function(a,b){H=b=b?JSON.parse(b):null;a=new a(b);H=null;return a};J.prototype.toString=function(){return N(this,!1).toString()};var P=function(a){J.call(this,a)};q(P,J);function ha(a){var b,c=(a.ownerDocument&&a.ownerDocument.defaultView||window).document,d=null===(b=c.querySelector)||void 0===b?void 0:b.call(c,"script[nonce]");(b=d?d.nonce||d.getAttribute("nonce")||"":"")&&a.setAttribute("nonce",b)};var Q=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},R=function(a){this.g=a||r.document||document};R.prototype.appendChild=function(a,b){a.appendChild(b)};var S=function(a,b,c,d,e,f){try{var h=a.g,g=Q(a.g,"SCRIPT");g.async=!0;g.src=b instanceof w&&b.constructor===w?b.g:"type_error:TrustedResourceUrl";ha(g);h.head.appendChild(g);g.addEventListener("load",function(){e();d&&h.head.removeChild(g)});g.addEventListener("error",function(){0<c?S(a,b,c-1,d,e,f):(d&&h.head.removeChild(g),f())})}catch(l){f()}};var ia=r.atob("aHR0cHM6Ly93d3cuZ3N0YXRpYy5jb20vaW1hZ2VzL2ljb25zL21hdGVyaWFsL3N5c3RlbS8xeC93YXJuaW5nX2FtYmVyXzI0ZHAucG5n"),ja=r.atob("WW91IGFyZSBzZWVpbmcgdGhpcyBtZXNzYWdlIGJlY2F1c2UgYWQgb3Igc2NyaXB0IGJsb2NraW5nIHNvZnR3YXJlIGlzIGludGVyZmVyaW5nIHdpdGggdGhpcyBwYWdlLg=="),ka=r.atob("RGlzYWJsZSBhbnkgYWQgb3Igc2NyaXB0IGJsb2NraW5nIHNvZnR3YXJlLCB0aGVuIHJlbG9hZCB0aGlzIHBhZ2Uu"),la=function(a,b,c){this.h=a;this.j=new R(this.h);this.g=null;this.i=[];this.l=!1;this.o=b;this.m=c},V=function(a){if(a.h.body&&!a.l){var b= function(){T(a);r.setTimeout(function(){return U(a,3)},50)};S(a.j,a.o,2,!0,function(){r[a.m]||b()},b);a.l=!0}},T=function(a){for(var b=W(1,5),c=0;c<b;c++){var d=X(a);a.h.body.appendChild(d);a.i.push(d)}b=X(a);b.style.bottom="0";b.style.left="0";b.style.position="fixed";b.style.width=W(100,110).toString()+"%";b.style.zIndex=W(2147483544,2147483644).toString();b.style["background-color"]=ma(249,259,242,252,219,229);b.style["box-shadow"]="0 0 12px #888";b.style.color=ma(0,10,0,10,0,10);b.style.display= "flex";b.style["justify-content"]="center";b.style["font-family"]="Roboto, Arial";c=X(a);c.style.width=W(80,85).toString()+"%";c.style.maxWidth=W(750,775).toString()+"px";c.style.margin="24px";c.style.display="flex";c.style["align-items"]="flex-start";c.style["justify-content"]="center";d=Q(a.j.g,"IMG");d.className=A();d.src=ia;d.style.height="24px";d.style.width="24px";d.style["padding-right"]="16px";var e=X(a),f=X(a);f.style["font-weight"]="bold";f.textContent=ja;var h=X(a);h.textContent=ka;Y(a, e,f);Y(a,e,h);Y(a,c,d);Y(a,c,e);Y(a,b,c);a.g=b;a.h.body.appendChild(a.g);b=W(1,5);for(c=0;c<b;c++)d=X(a),a.h.body.appendChild(d),a.i.push(d)},Y=function(a,b,c){for(var d=W(1,5),e=0;e<d;e++){var f=X(a);b.appendChild(f)}b.appendChild(c);c=W(1,5);for(d=0;d<c;d++)e=X(a),b.appendChild(e)},W=function(a,b){return Math.floor(a+Math.random()*(b-a))},ma=function(a,b,c,d,e,f){return"rgb("+W(Math.max(a,0),Math.min(b,255)).toString()+","+W(Math.max(c,0),Math.min(d,255)).toString()+","+W(Math.max(e,0),Math.min(f, 255)).toString()+")"},X=function(a){a=Q(a.j.g,"DIV");a.className=A();return a},U=function(a,b){0>=b||null!=a.g&&0!=a.g.offsetHeight&&0!=a.g.offsetWidth||(na(a),T(a),r.setTimeout(function(){return U(a,b-1)},50))},na=function(a){var b=a.i;var c="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];b=c?c.call(b):{next:aa(b)};for(c=b.next();!c.done;c=b.next())(c=c.value)&&c.parentNode&&c.parentNode.removeChild(c);a.i=[];(b=a.g)&&b.parentNode&&b.parentNode.removeChild(b);a.g=null};var pa=function(a,b,c,d,e){var f=oa(c),h=function(l){l.appendChild(f);r.setTimeout(function(){f?(0!==f.offsetHeight&&0!==f.offsetWidth?b():a(),f.parentNode&&f.parentNode.removeChild(f)):a()},d)},g=function(l){document.body?h(document.body):0<l?r.setTimeout(function(){g(l-1)},e):b()};g(3)},oa=function(a){var b=document.createElement("div");b.className=a;b.style.width="1px";b.style.height="1px";b.style.position="absolute";b.style.left="-10000px";b.style.top="-10000px";b.style.zIndex="-10000";return b};var L=function(a){J.call(this,a)};q(L,J);var qa=function(a){J.call(this,a)};q(qa,J);var ra=function(a,b){this.l=a;this.m=new R(a.document);this.g=b;this.i=K(this.g,1);b=M(this.g,2);this.o=x(K(b,4)||"");this.h=!1;b=M(this.g,13);b=x(K(b,4)||"");this.j=new la(a.document,b,K(this.g,12))};ra.prototype.start=function(){sa(this)}; var sa=function(a){ta(a);S(a.m,a.o,3,!1,function(){a:{var b=a.i;var c=r.btoa(b);if(c=r[c]){try{var d=O(P,r.atob(c))}catch(e){b=!1;break a}b=b===K(d,1)}else b=!1}b?Z(a,K(a.g,14)):(Z(a,K(a.g,8)),V(a.j))},function(){pa(function(){Z(a,K(a.g,7));V(a.j)},function(){return Z(a,K(a.g,6))},K(a.g,9),K(a.g,10),K(a.g,11))})},Z=function(a,b){a.h||(a.h=!0,a=new a.l.XMLHttpRequest,a.open("GET",b,!0),a.send())},ta=function(a){var b=r.btoa(a.i);a.l[b]&&Z(a,K(a.g,5))};(function(a,b){r[a]=function(c){for(var d=[],e=0;e<arguments.length;++e)d[e-0]=arguments[e];r[a]=da;b.apply(null,d)}})("__h82AlnkH6D91__",function(a){"function"===typeof window.atob&&(new ra(window,O(qa,window.atob(a)))).start()});}).call(this); window.__h82AlnkH6D91__("WyJwdWItNjMyOTIwNjc3ODI5NzU4MCIsW251bGwsbnVsbCxudWxsLCJodHRwczovL2Z1bmRpbmdjaG9pY2VzbWVzc2FnZXMuZ29vZ2xlLmNvbS9iL3B1Yi02MzI5MjA2Nzc4Mjk3NTgwIl0sbnVsbCxudWxsLCJodHRwczovL2Z1bmRpbmdjaG9pY2VzbWVzc2FnZXMuZ29vZ2xlLmNvbS9lbC9BR1NLV3hVd0w5V1hBMkN4TlFNVldpbU1UZFpIclUzM3ZRTUxfMk9QeTYzQmc0RVhUOVN3Nloxd0UzcWVtOVFOR3FsSUJtNlNIMi1CQnQ4R3BZdHR3cGRBVnhjWm13XHUwMDNkXHUwMDNkP3RlXHUwMDNkVE9LRU5fRVhQT1NFRCIsImh0dHBzOi8vZnVuZGluZ2Nob2ljZXNtZXNzYWdlcy5nb29nbGUuY29tL2VsL0FHU0tXeFVNWXI3cm10bUhUZm1IRUlpV1hjMzdranAyR3JSaDNiMnk4bEQ3YmF3S3h5RnNod2p0T0tfVmE0SEhBTjl2QVdjQ0Npc3dkT3VENGZ4WHdMQ0NlMVFVaUFcdTAwM2RcdTAwM2Q/YWJcdTAwM2QxXHUwMDI2c2JmXHUwMDNkMSIsImh0dHBzOi8vZnVuZGluZ2Nob2ljZXNtZXNzYWdlcy5nb29nbGUuY29tL2VsL0FHU0tXeFgxcUhHdjNkZGk3R0N3b0NlbmV4bi1VellVZWtlamNJbTA3UEZQUW1hdU9jU1A1cU9QUnM2WjFEUGFuRHFGcTVyNUN1Ymt1WG91NnFVMFlyTnlhLTJHU3dcdTAwM2RcdTAwM2Q/YWJcdTAwM2QyXHUwMDI2c2JmXHUwMDNkMSIsImh0dHBzOi8vZnVuZGluZ2Nob2ljZXNtZXNzYWdlcy5nb29nbGUuY29tL2VsL0FHU0tXeFZFaEo2QUlKMmZoWDZjdnRzTFRmRy02R2NxVE5MODBJYzBhZnA4eDh0aGRJcUZ3SW9iZThtRDNCOXpmUEhEcDNEQVZxeDdXaXM2eFN6T0FUSG9jNzg0SmdcdTAwM2RcdTAwM2Q/c2JmXHUwMDNkMiIsImRpdi1ncHQtYWQiLDIwLDEwMCwiY0hWaUxUWXpNamt5TURZM056Z3lPVGMxT0RBXHUwMDNkIixbbnVsbCxudWxsLG51bGwsImh0dHBzOi8vd3d3LmdzdGF0aWMuY29tLzBlbW4vZi9wL3B1Yi02MzI5MjA2Nzc4Mjk3NTgwLmpzP3VzcXBcdTAwM2RDQkEiXSwiaHR0cHM6Ly9mdW5kaW5nY2hvaWNlc21lc3NhZ2VzLmdvb2dsZS5jb20vZWwvQUdTS1d4Vk5vOXFjbFRmc2taemJmR3FtMWVRSmVoWm1zSzk4YjNwR1ZxRlhLdm9DZnFFTEk0U2hKMVM2cWFlQTJBaVgzQlVwMjVnTXZpMnZmS1NjcjZOVjd3VlMwQVx1MDAzZFx1MDAzZCJd");</script> </head> <div id="nav_toggle" class="navbar_collapse navigation_page"> <div id="navbar_close">×</div> <a href="http://iq.opengenus.org">Home</a> <a href="http://discourse.opengenus.org">Discussions</a> <a href="http://iq.opengenus.org/guide-to-writing-a-note-at-opengenus-iq/">Write at Opengenus IQ</a> </div> <body class="post-template tag-deep-learning tag-machine-learning"> <div id="search_page" class="search_page search_page_hide"> <div class="search_page_close search_toggle">×</div> <div class="search_page_body"> <div id="site-search" style="display:none;" class="search_form"> <input class="typeahead search_form_input" type="text" placeholder="Search" /> </div> </div> </div> <div class="site-wrapper"> <header class="site-header outer"> <div class="inner"> <nav class="navbar"> <div class="burger_menu"> <label for="burgertoggle" >☰</label> <input type="checkbox" id="burgertoggle"/> </div> <div class="navbar-left"> <ul class="nav" role="menu"> <li class="nav-dsa-cheatsheet" role="menuitem"><a href="https://amzn.to/4arEtct">DSA Cheatsheet</a></li> <li class="nav-home" role="menuitem"><a href="https://iq.opengenus.org/">HOME</a></li> <li class="nav-track-your-progress" role="menuitem"><a href="https://iq.opengenus.org/100-interview-problems/">Track your progress</a></li> <li class="nav-deep-learning-free" role="menuitem"><a href="https://iq.opengenus.org/deep-learning-checklist/">Deep Learning (FREE)</a></li> <li class="nav-join-our-internship-" role="menuitem"><a href="https://discourse.opengenus.org/t/internship-guidelines-at-opengenus/2335/">Join our Internship 🎓</a></li> <li class="nav-random" role="menuitem"><a href="https://iq.opengenus.org/random/">RANDOM</a></li> <li class="nav-one-liner" role="menuitem"><a href="https://iq.opengenus.org/one/">One Liner</a></li> </ul> </div> <div class="navbar-right"> <a class="search_button"> <i class="fa fa-search search_toggle" style="cursor:pointer;"></i> </a> <a class="rss-button" href="https://feedly.com/i/subscription/feed/https://iq.opengenus.org/rss/" target="_blank" rel="noopener"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="6.18" cy="17.82" r="2.18"/><path d="M4 4.44v2.83c7.03 0 12.73 5.7 12.73 12.73h2.83c0-8.59-6.97-15.56-15.56-15.56zm0 5.66v2.83c3.9 0 7.07 3.17 7.07 7.07h2.83c0-5.47-4.43-9.9-9.9-9.9z"/></svg> </a> </div> </nav> </div> </header> <style> .adsense_widget_iq_1 { height: 120px; } </style> <style> .w3-modal { padding-top: 100px; position: fixed; display: none; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.4); } .w3-modal-content { margin: auto; background-color: #fff; position: relative; width: 80%; } .w3-container{ padding: 0.01em 16px; } .w3-button { position: absolute; right: 0; padding-right: 2.5%; top: 0; background: rgb(255, 255, 255); padding-top: 2.5%; } @media screen and (min-width: 600px) { .w3-modal-content { width: 70%; } @media screen and (min-width: 800px) { .w3-modal-content { width: 60%; } } .gssb_c .gsc-completion-container{ position: fixed; width: fit-content !important; } </style> <!-- <script async src="https://cse.google.com/cse.js?cx=a08efacafd37fe86c"></script> --> <div id="id01" class="w3-modal" style="z-index: 500; max-width: 0em 3em;"> <div class="w3-modal-content"> <div class="w3-container"> <button onclick="document.getElementById('id01').style.display='none'" class="w3-button">×</button> <br> <p style="font-size:1.5vw;">Search anything:</p> <div class="gcse-search"></div> </div> </div> </div> <script> function openmodal() { document.getElementById('id01').style.display='block'; document.getElementById("gsc-i-id1").focus(); } </script> <style> /* left-side-bar styling. */ .left-side-bar-wrapper { position: relative; min-width: 180px; width: 20%; } .left-side-bar-top { border-right: 1px solid #f2f3f4; width: 100%; transition: all 0.2s ease-in; margin-bottom: 1rem; height: 230px; } .top-side-bar-links { height: 180px; overflow: auto; } .left-side-bar-links { overflow-y: auto; height: calc(100vh - 106px); } /* .top-left #show-all:checked ~ .top-side-bar-links .left-side-bar-link { display: list-item; } .top-left #show-all ~ label[for="show-all"] { display: none; } .top-left { position: relative; } .top-left #show-all { display: none; } */ /* .top-left label[for="show-all"] { position: absolute; box-sizing: border-box; width: 100%; bottom: 0; font-size: 0.75em; text-align: center; line-height: 1em; border: 1px solid #ddd; padding: 0.5em; cursor: pointer; text-transform: uppercase; color: #444; } .top-left label[for="show-all"]:hover { border: 1px solid #aaa; } .top-left label[for="show-all"]:active { border: 1px solid #222; background-color: #222; color: #fff; } */ .second-left { position: relative; z-index: 99; } .left-side-bar { border-right: 1px solid #f2f3f4; height: calc(100vh - 45px); list-style: none; transition: all 0.2s ease-in; background-color: #fff; } .left-side-bar-link a { font-size: 14px; } .left-side-bar-link a:hover { color: var(--blue); text-decoration: none; transition: all 0.3s ease; } .main-posts { display: flex; } .main-posts.fix-bottom .left-side-bar, .main-posts.fix-top .left-side-bar { position: fixed; top: 60px; } .main-posts.flex-bottom { align-items: flex-end; } .left-side-bar-wrapper .tag-title { background-color: #000; padding: 1rem; } .side-bar-tag-name { color: #fff; font-weight: bold; text-transform: capitalize; } /* right-side-bar styling */ .right-side-bar { max-width: 300px; width: 100%; } .right-side-bar-article { background-color: #fff; margin: 1rem 0; border: 1px solid #000; border-radius: 5px; } .right-side-bar-article-header { position: relative; display: flex; align-items: center; justify-content: center; height: 40px; width: 90%; left: -40px; padding-left: 5px; background-color: #000; color: #fff; font-weight: bold; margin: 1rem 0; } .right-side-bar-article-content { padding-left: 10px; list-style: none; } .right-side-bar-article-content a:hover { color: #05abe0; transition: all ease 0.2s; } @media (max-width: 900px) { .second-left { z-index: 99; } .left-side-bar-top { margin-bottom: 0; } .main-posts.fix-bottom .left-side-bar, .main-posts.fix-top .left-side-bar { position: fixed; top: 38px; } .main-posts { position: relative; } } @media (max-width: 600px) { .second-left { z-index: 99; } .left-side-bar-top { margin-bottom: 0; } .left-side-bar-wrapper { display: none; } } </style> <main id="site-main" class="site-main outer" role="main"> <div id="main-posts" class="main-posts"> <div id="left-side-bar-wrapper" class="left-side-bar-wrapper"> <div id="first-left" class="first-left"> <div id="left-side-bar-top" class="left-side-bar-top"> <aside id="left-side-bar-inner" class="left-side-bar-inner top-left"> <div class="tag-title"> <span class="side-bar-tag-name"> Interesting posts </span> </div> <div class="top-side-bar-links"> <!-- sidebar top --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-6329206778297580" data-ad-slot="4998251942" data-ad-format="auto" data-full-width-responsive="true"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> <ul> <li class="left-side-bar-link"><a href="https://iq.opengenus.org/best-competitive-programmers/">Top Competitive Programmers</a></li> <li class="left-side-bar-link"><a href="https://iq.opengenus.org/unsolved-problems-in-algorithms/">Unsolved Problems in Algorithms</a></li> <li class="left-side-bar-link"><a href="https://iq.opengenus.org/top-patent-person-in-india/">Top patent holders in India</a></li> <li class="left-side-bar-link"><a href="https://iq.opengenus.org/get-developer-job-in-japan/">How to get Developer Job in Japan?</a></li> <li class="left-side-bar-link"><a href="http://internship.opengenus.org">[INTERNSHIP]</a></li> <li class="left-side-bar-link"><a href="https://iq.opengenus.org/most-profitable-software-patents/">STORY: Most Profitable Software Patents</a></li> <li class="left-side-bar-link"><a href="https://iq.opengenus.org/earn-by-filing-patents/">How to earn by filing Patents?</a></li> <li class="left-side-bar-link"><a href="https://iq.opengenus.org/richest-programmers-in-the-world/">Richest Programmers in the World</a></li> <li class="left-side-bar-link"><a href="https://iq.opengenus.org/evolution-of-integer-multiplication/">STORY: Multiplication from 1950 to 2022</a></li> <li class="left-side-bar-link"><a href="https://iq.opengenus.org/position-of-india-in-icpc/">Position of India at ICPC World Finals (1999 to 2021)</a></li> <li class="left-side-bar-link"><a href="https://iq.opengenus.org/most-dangerous-line-of-code/">Most Dangerous Line of Code 💀</a></li> <li class="left-side-bar-link"><a href="https://iq.opengenus.org/age-of-programming-languages/">Age of All Programming Languages</a></li> <li class="left-side-bar-link"><a href="https://iq.opengenus.org/earn-money-online-as-programmer/">How to earn money online as a Programmer?</a></li> <li class="left-side-bar-link"><a href="https://iq.opengenus.org/kolmogorov-n2-conjecture/">STORY: Kolmogorov N^2 Conjecture Disproved</a></li> <li class="left-side-bar-link"><a href="https://iq.opengenus.org/grigori-perelman/">STORY: man who refused $1M for his discovery</a></li> <li class="left-side-bar-link"><a href="https://iq.opengenus.org/bram-moolenaar/">STORY: Man behind VIM</a></li> <li class="left-side-bar-link"><a href="https://iq.opengenus.org/galactic-algorithm/">STORY: Galactic algorithm</a></li> <li class="left-side-bar-link"><a href="https://iq.opengenus.org/inventor-of-linked-list/">STORY: Inventor of Linked List</a></li> <li class="left-side-bar-link"><a href="https://iq.opengenus.org/tag/questions/">Practice Interview Questions</a></li> <li class="left-side-bar-link"><a href="https://iq.opengenus.org/list-of-binary-tree-problems/">List of 50+ Binary Tree Problems</a></li> <li class="left-side-bar-link"><a href="https://iq.opengenus.org/list-of-dynamic-programming-problems/">List of 100+ Dynamic Programming Problems</a></li> <li class="left-side-bar-link"><a href="https://iq.opengenus.org/list-of-array-problems/">List of 50+ Array Problems</a></li> <li class="left-side-bar-link"><a href="https://iq.opengenus.org/greedy-algorithms-you-must-attempt/">11 Greedy Algorithm Problems [MUST]</a></li> <li class="left-side-bar-link"><a href="https://iq.opengenus.org/list-of-linked-list-problems/">List of 50+ Linked List Problems</a></li> <li class="left-side-bar-link"><a href="https://iq.opengenus.org/list-of-graph-algorithms/">100+ Graph Algorithms and Techniques</a></li> </ul> </ul> </div> </aside> </div> </div> <div class="second-left"> <div id="left-side-bar" class="left-side-bar"> <aside id="left-side-bar-inner" class="left-side-bar-inner"> <div class="tag-title"> <span class="side-bar-tag-name"> Deep Learning tutorial </span> </div> <div class="left-side-bar-links"> <ul> <!-- Sidebar Multiplex --> <ins class="adsbygoogle adsense_sidebar_multiplex_1" style="display:block" data-ad-format="autorelaxed" data-ad-client="ca-pub-6329206778297580" data-ad-slot="9028710882"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> <!-- Sidebar fixed size 120x250 --> <!-- <ins class="adsbygoogle" style="display:inline-block;width:120px;height:250px" data-ad-client="ca-pub-6329206778297580" data-ad-slot="4020428451"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> --> <li class="left-side-bar-link"><a target="_blank" href="/dl1943-cheatsheet/" >DL1943 Deep Learning Cheatsheet</a></li> <li class="left-side-bar-link"><a target="_blank" href="/retrieval-augmented-generation/" >Retrieval Augmented Generation (Concepts)</a></li> <li class="left-side-bar-link"><a target="_blank" href="/bilinear-upsampling/" >Bilinear Upsampling</a></li> <li class="left-side-bar-link"><a target="_blank" href="/kolmogorov-arnold-networks/" >Kolmogorov-Arnold Networks</a></li> <li class="left-side-bar-link"><a target="_blank" href="/basic-cnn-in-pytorch/" >Implementing Simple CNN model in PyTorch</a></li> <li class="left-side-bar-link"><a target="_blank" href="/as-strided-op-in-pytorch/" >as_strided op in PyTorch</a></li> <li class="left-side-bar-link"><a target="_blank" href="/model-training-and-quantization/" >Guide to Deep Learning Model Training and Quantization</a></li> <li class="left-side-bar-link"><a target="_blank" href="/int4-quantization/" >INT4 Quantization (with code demonstration)</a></li> <li class="left-side-bar-link"><a target="_blank" href="/basics-of-using-pytorch/" >Basics of using PyTorch</a></li> <li class="left-side-bar-link"><a target="_blank" href="/position-wise-feed-forward-network/" >Position wise Feed-Forward Networks</a></li> <li class="left-side-bar-link"><a target="_blank" href="/multi-agent-systems/" >Introduction to Multi-Agent Systems (MAS)</a></li> <li class="left-side-bar-link"><a target="_blank" href="/adaptive-recommender-systems/" >Adaptive Recommender Systems</a></li> <li class="left-side-bar-link"><a target="_blank" href="/predict-fuel-efficiency-ml/" >ML model to predict Fuel Efficiency [project]</a></li> <li class="left-side-bar-link"><a target="_blank" href="/mobilenet-v3-model/" >MobileNet V3 model</a></li> <li class="left-side-bar-link"><a target="_blank" href="/cold-start-and-data-sparsity-problem-in-recommender-system/" >Cold start and Data sparsity problem in Recommender system</a></li> <li class="left-side-bar-link"><a target="_blank" href="/active-learning-how-machines-learn-better-with-human-guidance/" >Active Learning: How Machines Learn Better with Human Guidance</a></li> <li class="left-side-bar-link"><a target="_blank" href="/stepwise-regression/" >Stepwise Regression</a></li> <li class="left-side-bar-link"><a target="_blank" href="/personality-prediction-through-ml/" >Personality Prediction Through Machine Learning</a></li> <li class="left-side-bar-link"><a target="_blank" href="/genre-classification-through-song-lyrics/" >Genre Classification through Song Lyrics</a></li> <li class="left-side-bar-link"><a target="_blank" href="/markov-chain-neural-network/" >Markov Chain Neural Network (MCNN)</a></li> <li class="left-side-bar-link"><a target="_blank" href="/cluster-sampling/" >Cluster Sampling</a></li> <li class="left-side-bar-link"><a target="_blank" href="/why-convexity-is-important-in-ml/" >Why convexity is important in Machine Learning?</a></li> <li class="left-side-bar-link"><a target="_blank" href="/sentiment-analysis-for-mental-health-sites-and-forums/" >Sentiment Analysis For Mental Health Sites and Forums</a></li> <li class="left-side-bar-link"><a target="_blank" href="/ml-model-to-predict-waiters-tip/" >ML model to predict Waiter’s Tip</a></li> <li class="left-side-bar-link"><a target="_blank" href="/regression-dilution/" >Regression dilution</a></li> <li class="left-side-bar-link"><a target="_blank" href="/kde-python/" >Demystifying Kernel Density Estimation (KDE) in Python</a></li> <li class="left-side-bar-link"><a target="_blank" href="/bleu-score/" >Understanding Bleu Score</a></li> <li class="left-side-bar-link"><a target="_blank" href="/correlation-vs-causation/" >Understanding of Correlation vs. Causation</a></li> <li class="left-side-bar-link"><a target="_blank" href="/multi-label-classification/" >Mastering Multi-Label Classification</a></li> <li class="left-side-bar-link"><a target="_blank" href="/nmf-vs-pca/" >Non-negative matrix factorization (NMF) vs Principal Component Analysis (PCA)</a></li> </ul> </div> </aside> </div> </div> </div> <div class="inner" id="inner"> <article id="post-full" class="post-full post tag-deep-learning tag-machine-learning no-image"> <header class="post-full-header"> <h1 class="post-full-title" style="color:#292929; font-size:30px ; ">What is Neural Network and Deep Learning?</h1> <div class="upper_taglist"> <h4 id="text" class="less"> <div id="taglist"> <a target="_blank" href="/tag/deep-learning/" title="Deep Learning" class="tag_item">Deep Learning</a> <a target="_blank" href="/tag/machine-learning/" title="Machine Learning (ML)" class="tag_item">Machine Learning (ML)</a> </div> </h4> </div> <button id="more" class="more-tags-button">More</button> <button id="less" class="more-tags-button">Less</button> </header> <button id="scrollBtn" title="Go to top">Up</button> <div class="post-content"> <section class="post-full-content"> <center> <a href="https://amzn.to/3EgiXLM" target="_blank"> <picture> <source media="(max-width: 530px)" srcset="/assets/images/DSA-takeover.jpg"> <img loading="lazy" src="/assets/images/DSA-takeover.jpg" style='width:100%;' border="0" alt="DSA Takeover Cheatsheet"> </picture> </a> </center> <p style="text-align: center;"><a href="http://internship.opengenus.org" target="_blank">Open-Source Internship opportunity by OpenGenus for programmers. Apply now.</a></p> <!-- Before Header --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-6329206778297580" data-ad-slot="5373864615" data-ad-format="auto" data-full-width-responsive="true"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> <div class="kg-card-markdown"><p>Deep Learning has become quite a buzzword in recent years. It has taken over in all applications from tasks like image recognition, chatbots like Alexa and Google Assistant to defeating world champions in a complex games like Go and Dota 2. So what exactly is deep learning and neural networks all about?</p> <p>Let's first see where exactly deep learning lies and then let's explore the core of deep learning that comprises of Artificial Neural Networks.</p> <p><img src="/content/images/2018/08/Deep_Learning_Icons_R5_PNG.jpg.png" alt="Deep_Learning_Icons_R5_PNG.jpg"></p> <p>So from the above figure , It's pretty cleared that Deep Learning is the subset of Machine Learning & Artificial Intelligence. Now let's dive into neural networks , so for that first we need to understand a bit of biology.</p> <h2 id="whatisaneuron">What is a Neuron?</h2> <p>A neuron is a cell that carries electrical impulses. They are the fundamental units in our brain. Our brain has nearly a 100 billion neurons which are connected with each other. They can transmit signals to long distances and with each other.</p> <p><img src="/content/images/2018/08/300px-Neuron.svg.png" alt="300px-Neuron.svg"></p> <p>The artificial neuron is an inspiration taken from the biological version. It consists of mainly these functions:-</p> <ol> <li>Inputs:- It takes in input from other neurons or the given data.</li> <li>Weights and Biases :- These terms play the central role in artificial neurons. Biases are the minimum value required to fire(pass the information) a neuron . Weights control how much information should it process from the previous neurons.</li> <li>Activation or Processing Unit:- This unit decides whether to pass the information to the next neurons or not and the quantity of the information. (The information is equivalent to the electrical impulses in our brain). Activation is generally a function that increases the non-linearity.</li> <li>Outputs:- They send out the output information to the other neurons.</li> </ol> <p><img src="/content/images/2018/08/neuron.png" alt="neuron"></p> <h2 id="whatisaartificialneuralnetwork">What is a Artificial Neural Network?</h2> <p>Now we know all about an artificial neuron so let's now look at a artificial neural network which consists of these neurons. The artificial neural networks consists of three parts:-</p> <ol> <li>Input Layer :- The input neurons for the network. This is where the data is fed into.</li> <li>Hidden Layer :- These is the part where the network learns to process information and map output from input.</li> <li>Output Layer:- The prediction of our network which can be a single neuron for regression and binary classification or several in number for multi label classification.</li> </ol> <p><img src="/content/images/2018/08/neural-network.png" alt="neural-network"></p> <p>Each layer can contain several neurons. The number of neurons in hidden layers and the number of hidden layers have to be chosen experimentally , there is no perfect number available.</p> <h2 id="whydeeplearning">Why Deep Learning?</h2> <p><img src="/content/images/2018/08/deep.jpeg" alt="deep"></p> <p>So you must be wondering why it's called deep learning, the reason is simple the hidden layers can be from a few in number to several thousands. The network has to be really deep to learn on terabytes and petabytes of data. That's the reason it's called deep learning. The first image below consist of only three hidden layer but the next image is a Google's inception network that consists of several layers.</p> <p><img src="/content/images/2018/08/TB010-Deep-Neural-Network.jpg" alt="TB010-Deep-Neural-Network"></p> <p><img src="/content/images/2018/08/incep.png" alt="incep"></p> <h2 id="whydeepovermachinelearning">Why Deep over Machine Learning?</h2> <p>Traditional Machine Leaning algorithms fail to perform better with the increase in data but Deep Learning performs better with increase of data. With the rise of powerful GPU's computation and performance of Deep Learning algorithms have increased by several times. Below there is a figure comparing them both :-</p> <p><img src="/content/images/2018/08/Why-Deep-Learning-1024x742.png" alt="Why-Deep-Learning-1024x742"></p> <p>In Machine Learning hand-coded feature extraction is a must to get good performance and several human hours and labor are wasted for it but Deep Learning doesn't require any feature extraction, it learns by itself.</p> <p><img src="/content/images/2018/08/diff.png" alt="diff"></p> <h2 id="applications">Applications</h2> <ol> <li>Search Engines.</li> <li>Chatbots.</li> <li>Image Recognition , Captioning and Segmentation.</li> <li>New Drug Discovery and Medical Research.</li> <li>Robotics.</li> <li>Playing Games like Go, Chess, Dota 2 ,etc.</li> <li>Recommendation systems.</li> <li>Speech recognition & Music Generation.</li> </ol> <p>With this article at OpenGenus, you must have the complete idea of Neural Network and Deep Learning.</p> </div> <!-- after content multiplex --> <ins class="adsbygoogle adsense_widget_iq_1" style="display:block" data-ad-format="autorelaxed" data-ad-client="ca-pub-6329206778297580" data-ad-slot="8550309798"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> <!-- after content iq.opengenus.org --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-6329206778297580" data-ad-slot="2677909004" data-ad-format="auto"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </section> </div> </div> </div> <footer> <div class="post-full-footer"> <section class="author-card"> <section class="author-card-content"> <h4 class="author-card-name"><a href="/author/souvik/">Souvik Ghosh</a></h4> <p>Read <a href="/author/souvik/">more posts</a> by this author.</p> </section> </section> <div class="post-full-footer-right"> <a class="author-card-button" href="/author/souvik/">Read More</a> </div> </div> <div class="Authors_list"> <p>Improved & Reviewed by:</p><br> <a href="/author/opengenus/" title="OpenGenus Tech Review Team" class="author author-1 opengenus"> <div class="Authors_tag_item " href="/author/opengenus/" title="OpenGenus Tech Review Team"> <img loading="lazy" class="co-author-profile-image" src="/content/images/2018/06/logo_small.png" alt="OpenGenus Tech Review Team" /> OpenGenus Tech Review Team </div> </a> </div> </footer> <script> var wrapper = document.getElementById("main-posts"); var post_full = document.getElementById("post-full"); var right_side_bar = document.getElementById("right-side-bar"); var sidebar = document.getElementById("left-side-bar"); window.onscroll = function () { document .getElementById("left-side-bar") .setAttribute( "style", "display:block;width:" + document.getElementById("left-side-bar-wrapper").offsetWidth + "px" ); document.getElementById("left-side-bar").style.width = document.getElementById("left-side-bar-wrapper").offsetWidth; //sidebar < main if (sidebar.offsetHeight < post_full.offsetHeight) { //sidebar < screen - stick to top if (sidebar.offsetHeight < window.innerHeight) { if ( wrapper.getBoundingClientRect().bottom < window.innerHeight && wrapper.getBoundingClientRect().bottom < sidebar.offsetHeight ) { wrapper.classList.remove("fix-top"); wrapper.classList.add("flex-bottom"); } else if (wrapper.getBoundingClientRect().top < 0) { wrapper.classList.add("fix-top"); wrapper.classList.remove("flex-bottom"); } else { wrapper.classList.remove("fix-top"); wrapper.classList.remove("flex-bottom"); } } //wrapper taller than sidebar - stick to bottom else if (sidebar.offsetHeight < wrapper.offsetHeight) { if (wrapper.getBoundingClientRect().bottom < window.innerHeight) { wrapper.classList.remove("fix-bottom"); wrapper.classList.add("flex-bottom"); } else if ( wrapper.getBoundingClientRect().bottom > sidebar.offsetHeight + window.innerHeight ) { wrapper.classList.remove("fix-bottom"); wrapper.classList.remove("flex-bottom"); } else { wrapper.classList.add("fix-bottom"); wrapper.classList.remove("flex-bottom"); } } } }; </script> </article> </div> </main> <aside class="read-next outer"> <div class="inner"> <div class="read-next-feed"> <article class="read-next-card" > <header class="read-next-card-header"> <small class="read-next-card-header-sitetitle">— OpenGenus IQ: Learn Algorithms, DL, System Design —</small> <h3 class="read-next-card-header-title"><a href="/tag/deep-learning/">Deep Learning</a></h3> </header> <div class="read-next-divider"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 14.5s2 3 5 3 5.5-2.463 5.5-5.5S21 6.5 18 6.5c-5 0-7 11-12 11C2.962 17.5.5 15.037.5 12S3 6.5 6 6.5s4.5 3.5 4.5 3.5"/></svg> </div> <div class="read-next-card-content"> <ul> <li><a href="/dl1943-cheatsheet/">DL1943 Deep Learning Cheatsheet</a></li> <li><a href="/torch-tensor-max-and-torch-max-in-pytorch/">Understanding the differences and use Cases of torch.Tensor.max and torch.max in PyTorch</a></li> <li><a href="/retrieval-augmented-generation/">Retrieval Augmented Generation (Concepts)</a></li> </ul> </div> <footer class="read-next-card-footer"> <a href="/tag/deep-learning/">See all 198 posts →</a> </footer> </article> <article class="post-card post tag-machine-learning tag-deep-learning no-image"> <div class="post-card-content"> <a class="post-card-content-link" href="/conditional-generative-adversarial-net/"> <header class="post-card-header"> <span class="post-card-tags">Machine Learning (ML)</span> <h2 class="post_card_title">Conditional Generative Adversarial Nets</h2> </header> <section class="post_card_excerpt"> <p>In this article, we have explained the concept of Conditional Generative Adversarial Nets in depth.</p> </section> </a> <footer class="post-card-meta"> <span class="post-card-author"><a href="/author/malisaroj/">Saroj Mali</a></span> </footer> </div> </article> <article class="post-card post tag-algorithm tag-data-structure no-image"> <div class="post-card-content"> <a class="post-card-content-link" href="/binary-heap/"> <header class="post-card-header"> <span class="post-card-tags">Algorithms</span> <h2 class="post_card_title">Binary Heap</h2> </header> <section class="post_card_excerpt"> <p>Binary heap is a complete Binary tree structured as a heap data structure. Binary heaps are common way of implementing priority queues.</p> </section> </a> <footer class="post-card-meta"> <span class="post-card-author"><a href="/author/ayush-sonare/">Ayush Sonare</a></span> </footer> </div> </article> </div> </div> </aside> <style> .searchbar { height: 36px; margin-bottom: 1em; margin-top: 1em; margin-right: 1.5em; } .searchbartext { height: 33px; font-size: 17px; padding-left: 4%; mix-blend-mode: normal; border: 2px solid rgb(163, 163, 163); background-color: #ccc; color: #ffffff; box-sizing: border-box; backdrop-filter: blur(4px); border-radius: 10px; } input:active { border: none; } ::placeholder{ color: #ffffff; } .btn-default{ position: absolute; color: rgb(255, 255, 255); margin-left: 4.1em; margin-top: -1.9em; background: transparent; width: 32px; height: 31px; } @media screen and (max-width: 417px){ .btn-default{ margin-left: 10%; } .searchbartext { width: 125%; } } @media screen and (max-width: 350px){ .btn-default{ margin-left: 5%; } </style> <div class="floating-header"> <div class="floating-header-logo"> <a href="https://iq.opengenus.org"> <img loading="lazy" src="/content/images/2018/02/sq_logo.png" alt="OpenGenus IQ: Learn Algorithms, DL, System Design icon" /> <span>OpenGenus IQ: Learn Algorithms, DL, System Design</span> </a> </div> <span class="floating-header-divider">—</span> <div class="floating-header-title">What is Neural Network and Deep Learning?</div> <center> <form class="searchbar" role="search" method="get"> <input autocomplete="off" name="q" placeholder="Search ..." title="search here" type="text" id="name11" onclick="openmodal();" class="searchbartext" /> <button type="submit" disabled class="btn-default"> 🔍 </button> </form> </center> <div class="floating-header-share"> <div class="floating-header-share-label">Share this <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <path d="M7.5 15.5V4a1.5 1.5 0 1 1 3 0v4.5h2a1 1 0 0 1 1 1h2a1 1 0 0 1 1 1H18a1.5 1.5 0 0 1 1.5 1.5v3.099c0 .929-.13 1.854-.385 2.748L17.5 23.5h-9c-1.5-2-5.417-8.673-5.417-8.673a1.2 1.2 0 0 1 1.76-1.605L7.5 15.5zm6-6v2m-3-3.5v3.5m6-1v2"/> </svg> </div> <!-- Twitter--> <a class="floating-header-share-tw" href="https://twitter.com/share?text=You will love this article on What%20is%20Neural%20Network%20and%20Deep%20Learning%3F&url=https://iq.opengenus.org/neural-network/" onclick="window.open(this.href, 'share-twitter', 'width=550,height=235');return false;"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M30.063 7.313c-.813 1.125-1.75 2.125-2.875 2.938v.75c0 1.563-.188 3.125-.688 4.625a15.088 15.088 0 0 1-2.063 4.438c-.875 1.438-2 2.688-3.25 3.813a15.015 15.015 0 0 1-4.625 2.563c-1.813.688-3.75 1-5.75 1-3.25 0-6.188-.875-8.875-2.625.438.063.875.125 1.375.125 2.688 0 5.063-.875 7.188-2.5-1.25 0-2.375-.375-3.375-1.125s-1.688-1.688-2.063-2.875c.438.063.813.125 1.125.125.5 0 1-.063 1.5-.25-1.313-.25-2.438-.938-3.313-1.938a5.673 5.673 0 0 1-1.313-3.688v-.063c.813.438 1.688.688 2.625.688a5.228 5.228 0 0 1-1.875-2c-.5-.875-.688-1.813-.688-2.75 0-1.063.25-2.063.75-2.938 1.438 1.75 3.188 3.188 5.25 4.25s4.313 1.688 6.688 1.813a5.579 5.579 0 0 1 1.5-5.438c1.125-1.125 2.5-1.688 4.125-1.688s3.063.625 4.188 1.813a11.48 11.48 0 0 0 3.688-1.375c-.438 1.375-1.313 2.438-2.563 3.188 1.125-.125 2.188-.438 3.313-.875z"/></svg> </a> <!-- Facebook--> <a class="floating-header-share-fb" href="https://www.facebook.com/sharer/sharer.php?u=https://iq.opengenus.org/neural-network/" onclick="window.open(this.href, 'share-facebook','width=580,height=296');return false;"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M19 6h5V0h-5c-3.86 0-7 3.14-7 7v3H8v6h4v16h6V16h5l1-6h-6V7c0-.542.458-1 1-1z"/></svg> </a> </div> <progress class="progress" value="0"> <div class="progress-container"> <span class="progress-bar"></span> </div> </progress> </div> <footer class="site-footer outer"> <div class="site-footer-content inner"> <section class="copyright"><a href="https://iq.opengenus.org">OpenGenus IQ</a> © 2025 All rights reserved ™<br>Contact - Email: <a href="mailto:team@opengenus.org">team@opengenus.org</a><br>Primary Address: JR Shinjuku Miraina Tower, Tokyo, Shinjuku 160-0022, JP<br>Office #2: Commercial Complex D4, Delhi, Delhi 110017, IN</section> <nav class="site-footer-nav"> <a href="https://iq.opengenus.org">Top Posts</a> <a href="https://www.linkedin.com/company/opengenus" target="_blank" rel="noopener">LinkedIn</a> <a href="https://twitter.com/OpenGenus" target="_blank" rel="noopener">Twitter</a> <br><a href="https://play.google.com/store/apps/details?id=com.og.opengenus&hl=en&gl=US">Android App</a> <br><a href="http://internship.opengenus.org">Apply for Internship</a> </nav> </div> </footer> </div> <script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"> </script> <script type="text/javascript" src="/assets/js/jquery.fitvids.js?v=02494157c1"></script> <script async type="text/javascript" src="/assets/js/tab.js?v=02494157c1"></script> <script async type="text/javascript" src="/assets/js/prism.js?v=02494157c1"></script> <script> // ===== Scroll to Top ==== $(window).scroll(function() { if ($(this).scrollTop() >= 50) { // If page is scrolled more than 50px $('#scrollBtn').fadeIn(500); // Fade in the arrow } else { $('#scrollBtn').fadeOut(500); // Else fade out the arrow } }); $('#scrollBtn').click(function() { // When arrow is clicked $('body,html').animate({ scrollTop : 0 // Scroll to top of body }, 500); }); </script> <script async type="text/javascript" src="/assets/js/lightbox/lightbox.js?v=02494157c1"></script> <script DOCTYPE="text/javascript"> //in-page links and table of contents $('.in_page_link').click(function () { event.preventDefault() //scroll to the href of the link $('html, body').animate({ scrollTop: $($(this).attr('href')).offset().top }, 500); return false; }); $(document).ready(function () { var progressBar = document.querySelector('progress'); var header = document.querySelector('.floating-header'); var title = document.querySelector('.post-full-title'); var lastScrollY = window.scrollY; var lastWindowHeight = window.innerHeight; var lastDocumentHeight = $(document).height(); var ticking = false; function onScroll() { lastScrollY = window.scrollY; requestTick(); update(); } function onResize() { lastWindowHeight = window.innerHeight; lastDocumentHeight = $(document).height(); requestTick(); } function requestTick() { if (!ticking) { requestAnimationFrame(update); } ticking = true; } function update() { var trigger = title.getBoundingClientRect().top + window.scrollY; var triggerOffset = title.offsetHeight + 35; var progressMax = lastDocumentHeight - lastWindowHeight; if (lastScrollY >= trigger + triggerOffset) { header.classList.add('floating-active'); } else { header.classList.remove('floating-active'); } progressBar.setAttribute('max', progressMax); progressBar.setAttribute('value', lastScrollY); ticking = false; } window.addEventListener('wheel', onScroll, { passive: true }); window.addEventListener('resize', onResize, false); update(); var taglist_height = $('#taglist').height(); var tag_height = $('#tag_element').height(); var q_message = document.createElement('h6'); if (taglist_height >= 35) { $("#more").show(); } $('#more').click(function () { $('#text').removeClass("less"); $("#less").show(); $(this).hide(); }); $('#less').click(function () { $('#text').addClass("less"); $(this).hide(); $("#more").show(); }); //Add icon and colors to question answers //click function will be shown if the question is answered correctly $('.correct_option').click(function () { var icon_check = '<i class="fa fa-check fadeMe" style="margin:5px;color:#33cc33;"></i>'; var icon_cross = '<i class="fa fa-times fadeMe" style="margin:5px;"></i>'; if ($(this).children().length < 1) { $(this).siblings().children().remove(); $(this).siblings().prepend(icon_cross); $(this).siblings().css({ "color": "coral", "border-color": "coral" }); $(this).addClass("correct_answer"); $(this).prepend(icon_check); q_message.innerHTML = ("Well done, you are the best."); q_message.classList.add("question_message"); q_message.style.color = "MediumSeaGreen"; $(this).parents(':eq(0)').prepend(q_message); if ($(this).parent().siblings(".Answer_explanation").length >= 1) { $(this).parent().siblings(".Answer_explanation").css({ "display": "block" }); } } $(this).attr('disabled', 'disabled'); }); $('.wrong_option').click(function () { var icon = '<i class="fa fa-times fadeMe" style="margin:5px;"></i>'; if ($(this).children().length < 1) { $(this).addClass("wrong_answer"); $(this).prepend(icon); q_message.innerHTML = ("No worries, this answer is wrong, you must try again"); q_message.classList.add("question_message"); q_message.style.color = "coral"; $(this).parents(':eq(0)').prepend(q_message); } }); }) //shuffle question function shuffle(arra1) { var ctr = arra1.length, temp, index; // While there are elements in the array while (ctr > 0) { // Pick a random index index = Math.floor(Math.random() * ctr); // Decrease ctr by 1 ctr--; // And swap the last element with it temp = arra1[ctr]; arra1[ctr] = arra1[index]; arra1[index] = temp; } return arra1; } //get the options var questions = document.getElementsByClassName("questionlist"); // shuffle the elements , and remove options if they are more than 4 for (c = 0; c <= questions.length; c++) { if(questions[c] === undefined) break; var index; var ctr2 = questions[c].children.length; var index; while (ctr2 > 4) { index = Math.floor(Math.random() * ctr2); if (index != 0) { questions[c].children[index].remove(); ctr2--; } } var myArray = [1, 2, 3, 4]; shuffle(myArray); for (i = 0; i <= 3; i++) { questions[c].children[i].style.order = myArray[i]; questions[c].children[i].style.display = "block"; } } </script> <style> a#referencelink { display: block; cursor:pointer; background:rgb(181, 222, 250); padding-top:20px; padding-bottom:20px; width:100%; text-align:center; font-size: 20px; color: black; } </style> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-113523348-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-113523348-1'); </script> <!-- Google tag (gtag.js) updated GA4 --> <!-- <script async src="https://www.googletagmanager.com/gtag/js?id=G-J52E0WVTY3"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-J52E0WVTY3'); </script> --> <script async src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script> <script>hljs.initHighlightingOnLoad();</script> <script type="text/javascript"> var parent = document.querySelector(".kg-card-markdown p:nth-of-type(2)"); if(parent) parent.insertAdjacentHTML('afterend', '<!-- in between content (post+page) --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-6329206778297580" data-ad-slot="4297062681" data-ad-format="auto" data-full-width-responsive="true"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); <\/script>'); </script> <!-- KEY TAKEAWAY --> <style> /* Styling for the key takeaway box */ .key-takeaways { background-color: #d3d3d3; /* Light grey color */ color: #333; /* Dark grey text for contrast */ border: 1px solid #ccc; /* Light grey border */ border-radius: 10px; padding: 20px; margin-bottom: 20px; box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.3); } .key-takeaways ul { list-style-type: disc; margin-left: 10px; } .key-takeaways h2 { text-decoration: underline; margin-bottom: 20px; } </style> </body> </html>