{"id":78692,"date":"2020-05-14T13:48:25","date_gmt":"2020-05-14T08:18:25","guid":{"rendered":"https:\/\/techvidvan.com\/tutorials\/?p=78692"},"modified":"2020-05-14T13:48:25","modified_gmt":"2020-05-14T08:18:25","slug":"artificial-neural-network","status":"publish","type":"post","link":"https:\/\/techvidvan.com\/tutorials\/artificial-neural-network\/","title":{"rendered":"Artificial Neural Network &#8211; Applications, Algorithms and Examples"},"content":{"rendered":"<p><strong>Artificial neural network<\/strong> simulate the functions of the neural network of the human brain in a simplified manner. In this <strong>TechVidvan Deep learning tutorial<\/strong>, you will get to know about the artificial neural network\u2019s definition, architecture, working, types, learning techniques, applications, advantages, and disadvantages.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/05\/Artificial-Neural-Network.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-78695\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/05\/Artificial-Neural-Network.jpg\" alt=\"Artificial Neural Network\" width=\"802\" height=\"420\" \/><\/a><\/p>\n<h2>Artificial Neural Network Definition<\/h2>\n<p>An artificial neural network (ANN) is a computational model to perform tasks like prediction, classification, decision making, etc. It consists of <strong>artificial neurons<\/strong>. These artificial neurons are a copy of human brain neurons. Neurons in the brain pass the signals to perform the actions. Similarly, artificial neurons connect in a neural network to perform tasks. The connection between the artificial neurons is called <strong>weight<\/strong>.<\/p>\n<h2>Artificial Neural Network Architecture<\/h2>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/05\/Architecture.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-78698\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/05\/Architecture.jpg\" alt=\"ANN Architecture\" width=\"545\" height=\"510\" \/><\/a><\/p>\n<p>A neural network consists of three layers. The first layer is the input layer. It contains the input neurons that send information to the hidden layer. The hidden layer performs the computations on input data and transfers the output to the output layer. It includes weight, activation function, cost function.<\/p>\n<p>The connection between neurons is called weight, which is the numerical values. The weight between neurons determines the learning ability of the neural network. During the learning of artificial neural networks, weight between the neuron changes. Initial weights are set randomly.<\/p>\n<p>To standardize the output from the neuron, the \u201cactivation function\u201d is used. Activation functions are the mathematical equations that calculate the output of the neural network. Standardization refers to the transformation of data to have mean 0 and standard deviation 1. Each neuron has its activation function. It is difficult to understand without mathematical reasoning. It also helps to normalize the output in a range between 0 to 1 or -1 to 1. An activation function is also known as the transfer function.<\/p>\n<h2>ANN Working<\/h2>\n<p>The input node takes the information in numerical form. The information represents an activation value where each node has given a number. The higher the number, the greater the activation. Based on weights and activation function, the activation value passes to the next node. Each node calculates the weighted sum and updates that sum based on the transfer function(activation function). After that, it applies an activation function. This function applies to this particular neuron. From that, the neuron concludes if it needs to forward the signal or not. ANN decides the signal extension on the adjustments of the weights.<\/p>\n<p>The activation runs through the network until it reaches the output node. The output layer shares the information in an understanding way. The network uses the cost function to compare the output and expected output. Cost function refers to the difference between the actual value and the predicted value. Lower the cost function, closer it is to the desired output.<\/p>\n<p>There are two processes for minimizing the cost function.<\/p>\n<h3>1) Back Propagation<\/h3>\n<p>Back propagation is the core of neural network training. It is the prime mechanism by which neural networks learn. Data enters the input layer and propagates in the network to give the output. After that, the cost function will equate the output and desired output. If the value of the cost function is high then the information goes back, and the neural network starts learning to reduce the cost function by adjusting the weights. Proper adjustment of weights lowers the error rate and makes the model definitive.<\/p>\n<h3>2) Forward Propagation<\/h3>\n<p>The information enters into the input layer and forwards in the network to get the output value. The user compares the value to the expected results. The next step is calculating errors and propagating the information backward. This permits the user to train the neural network and modernize the weights. Due to the structured algorithm, the user can adjust weights simultaneously. It will help the user to see which weight of the neural network is responsible for error.<\/p>\n<h2>Types of Artificial Neural Network<\/h2>\n<h3>1) Feedforward Network<\/h3>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/05\/Feedforward-Network.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-78696\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/05\/Feedforward-Network.jpg\" alt=\"Feedforward ANN Network\" width=\"653\" height=\"444\" \/><\/a><\/p>\n<p>This network contains an input, hidden, and output layer. Signals can move in only one direction. Input data passes to the hidden layer to perform the mathematical calculations. Processing element computes according to the weighted sum of its inputs. The output of the previous layer becomes the input of the following layer. This continues through all the layers and determines the output.<\/p>\n<p><strong>Eg: Data mining<\/strong><\/p>\n<h3>2) Feedback network<\/h3>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/05\/Feedback-Network.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-78697\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/05\/Feedback-Network.jpg\" alt=\"Feedback Network in ANN\" width=\"491\" height=\"548\" \/><\/a><\/p>\n<p>This network has feedback paths. It means signals can travel in both the direction using loops. Neurons can have all the possible connections. Due to loops, it becomes a dynamic system that changes continuously to reach in the equilibrium state.<\/p>\n<p><strong>Eg: Recurrent neural network<\/strong><\/p>\n<h2>ANN Learning Techniques<\/h2>\n<h3>1) Supervised Learning<\/h3>\n<p>In this learning, the user trains the model using labelled data. It means some data is already marked with the correct answers. Supervised learning can be compared to the learning which is held in the presence of a supervisor.<\/p>\n<h3>2) Unsupervised learning<\/h3>\n<p>In this learning ,the model does not need supervision. It usually deals with the unlabelled data. User permits the model to work on its own to classify the data. It sorts the data according to the similarities and patterns without any prior training to the data.<\/p>\n<h2>Artificial Neural Network Applications<\/h2>\n<p><strong>1) Text classification and categorization<\/strong><br \/>\nIt is an essential part of many applications like web searching, information filtering, and language identification.<\/p>\n<p><strong>2) Medical<\/strong><br \/>\nWe can use it in detecting cancer cells and analyzing the MRI images to give detailed results.<\/p>\n<p><strong>3) Paraphrase detection<\/strong><br \/>\nQuestion answering system needs to determine whether two sentences have the same meaning or not. Artificial neural networks are very helpful in paraphrasing detection.<\/p>\n<p><strong>4) Forecast<\/strong><br \/>\nWe can use it in every field of business decisions like in finance and the stock market, in economic and monetary policy.<\/p>\n<p><strong>5) Image processing<\/strong><br \/>\nWe can use satellite imagery processing for agricultural and defense use.<\/p>\n<h2>ANN Advantages<\/h2>\n<p>1) It has a parallel processing ability. It has the numerical strength that performs more than one task at the same time.<br \/>\n2) Failure of one element of the network does not affect the working of the whole system. This characteristic makes it fault-tolerant.<br \/>\n3) A neural network learns from the experience and does not need reprogramming.<\/p>\n<h2>Disadvantages of ANN<\/h2>\n<p>1) Its black-box nature is the most prominent <a href=\"https:\/\/stats.stackexchange.com\/questions\/257082\/disadvantage-of-ann-model\">disadvantage of ANN<\/a>. The neural network does not give the proper explanation of determining the output. It reduces trust in the network.<br \/>\n2) The duration of the development of the network is unknown.<br \/>\n3) There is no assurance of proper network structure. There is no proper rule to determine the structure.<\/p>\n<h2>Conclusion<\/h2>\n<p>Artificial neural networks are powerful models to solve the problems. Mostly, neural network methods exceed other methods. Hope you understood the architecture, working , types, applications, advantages, and disadvantages of the artificial neural network.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Artificial neural network simulate the functions of the neural network of the human brain in a simplified manner. In this TechVidvan Deep learning tutorial, you will get to know about the artificial neural network\u2019s&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":78695,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[210],"tags":[2661,2662,2663,2664],"class_list":["post-78692","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-machine-learning","tag-ann-neural-network","tag-artificial-neural-network","tag-artificial-neural-network-definition","tag-artificial-neural-network-example"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Artificial Neural Network - Applications, Algorithms and Examples - TechVidvan<\/title>\n<meta name=\"description\" content=\"Artificial Neural Network - Learn ANN architecture, working , types, applications, advantages, and disadvantages of the artificial neural network.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/techvidvan.com\/tutorials\/artificial-neural-network\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Artificial Neural Network - Applications, Algorithms and Examples - TechVidvan\" \/>\n<meta property=\"og:description\" content=\"Artificial Neural Network - Learn ANN architecture, working , types, applications, advantages, and disadvantages of the artificial neural network.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/techvidvan.com\/tutorials\/artificial-neural-network\/\" \/>\n<meta property=\"og:site_name\" content=\"TechVidvan\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/TechVidvan\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-05-14T08:18:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/05\/Artificial-Neural-Network.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=\"TechVidvan Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@vidvantech\" \/>\n<meta name=\"twitter:site\" content=\"@vidvantech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TechVidvan Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Artificial Neural Network - Applications, Algorithms and Examples - TechVidvan","description":"Artificial Neural Network - Learn ANN architecture, working , types, applications, advantages, and disadvantages of the artificial neural network.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/techvidvan.com\/tutorials\/artificial-neural-network\/","og_locale":"en_US","og_type":"article","og_title":"Artificial Neural Network - Applications, Algorithms and Examples - TechVidvan","og_description":"Artificial Neural Network - Learn ANN architecture, working , types, applications, advantages, and disadvantages of the artificial neural network.","og_url":"https:\/\/techvidvan.com\/tutorials\/artificial-neural-network\/","og_site_name":"TechVidvan","article_publisher":"https:\/\/www.facebook.com\/TechVidvan\/","article_published_time":"2020-05-14T08:18:25+00:00","og_image":[{"width":802,"height":420,"url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/05\/Artificial-Neural-Network.jpg","type":"image\/jpeg"}],"author":"TechVidvan Team","twitter_card":"summary_large_image","twitter_creator":"@vidvantech","twitter_site":"@vidvantech","twitter_misc":{"Written by":"TechVidvan Team","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/techvidvan.com\/tutorials\/artificial-neural-network\/#article","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/artificial-neural-network\/"},"author":{"name":"TechVidvan Team","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/person\/e9c26e74dd3d87421f7ada9433b8cd22"},"headline":"Artificial Neural Network &#8211; Applications, Algorithms and Examples","datePublished":"2020-05-14T08:18:25+00:00","mainEntityOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/artificial-neural-network\/"},"wordCount":1097,"commentCount":0,"publisher":{"@id":"https:\/\/techvidvan.com\/tutorials\/#organization"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/artificial-neural-network\/#primaryimage"},"thumbnailUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/05\/Artificial-Neural-Network.jpg","keywords":["ann neural network","Artificial Neural Network","artificial neural network definition","artificial neural network example"],"articleSection":["Machine Learning Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/techvidvan.com\/tutorials\/artificial-neural-network\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/techvidvan.com\/tutorials\/artificial-neural-network\/","url":"https:\/\/techvidvan.com\/tutorials\/artificial-neural-network\/","name":"Artificial Neural Network - Applications, Algorithms and Examples - TechVidvan","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/artificial-neural-network\/#primaryimage"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/artificial-neural-network\/#primaryimage"},"thumbnailUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/05\/Artificial-Neural-Network.jpg","datePublished":"2020-05-14T08:18:25+00:00","description":"Artificial Neural Network - Learn ANN architecture, working , types, applications, advantages, and disadvantages of the artificial neural network.","breadcrumb":{"@id":"https:\/\/techvidvan.com\/tutorials\/artificial-neural-network\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/techvidvan.com\/tutorials\/artificial-neural-network\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techvidvan.com\/tutorials\/artificial-neural-network\/#primaryimage","url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/05\/Artificial-Neural-Network.jpg","contentUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/05\/Artificial-Neural-Network.jpg","width":802,"height":420,"caption":"Artificial Neural Network"},{"@type":"BreadcrumbList","@id":"https:\/\/techvidvan.com\/tutorials\/artificial-neural-network\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/techvidvan.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"Artificial Neural Network &#8211; Applications, Algorithms and Examples"}]},{"@type":"WebSite","@id":"https:\/\/techvidvan.com\/tutorials\/#website","url":"https:\/\/techvidvan.com\/tutorials\/","name":"TechVidvan Blogs","description":"","publisher":{"@id":"https:\/\/techvidvan.com\/tutorials\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/techvidvan.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/techvidvan.com\/tutorials\/#organization","name":"TechVidvan","url":"https:\/\/techvidvan.com\/tutorials\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/logo\/image\/","url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2024\/03\/techvidvan-logo-200x50-1.webp","contentUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2024\/03\/techvidvan-logo-200x50-1.webp","width":200,"height":50,"caption":"TechVidvan"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/TechVidvan\/","https:\/\/x.com\/vidvantech"]},{"@type":"Person","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/person\/e9c26e74dd3d87421f7ada9433b8cd22","name":"TechVidvan Team","description":"The TechVidvan Team delivers practical, beginner-friendly tutorials on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our experts are here to help you upskill and excel in today\u2019s tech industry."}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/78692","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/comments?post=78692"}],"version-history":[{"count":0,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/78692\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/media\/78695"}],"wp:attachment":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/media?parent=78692"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/categories?post=78692"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/tags?post=78692"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}