{"id":16323,"date":"2020-07-02T19:02:34","date_gmt":"2020-07-02T13:32:34","guid":{"rendered":"https:\/\/www.mygreatlearning.com\/blog\/bayesian-network\/"},"modified":"2024-09-02T17:17:17","modified_gmt":"2024-09-02T11:47:17","slug":"bayesian-network","status":"publish","type":"post","link":"https:\/\/www.mygreatlearning.com\/blog\/bayesian-network\/","title":{"rendered":"Bayesian Networks : An Introduction | What is Bayesian Networks and Definition?"},"content":{"rendered":"\n<ol class=\"wp-block-list\">\n<li><strong><a href=\"#bayesiannetwork\">What is a Bayesian Network?<\/a><\/strong><\/li>\n\n\n\n<li><strong><a href=\"#acyclicgraph\">What is Directed acyclic graph?<\/a><\/strong><\/li>\n\n\n\n<li><strong><a href=\"#exampleofbayesiannetwork\">Example of Bayesian Network<\/a><\/strong><\/li>\n\n\n\n<li><strong><a href=\"#bayesiannetworkinpython\">Bayesian Network in Python<\/a><\/strong><\/li>\n\n\n\n<li><strong><a href=\"#applicationofbayesiannetwork\">Application of Bayesian Network <\/a><\/strong><\/li>\n<\/ol>\n\n\n\n<p><em><strong>Contributed by: Rachit Jain <br>LinkedIn profile: <a href=\"https:\/\/www.linkedin.com\/in\/rachit-jain-37b63677\/\" target=\"_blank\" rel=\"nofollow noreferrer noopener\" aria-label=\"https:\/\/www.linkedin.com\/in\/rachit-jain-37b63677\/  (opens in a new tab)\">https:\/\/www.linkedin.com\/in\/rachit-jain-37b63677\/ <\/a><\/strong><\/em><\/p>\n\n\n\n<p>The Bayesian network has given shape to most of the complex problems that provide less information and resources. It has been implemented in most of the advanced technologies like Artificial Intelligence and <a href=\"https:\/\/www.mygreatlearning.com\/blog\/what-is-machine-learning\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Machine learning (opens in a new tab)\">Machine learning<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-is-a-bayesian-network\"><strong>What is a Bayesian Network?<\/strong><\/h2>\n\n\n\n<p>A Bayesian network falls under the category of Probabilistic Graphical Modelling technique, which is used to calculate uncertainties by using the notion of probability.<\/p>\n\n\n\n<p>They are used to model improbability using directed acyclic graphs.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-is-directed-acyclic-graph\"><strong>What is Directed Acyclic Graph?<\/strong><\/h2>\n\n\n\n<p>It is used to represent the Bayesian Network. A directed acyclic graph contains nodes and links, where links denote the relationship between nodes.&nbsp;<\/p>\n\n\n\n<p>The node represents random variables and links define their relationship. In the diagram above, Node A and Node B are parents of Node C. This means, Node C is dependent on Node A and Node B. Likewise, Node D is the child of Node C and is dependent on Node C.<\/p>\n\n\n\n<p>This graph can help in determining the uncertainty in an event occurring based on the conditional probability distribution of each random variable. A conditional probability table is used to represent this distribution of each variable in the network.<\/p>\n\n\n\n<p>Let\u2019s understand what conditional probability and joint probability are.<\/p>\n\n\n\n<p><strong>Joint Probability<\/strong> \u2013&nbsp; It is the measure of two events happening at the same time. It can be written as P(A\u2229B)&nbsp;<\/p>\n\n\n\n<p><strong>Conditional Probability<\/strong>\u2013 It is the measure of the probability of an event occurring given that another event has occurred. In other terms, the conditional probability of an event X is the probability that the event will occur given that event Y has already occurred.<\/p>\n\n\n\n<p>P(X|Y): Probability of event X occurring given that event Y already occurred.<\/p>\n\n\n\n<p>If X and Y are dependent events, then P(X|Y) = P(X\u2229Y)\/P(Y)<\/p>\n\n\n\n<p>If X and Y are independent events, then P(X\u2229Y) = 0<\/p>\n\n\n\n<p>So, P(X|Y) = P(X)<\/p>\n\n\n\n<p>Let\u2019s understand the Bayesian network by an example.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"example-of-bayesian-network\"><strong>Example of Bayesian Network<\/strong><\/h2>\n\n\n\n<p>In the above diagram, water spray and rain is the child of season, i.e., they are dependent on the season. If the floor is wet, then we can say there is rain. At last, if the floor is slippery, then it is wet.<\/p>\n\n\n\n<p>So, we can say that the probability of a random variable is dependent on his parents.<\/p>\n\n\n<figure class=\"wp-block-image size-large zoomable\" data-full=\"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/06\/image-2.png\"><img decoding=\"async\" width=\"306\" height=\"68\" src=\"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/06\/image-2.png\" alt=\"\" class=\"wp-image-16324\" srcset=\"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/06\/image-2.png 306w, https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/06\/image-2-300x67.png 300w\" sizes=\"(max-width: 306px) 100vw, 306px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"bayesian-network-in-python\"><strong>Bayesian Network in Python<\/strong><\/h2>\n\n\n\n<p>Let\u2019s write <a href=\"https:\/\/www.mygreatlearning.com\/blog\/python-tutorial-for-beginners-a-complete-guide\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Python (opens in a new tab)\">Python<\/a> code on the famous Monty Hall Problem. The&nbsp;Monty Hall problem&nbsp;is a brain teaser, in the form of a&nbsp;probability&nbsp;puzzle, loosely based on the American television game show&nbsp;Let's Make a Deal&nbsp;and named after its original host,&nbsp;Monty Hall.<\/p>\n\n\n\n<p>Suppose you're on a game show, and you're given the choice of three doors: Behind one door is a car; behind the others, goats. You pick a door, say No. 1, and the host, who knows what's behind the doors, opens another door, say No. 3, which has a goat. He then says to you, \"Do you want to pick door No. 2?\" Is it to your advantage to switch your choice?<\/p>\n\n\n\n<p>Let\u2019s build a model. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#Import packages\nimport math\nfrom pomegranate import *\n \n# The door selected by the guest is totally random\nguestSelection =DiscreteDistribution( { 'A': 1.\/3, 'B': 1.\/3, 'C': 1.\/3 } )\n \n# The door having the prize is also a random process\nprizeSelection =DiscreteDistribution( { 'A': 1.\/3, 'B': 1.\/3, 'C': 1.\/3 } )\n \n# The door host Monty picks, depends on the choice of the guestSelection and the prizeSelection\n\nmontySelection =ConditionalProbabilityTable(\n&#91;&#91; 'A', 'A', 'A', 0.0 ],\n&#91; 'A', 'A', 'B', 0.5 ],\n&#91; 'A', 'A', 'C', 0.5 ],\n&#91; 'A', 'B', 'A', 0.0 ],\n&#91; 'A', 'B', 'B', 0.0 ],\n&#91; 'A', 'B', 'C', 1.0 ],\n&#91; 'A', 'C', 'A', 0.0 ],\n&#91; 'A', 'C', 'B', 1.0 ],\n&#91; 'A', 'C', 'C', 0.0 ],\n&#91; 'B', 'A', 'A', 0.0 ],\n&#91; 'B', 'A', 'B', 0.0 ],\n&#91; 'B', 'A', 'C', 1.0 ],\n&#91; 'B', 'B', 'A', 0.5 ],\n&#91; 'B', 'B', 'B', 0.0 ],\n&#91; 'B', 'B', 'C', 0.5 ],\n&#91; 'B', 'C', 'A', 1.0 ],\n&#91; 'B', 'C', 'B', 0.0 ],\n&#91; 'B', 'C', 'C', 0.0 ],\n&#91; 'C', 'A', 'A', 0.0 ],\n&#91; 'C', 'A', 'B', 1.0 ],\n&#91; 'C', 'A', 'C', 0.0 ],\n&#91; 'C', 'B', 'A', 1.0 ],\n&#91; 'C', 'B', 'B', 0.0 ],\n&#91; 'C', 'B', 'C', 0.0 ],\n&#91; 'C', 'C', 'A', 0.5 ],\n&#91; 'C', 'C', 'B', 0.5 ],\n&#91; 'C', 'C', 'C', 0.0 ]], &#91;guestSelection, prizeSelection] )\n \nd1 = State(guestSelection, name=\"guest choice\" )\nd2 = State(prizeSelection, name=\"prize choice\" )\nd3 = State(montySelection, name=\"monty choice\" )\n \n#Lets Building the Bayesian Network\nnetwork = BayesianNetwork(\u201cMonty Hall Problem With Bayesian Networks\u201d)\nnetwork.add_states(d1, d2, d3)\nnetwork.add_edge(d1, d3)\nnetwork.add_edge(d2, d3)\nnetwork.bake()\n<\/code><\/pre>\n\n\n\n<p>Here, A, B, C denotes the door picked by the guest, prize containing door, and Monty\u2019s door.<\/p>\n\n\n\n<p>Let\u2019s make the predictions assuming guest picks A. Monty is going to pick up either B or C as A contains a prize.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>beliefs = network.predict_proba({ 'guestSelection' : 'A' })\nbeliefs = map(str, beliefs)\nprint(\"n\".join( \"{}t{}\".format( state.name, belief ) for state, belief in zip( network.states, beliefs ) ))\n \nguest A\nprize {\n\"class\" :\"Distribution\",\n\"dtype\" :\"str\",\n\"name\" :\"DiscreteDistribution\",\n\"parameters\" :&#91;\n{\n\"A\" :0.3333333333333333,\n\"B\" :0.3333333333333333,\n\"C\" :0.3333333333333333\n}\n],\n}\n \nmonty {\n\"class\" :\"Distribution\",\n\"dtype\" :\"str\",\n\"name\" :\"DiscreteDistribution\",\n\"parameters\" :&#91;\n{\n\"C\" :0.49999999999999983,\n\"A\" :0.0,\n\"B\" :0.49999999999999983\n}\n],\n}\n\n \nbeliefs = network.predict_proba({'guestSelection' : 'A', 'montySelection' : 'B'})\nprint(\"n\".join( \"{}t{}\".format( state.name, str(belief) ) for state, belief in zip( network.states, beliefs )))\n \nguest A\nprize {\n\"class\" :\"Distribution\",\n\"dtype\" :\"str\",\n\"name\" :\"DiscreteDistribution\",\n\"parameters\" :&#91;\n{\n\"A\" :0.3333333333333334,\n\"B\" :0.0,\n\"C\" :0.6666666666666664\n}\n],\n}\nmonty B\n<\/code><\/pre>\n\n\n\n<p>Here, guests select door A and Monty selects door B, and we can see the probability of moving from door A to door C is given as 0.66.<\/p>\n\n\n\n<p>Guests who switched the door, then their chances of winning are 66% and the guest who did not switch the door is 33%.<\/p>\n\n\n\n<p>Also Read:<a href=\"https:\/\/www.mygreatlearning.com\/blog\/introduction-to-naive-bayes\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" An Introduction to Naive Bayes (opens in a new tab)\"> An Introduction to Naive Bayes<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"application-of-bayesian-network\"><strong>Application of Bayesian Network <\/strong><\/h2>\n\n\n\n<p><strong>Healthcare Industry<\/strong>: The Bayesian network is used in the healthcare industry for the detection and prevention of diseases. Based on models built, we can find out the likely symptoms and predict whether a person will be diseased or not. For instance, if a person has cholesterol, then there are high chances that the person gets a heart problem. With this information, a person can take preventive measures.<\/p>\n\n\n\n<p><strong>Web Search<\/strong>: Bayesian Network modes can be used for search accuracy based on user intent. Based on the user\u2019s intent, these models show things that are relevant to the person. For instance, when we search for Python functions most of the time, then the web search model activates our intent and it makes sure to show relevant things to the user.<\/p>\n\n\n\n<p><strong>Mail Spam Filtering<\/strong>: Gmail is using Bayesian Models to filter the mails by reading or understanding the context of mail. For instance, we may have observed spam emails in the spam folder in Gmail. So, how are these emails classified as spams?&nbsp; Using the Bayesian model, which observes the mail and based on the previous experience and the probability it classifies mail as spam or not.<\/p>\n\n\n\n<p><strong>Biomonitoring<\/strong>: Bayesian Models are used to quantify the concentration of chemicals in blood and human tissues. These use indicators to measure blood and urine. To find the level of ECCs, one can conduct biometric studies.<\/p>\n\n\n\n<p><strong>Information Retrieval<\/strong>: Models can be used for retrieving information from the database. During this process, we refine our problem multiple times. It is used to reduce information overload.<\/p>\n\n\n\n<p><em>If you wish to learn more concepts related to Artificial Intelligence and Machine Learning, upskill with <a href=\"https:\/\/www.mygreatlearning.com\/pg-program-artificial-intelligence-course\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">Great Learning\u2019s PG program in Artificial Intelligence and Machine Learning<\/a>. <\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Contributed by: Rachit Jain LinkedIn profile: https:\/\/www.linkedin.com\/in\/rachit-jain-37b63677\/ The Bayesian network has given shape to most of the complex problems that provide less information and resources. It has been implemented in most of the advanced technologies like Artificial Intelligence and Machine learning. What is a Bayesian Network? A Bayesian network falls under the category of Probabilistic [&hellip;]<\/p>\n","protected":false},"author":41,"featured_media":16328,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[2],"tags":[],"content_type":[],"class_list":["post-16323","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-artificial-intelligence"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Understanding of Bayesian Network | What is Bayesian Networks &amp; Definition?<\/title>\n<meta name=\"description\" content=\"Bayesian Networks an Introduction: A Bayesian network falls under the category of Probabilistic Graphical Modelling technique, which is used to calculate uncertainties.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.mygreatlearning.com\/blog\/bayesian-network\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Bayesian Networks : An Introduction | What is Bayesian Networks and Definition?\" \/>\n<meta property=\"og:description\" content=\"Bayesian Networks an Introduction: A Bayesian network falls under the category of Probabilistic Graphical Modelling technique, which is used to calculate uncertainties.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.mygreatlearning.com\/blog\/bayesian-network\/\" \/>\n<meta property=\"og:site_name\" content=\"Great Learning Blog: Free Resources what Matters to shape your Career!\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/GreatLearningOfficial\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-07-02T13:32:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-02T11:47:17+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/06\/iStock-1133601255.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1365\" \/>\n\t<meta property=\"og:image:height\" content=\"768\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Great Learning Editorial Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/Great_Learning\" \/>\n<meta name=\"twitter:site\" content=\"@Great_Learning\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Great Learning Editorial Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/bayesian-network\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/bayesian-network\\\/\"},\"author\":{\"name\":\"Great Learning Editorial Team\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/person\\\/6f993d1be4c584a335951e836f2656ad\"},\"headline\":\"Bayesian Networks : An Introduction | What is Bayesian Networks and Definition?\",\"datePublished\":\"2020-07-02T13:32:34+00:00\",\"dateModified\":\"2024-09-02T11:47:17+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/bayesian-network\\\/\"},\"wordCount\":956,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/bayesian-network\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/iStock-1133601255.jpg\",\"articleSection\":[\"AI and Machine Learning\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/bayesian-network\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/bayesian-network\\\/\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/bayesian-network\\\/\",\"name\":\"Understanding of Bayesian Network | What is Bayesian Networks & Definition?\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/bayesian-network\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/bayesian-network\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/iStock-1133601255.jpg\",\"datePublished\":\"2020-07-02T13:32:34+00:00\",\"dateModified\":\"2024-09-02T11:47:17+00:00\",\"description\":\"Bayesian Networks an Introduction: A Bayesian network falls under the category of Probabilistic Graphical Modelling technique, which is used to calculate uncertainties.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/bayesian-network\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/bayesian-network\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/bayesian-network\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/iStock-1133601255.jpg\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/iStock-1133601255.jpg\",\"width\":1365,\"height\":768,\"caption\":\"bayesian network\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/bayesian-network\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AI and Machine Learning\",\"item\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/artificial-intelligence\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Bayesian Networks : An Introduction | What is Bayesian Networks and Definition?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\",\"name\":\"Great Learning Blog\",\"description\":\"Learn, Upskill &amp; Career Development Guide and Resources\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\"},\"alternateName\":\"Great Learning\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\",\"name\":\"Great Learning\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/GL-Logo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/GL-Logo.jpg\",\"width\":900,\"height\":900,\"caption\":\"Great Learning\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/GreatLearningOfficial\\\/\",\"https:\\\/\\\/x.com\\\/Great_Learning\",\"https:\\\/\\\/www.instagram.com\\\/greatlearningofficial\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/school\\\/great-learning\\\/\",\"https:\\\/\\\/in.pinterest.com\\\/greatlearning12\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/beaconelearning\\\/\"],\"description\":\"Great Learning is a leading global ed-tech company for professional training and higher education. It offers comprehensive, industry-relevant, hands-on learning programs across various business, technology, and interdisciplinary domains driving the digital economy. These programs are developed and offered in collaboration with the world's foremost academic institutions.\",\"email\":\"info@mygreatlearning.com\",\"legalName\":\"Great Learning Education Services Pvt. Ltd\",\"foundingDate\":\"2013-11-29\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"1001\",\"maxValue\":\"5000\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/person\\\/6f993d1be4c584a335951e836f2656ad\",\"name\":\"Great Learning Editorial Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"caption\":\"Great Learning Editorial Team\"},\"description\":\"The Great Learning Editorial Staff includes a dynamic team of subject matter experts, instructors, and education professionals who combine their deep industry knowledge with innovative teaching methods. Their mission is to provide learners with the skills and insights needed to excel in their careers, whether through upskilling, reskilling, or transitioning into new fields.\",\"sameAs\":[\"https:\\\/\\\/www.mygreatlearning.com\\\/\",\"https:\\\/\\\/in.linkedin.com\\\/school\\\/great-learning\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/Great_Learning\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCObs0kLIrDjX2LLSybqNaEA\"],\"award\":[\"Best EdTech Company of the Year 2024\",\"Education Economictimes Outstanding Education\\\/Edtech Solution Provider of the Year 2024\",\"Leading E-learning Platform 2024\"],\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/author\\\/greatlearning\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Understanding of Bayesian Network | What is Bayesian Networks & Definition?","description":"Bayesian Networks an Introduction: A Bayesian network falls under the category of Probabilistic Graphical Modelling technique, which is used to calculate uncertainties.","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:\/\/www.mygreatlearning.com\/blog\/bayesian-network\/","og_locale":"en_US","og_type":"article","og_title":"Bayesian Networks : An Introduction | What is Bayesian Networks and Definition?","og_description":"Bayesian Networks an Introduction: A Bayesian network falls under the category of Probabilistic Graphical Modelling technique, which is used to calculate uncertainties.","og_url":"https:\/\/www.mygreatlearning.com\/blog\/bayesian-network\/","og_site_name":"Great Learning Blog: Free Resources what Matters to shape your Career!","article_publisher":"https:\/\/www.facebook.com\/GreatLearningOfficial\/","article_published_time":"2020-07-02T13:32:34+00:00","article_modified_time":"2024-09-02T11:47:17+00:00","og_image":[{"width":1365,"height":768,"url":"http:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/06\/iStock-1133601255.jpg","type":"image\/jpeg"}],"author":"Great Learning Editorial Team","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/Great_Learning","twitter_site":"@Great_Learning","twitter_misc":{"Written by":"Great Learning Editorial Team","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.mygreatlearning.com\/blog\/bayesian-network\/#article","isPartOf":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/bayesian-network\/"},"author":{"name":"Great Learning Editorial Team","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/person\/6f993d1be4c584a335951e836f2656ad"},"headline":"Bayesian Networks : An Introduction | What is Bayesian Networks and Definition?","datePublished":"2020-07-02T13:32:34+00:00","dateModified":"2024-09-02T11:47:17+00:00","mainEntityOfPage":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/bayesian-network\/"},"wordCount":956,"commentCount":0,"publisher":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/bayesian-network\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/06\/iStock-1133601255.jpg","articleSection":["AI and Machine Learning"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.mygreatlearning.com\/blog\/bayesian-network\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.mygreatlearning.com\/blog\/bayesian-network\/","url":"https:\/\/www.mygreatlearning.com\/blog\/bayesian-network\/","name":"Understanding of Bayesian Network | What is Bayesian Networks & Definition?","isPartOf":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/bayesian-network\/#primaryimage"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/bayesian-network\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/06\/iStock-1133601255.jpg","datePublished":"2020-07-02T13:32:34+00:00","dateModified":"2024-09-02T11:47:17+00:00","description":"Bayesian Networks an Introduction: A Bayesian network falls under the category of Probabilistic Graphical Modelling technique, which is used to calculate uncertainties.","breadcrumb":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/bayesian-network\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.mygreatlearning.com\/blog\/bayesian-network\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/bayesian-network\/#primaryimage","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/06\/iStock-1133601255.jpg","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/06\/iStock-1133601255.jpg","width":1365,"height":768,"caption":"bayesian network"},{"@type":"BreadcrumbList","@id":"https:\/\/www.mygreatlearning.com\/blog\/bayesian-network\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/www.mygreatlearning.com\/blog\/"},{"@type":"ListItem","position":2,"name":"AI and Machine Learning","item":"https:\/\/www.mygreatlearning.com\/blog\/artificial-intelligence\/"},{"@type":"ListItem","position":3,"name":"Bayesian Networks : An Introduction | What is Bayesian Networks and Definition?"}]},{"@type":"WebSite","@id":"https:\/\/www.mygreatlearning.com\/blog\/#website","url":"https:\/\/www.mygreatlearning.com\/blog\/","name":"Great Learning Blog","description":"Learn, Upskill &amp; Career Development Guide and Resources","publisher":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization"},"alternateName":"Great Learning","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.mygreatlearning.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization","name":"Great Learning","url":"https:\/\/www.mygreatlearning.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/06\/GL-Logo.jpg","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/06\/GL-Logo.jpg","width":900,"height":900,"caption":"Great Learning"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/GreatLearningOfficial\/","https:\/\/x.com\/Great_Learning","https:\/\/www.instagram.com\/greatlearningofficial\/","https:\/\/www.linkedin.com\/school\/great-learning\/","https:\/\/in.pinterest.com\/greatlearning12\/","https:\/\/www.youtube.com\/user\/beaconelearning\/"],"description":"Great Learning is a leading global ed-tech company for professional training and higher education. It offers comprehensive, industry-relevant, hands-on learning programs across various business, technology, and interdisciplinary domains driving the digital economy. These programs are developed and offered in collaboration with the world's foremost academic institutions.","email":"info@mygreatlearning.com","legalName":"Great Learning Education Services Pvt. Ltd","foundingDate":"2013-11-29","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"1001","maxValue":"5000"}},{"@type":"Person","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/person\/6f993d1be4c584a335951e836f2656ad","name":"Great Learning Editorial Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","caption":"Great Learning Editorial Team"},"description":"The Great Learning Editorial Staff includes a dynamic team of subject matter experts, instructors, and education professionals who combine their deep industry knowledge with innovative teaching methods. Their mission is to provide learners with the skills and insights needed to excel in their careers, whether through upskilling, reskilling, or transitioning into new fields.","sameAs":["https:\/\/www.mygreatlearning.com\/","https:\/\/in.linkedin.com\/school\/great-learning\/","https:\/\/x.com\/https:\/\/twitter.com\/Great_Learning","https:\/\/www.youtube.com\/channel\/UCObs0kLIrDjX2LLSybqNaEA"],"award":["Best EdTech Company of the Year 2024","Education Economictimes Outstanding Education\/Edtech Solution Provider of the Year 2024","Leading E-learning Platform 2024"],"url":"https:\/\/www.mygreatlearning.com\/blog\/author\/greatlearning\/"}]}},"uagb_featured_image_src":{"full":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/06\/iStock-1133601255.jpg",1365,768,false],"thumbnail":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/06\/iStock-1133601255-150x150.jpg",150,150,true],"medium":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/06\/iStock-1133601255-300x169.jpg",300,169,true],"medium_large":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/06\/iStock-1133601255-768x432.jpg",768,432,true],"large":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/06\/iStock-1133601255-1024x576.jpg",1024,576,true],"1536x1536":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/06\/iStock-1133601255.jpg",1365,768,false],"2048x2048":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/06\/iStock-1133601255.jpg",1365,768,false],"web-stories-poster-portrait":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/06\/iStock-1133601255.jpg",640,360,false],"web-stories-publisher-logo":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/06\/iStock-1133601255.jpg",96,54,false],"web-stories-thumbnail":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/06\/iStock-1133601255.jpg",150,84,false]},"uagb_author_info":{"display_name":"Great Learning Editorial Team","author_link":"https:\/\/www.mygreatlearning.com\/blog\/author\/greatlearning\/"},"uagb_comment_info":0,"uagb_excerpt":"Contributed by: Rachit Jain LinkedIn profile: https:\/\/www.linkedin.com\/in\/rachit-jain-37b63677\/ The Bayesian network has given shape to most of the complex problems that provide less information and resources. It has been implemented in most of the advanced technologies like Artificial Intelligence and Machine learning. What is a Bayesian Network? A Bayesian network falls under the category of Probabilistic&hellip;","_links":{"self":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts\/16323","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/users\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/comments?post=16323"}],"version-history":[{"count":15,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts\/16323\/revisions"}],"predecessor-version":[{"id":85777,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts\/16323\/revisions\/85777"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/media\/16328"}],"wp:attachment":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/media?parent=16323"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/categories?post=16323"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/tags?post=16323"},{"taxonomy":"content_type","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/content_type?post=16323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}