{"id":16299,"date":"2019-10-07T14:36:47","date_gmt":"2019-10-07T18:36:47","guid":{"rendered":"https:\/\/bangla.salearningschool.com\/recent-posts\/graph-mining-small-world-graphs-random-graph-generators-learn-by-finding-answers-to-the-following-questions\/"},"modified":"2019-10-10T14:44:38","modified_gmt":"2019-10-10T18:44:38","slug":"graph-mining-small-world-graphs-random-graph-generators-learn-by-finding-answers-to-the-following-questions","status":"publish","type":"post","link":"http:\/\/bangla.sitestree.com\/?p=16299","title":{"rendered":"Graph Mining: SMALL WORLD GRAPHS &#038; RANDOM GRAPH GENERATORS: Learn by finding answers to the following questions."},"content":{"rendered":"<p>Graph Mining &#8211; 002: SMALL WORLD GRAPHS &amp; RANDOM GRAPH GENERATORS<\/p>\n<p>Graph Mining: SMALL WORLD GRAPHS &amp; RANDOM GRAPH GENERATORS: Learn by finding answers to the following questions.<\/p>\n<p>Can you answer the following?<\/p>\n<p>What is a Graph?<\/p>\n<p>Can you define graph formally?<\/p>\n<p>What are the components in a Graph?<\/p>\n<p>What are edges and nodes or vertices in a Graph?<\/p>\n<p>Can you provide examples of Graphs? in Areas such as Science, Engineering, Medical, Biology, Social Sciences, Internet Applications, Social Media?<\/p>\n<p>Can you draw a simple graph?<\/p>\n<p>What is a Random Graph?<\/p>\n<p>What do you use to answer questions about the properties of typical graphs?<\/p>\n<p>What is the purpose of a Random Graph?<\/p>\n<p>What types of graphs you use to answer questions about the properties of typical graphs?<\/p>\n<p>How can you generate a Random Graph?<\/p>\n<p>What is known as Small World Properties for Graphs?<\/p>\n<p>Give some examples of Real Graphs<\/p>\n<p>What is the connection between Real Graphs and Small World Properties?<\/p>\n<p>What are some properties of Small World Networks?<\/p>\n<p>Can you give examples of Non Small World Networks?<\/p>\n<p>For small World Graphs &#8211; what will be the average path lengths (count of vertices) &#8211; a large number of a small number?<\/p>\n<p>Are small world graphs sparse or dense?<\/p>\n<p>What is power law distribution? How does that related to Small World Graphs?<\/p>\n<p>How can you relate Power Law Distribution to Github network?<\/p>\n<p>What is power law in statistics?<\/p>\n<p>Can you name some Random Graph Generators? What is the purpose? What will they do actually in general? Why will you use these generators.<\/p>\n<p>When edges are created between vertices with probability p : what is this mode of generation called? Is it a Random Graph? Why?<\/p>\n<p>What happens when p = probability is closer to 0? what when p is closer to 1?<\/p>\n<p>What is weight in a random graph Generator for example in the above case?<\/p>\n<p>When a Graph is generated using the probability approach &#8211; what is the order of the maximum size graph?<\/p>\n<p>Can you represent the graph generated above as G(n, p)? n = number of vertices, p = probability<\/p>\n<p>For the above case, what happens when np &lt; 1 ?<\/p>\n<p>For the above case, what happens when np = 1 ? Can np be &gt; 1?<\/p>\n<p>When a Graph G(n, p) is generated using the probability approach as mentioned above &#8211; and when np &lt; 1, what is the order of the size of a connected component? is it O(n), or o(n), O(log(n)), O(Olog(n)). Check answer section<\/p>\n<p>What is Erdos Renyi? Is it the name of a Random Graph Generator or the name of a small world property or a statistical law?<\/p>\n<p>For Erdos Renyi, is the average path length short?<\/p>\n<p>For Erdos Renyi, do they exhibit local clustering?<\/p>\n<p>Is local clustering a property of small world graphs?<\/p>\n<p>For Erdos Renyi, does it show Skewed degree distribution i.e. skewed power law distribution?<\/p>\n<p>For Erdos Renyi, does it show poission distribution?<\/p>\n<p>What is poission distribution? anyway?<\/p>\n<p>Can you relate poission distribution to Banks or a Diagnostic Center?<\/p>\n<p>What is Watts\u2013Strogatz model for Random Graph Generation? How does it work?<\/p>\n<p>Does Watts\u2013Strogatz model create a directed graph or an undirected graph?<\/p>\n<p>For Watts\u2013Strogatz model, if the desired Node count is N, then what will be the output edge count? You can introduce and define a new parameter if required.<\/p>\n<p>For Watts\u2013Strogatz, is the average path length short?<\/p>\n<p>For Watts\u2013Strogatz, do they exhibit local clustering?<\/p>\n<p>Is local clustering a propery of small world graphs?<\/p>\n<p>For Watts\u2013Strogatz, does it show Skewed degree distribution i.e. skeweed power law distribution?<\/p>\n<p>For Watts\u2013Strogatz, does it show poission distribution?<\/p>\n<p>how does Watts\u2013Strogatz relate to Dirac Delta Function?<\/p>\n<p>what is Barab\u00e1si\u2013Albert (BA) model? Is it the name of a Random Graph Generator or the name of a small world property or a statistical law?<\/p>\n<p>How does Barab\u00e1si\u2013Albert (BA) model work? i.e. the steps i.e. the methods<\/p>\n<p>For Barab\u00e1si\u2013Albert (BA) model, how is a new node added?<\/p>\n<p>For Barab\u00e1si\u2013Albert (BA) model, does it start with an empty graph or with an already connected graph?<\/p>\n<p>For Barab\u00e1si\u2013Albert (BA) model, how a new node is connected to an existing node? What does it depend upon? How does a probability play a role?<\/p>\n<p>For Barab\u00e1si\u2013Albert (BA) model, which nodes will accumulate more links quickly?<\/p>\n<p>For Barab\u00e1si\u2013Albert (BA) model, which nodes will starve for new links?<\/p>\n<p>For Barab\u00e1si\u2013Albert (BA) model, is the average path length short?<\/p>\n<p>For Barab\u00e1si\u2013Albert (BA) model, do they exhibit local clustering?<\/p>\n<p>For Barab\u00e1si\u2013Albert (BA) model, does it show Skewed degree distribution i.e. skeweed power law distribution?<\/p>\n<p><strong>Answers:<\/strong><\/p>\n<p>How can you generate a Random Graph?<br \/>\nStart with n isolated vertices, Add successive edges between them at random<\/p>\n<p>Give some examples of Real Graphs<br \/>\nFood webs, Electric power grids, Metabolite processing networks, Networks of brain neurons, Voter networks, Social influence networks, Co-occurrence networks, Networks of connected proteins<\/p>\n<p>What are some properties of Small World Networks?<br \/>\n&quot;Properties of small-world networks<br \/>\nSmall-world networks tend to contain cliques, and near-cliques, meaning sub-networks which have connections between almost any two nodes within them. This follows from the defining property of a high clustering coefficient. Secondly, most pairs of nodes will be connected by at least one short path. This follows from the defining property that the mean-shortest path length be small. Several other properties are often associated with small-world networks. Typically there is an over-abundance of hubs \u2013 nodes in the network with a high number of connections (known as high degree nodes). These hubs serve as the common connections mediating the short path lengths between other edges. By analogy, the small-world network of airline flights has a small mean-path length&quot;<br \/>\nReference: <a href=\"https:\/\/en.wikipedia.org\/wiki\/Small-world_network#Examples_of_small-world_networks\">https:\/\/en.wikipedia.org\/wiki\/Small-world_network#Examples_of_small-world_networks<\/a><\/p>\n<p>Can you give examples of Non Small World Networks?<br \/>\nAns: Check: Reference: <a href=\"https:\/\/en.wikipedia.org\/wiki\/Small-world_network#Examples_of_small-world_networks\">https:\/\/en.wikipedia.org\/wiki\/Small-world_network#Examples_of_small-world_networks<\/a><\/p>\n<p>What is power law in statistics?<br \/>\n&quot;In statistics, a power law is a functional relationship between two quantities, where a relative change in one quantity results in a proportional relative change in the other quantity, independent of the initial size of those quantities: &quot;<br \/>\n<a href=\"https:\/\/en.wikipedia.org\/wiki\/Power_law#Power-law_probability_distributions\">https:\/\/en.wikipedia.org\/wiki\/Power_law#Power-law_probability_distributions<\/a><\/p>\n<p>Can you name some Random Graph Generators?<br \/>\nErd\u0151s\u2013R\u00e9nyi model, Watts\u2013Strogatz model, Barab\u00e1si\u2013Albert (BA) model<\/p>\n<p>When a Graph is generated using the probability approach &#8211; what is the order of the maximum size graph? Check answer<br \/>\nn to the power 2\/3<\/p>\n<p>For Watts\u2013Strogatz model, if the desired Node count is N, then what will be the output edge count? Ans: NK\/2<\/p>\n<p>Watts\u2013Strogatz model<br \/>\nK = mean degree = an even number<br \/>\nB = a special parameter<br \/>\nN &gt;&gt; K &gt;&gt; ln(K) &gt;&gt; 1<\/p>\n<p>Check degree distribution for Watts\u2013Strogatz model at: <a href=\"https:\/\/en.wikipedia.org\/wiki\/Watts%E2%80%93Strogatz_model\">https:\/\/en.wikipedia.org\/wiki\/Watts%E2%80%93Strogatz_model<\/a><br \/>\n&quot;The degree distribution in the case of the ring lattice is just a Dirac delta function centered at {\\displaystyle K}K. The degree distribution for {\\displaystyle 0&lt;\\beta &lt;1}0&lt;\\beta &lt;1 can be written as:<\/p>\n<p><strong>Resources:<\/strong><br \/>\nGraph mining &#8211; lesson 1: Introduction to graphs and networks<br \/>\n<a href=\"http:\/\/www.nathalievialaneix.eu\/teaching\/m2se\/M2SE-network_1.pdf\">http:\/\/www.nathalievialaneix.eu\/teaching\/m2se\/M2SE-network_1.pdf<\/a><\/p>\n<p>Erd\u0151s\u2013R\u00e9nyi model<br \/>\n<a href=\"https:\/\/en.wikipedia.org\/wiki\/Erd%C5%91s%E2%80%93R%C3%A9nyi_model\">https:\/\/en.wikipedia.org\/wiki\/Erd%C5%91s%E2%80%93R%C3%A9nyi_model<\/a><\/p>\n<p>Random Graphs<br \/>\n<a href=\"https:\/\/en.wikipedia.org\/wiki\/Random_graph\">https:\/\/en.wikipedia.org\/wiki\/Random_graph<\/a><\/p>\n<p>Examples of small-world networks<br \/>\n<a href=\"https:\/\/en.wikipedia.org\/wiki\/Small-world_network#Examples_of_small-world_networks\">https:\/\/en.wikipedia.org\/wiki\/Small-world_network#Examples_of_small-world_networks<\/a><\/p>\n<p>Case Study: Small World Phenomenon<br \/>\n<a href=\"https:\/\/introcs.cs.princeton.edu\/java\/45graph\/\">https:\/\/introcs.cs.princeton.edu\/java\/45graph\/<\/a><\/p>\n<p>Random Graphs: Model of Social Networks<br \/>\n<a href=\"http:\/\/www.pnas.org\/content\/99\/suppl_1\/2566\">http:\/\/www.pnas.org\/content\/99\/suppl_1\/2566<\/a><\/p>\n<p>Power Law Distribution<br \/>\n<a href=\"https:\/\/en.wikipedia.org\/wiki\/Power_law#Power-law_probability_distributions\">https:\/\/en.wikipedia.org\/wiki\/Power_law#Power-law_probability_distributions<\/a><\/p>\n<p>Poisson distribution<br \/>\n<a href=\"https:\/\/en.wikipedia.org\/wiki\/Poisson_distribution\">https:\/\/en.wikipedia.org\/wiki\/Poisson_distribution<\/a><\/p>\n<p>Watts\u2013Strogatz model<br \/>\n<a href=\"https:\/\/en.wikipedia.org\/wiki\/Watts%E2%80%93Strogatz_model\">https:\/\/en.wikipedia.org\/wiki\/Watts%E2%80%93Strogatz_model<\/a><\/p>\n<p>Dirac delta function<br \/>\nEverywhere it is zero except at zero<br \/>\n<a href=\"https:\/\/en.wikipedia.org\/wiki\/Dirac_delta_function\">https:\/\/en.wikipedia.org\/wiki\/Dirac_delta_function<\/a><\/p>\n<p>Barab\u00e1si\u2013Albert (BA):<br \/>\n<a href=\"https:\/\/en.wikipedia.org\/wiki\/Barab%C3%A1si%E2%80%93Albert_model#Degree_distribution\">https:\/\/en.wikipedia.org\/wiki\/Barab%C3%A1si%E2%80%93Albert_model#Degree_distribution<\/a><\/p>\n<p>Random Graph Generators in Python Libraries<br \/>\n<a href=\"https:\/\/networkx.github.io\/documentation\/networkx-1.10\/reference\/generators.html\">https:\/\/networkx.github.io\/documentation\/networkx-1.10\/reference\/generators.html<\/a><\/p>\n<p>Random Graph Generators in R Libraries<br \/>\n<a href=\"https:\/\/rpubs.com\/lgadar\/generate-graphs\">https:\/\/rpubs.com\/lgadar\/generate-graphs<\/a><\/p>\n<p>By<br \/>\n<strong>Sayed Ahmed<\/strong><\/p>\n<p><strong>Linkedin<\/strong>: <a href=\"https:\/\/ca.linkedin.com\/in\/sayedjustetc\">https:\/\/ca.linkedin.com\/in\/sayedjustetc<\/a><\/p>\n<p><strong>Blog<\/strong>: <a href=\"http:\/\/bangla.salearningschool.com\/\">http:\/\/Bangla.SaLearningSchool.com<\/a>, <a href=\"http:\/\/sitestree.com\">http:\/\/SitesTree.com<\/a><br \/>\n<strong>Online and Offline Training<\/strong>: <a href=\"http:\/\/training.SitesTree.com\">http:\/\/Training.SitesTree.com<\/a><\/p>\n<p><strong>Affiliate Links:<\/strong><br \/>\nHottest Deals on Amazon USA: <a href=\"http:\/\/tiny.cc\/38lddz\">http:\/\/tiny.cc\/38lddz<\/a><\/p>\n<p>Hottest Deals on Amazon CA: <a href=\"http:\/\/tiny.cc\/bgnddz\">http:\/\/tiny.cc\/bgnddz<\/a><\/p>\n<p>Hottest Deals on Amazon Europe: <a href=\"http:\/\/tiny.cc\/w4nddz\">http:\/\/tiny.cc\/w4nddz<br \/>\n<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Graph Mining &#8211; 002: SMALL WORLD GRAPHS &amp; RANDOM GRAPH GENERATORS Graph Mining: SMALL WORLD GRAPHS &amp; RANDOM GRAPH GENERATORS: Learn by finding answers to the following questions. Can you answer the following? What is a Graph? Can you define graph formally? What are the components in a Graph? What are edges and nodes or &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"http:\/\/bangla.sitestree.com\/?p=16299\">Continue reading<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1905,182],"tags":[],"class_list":["post-16299","post","type-post","status-publish","format-standard","hentry","category-graph-mining","category---blog","item-wrap"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":22873,"url":"http:\/\/bangla.sitestree.com\/?p=22873","url_meta":{"origin":16299,"position":0},"title":"Graph Mining: Learning Resources","author":"Sayed","date":"March 21, 2021","format":false,"excerpt":"Resources: Public URLs Graph Mining: Introducing Graphs: Learn by finding answers to the following questions?\u00a0http:\/\/bangla.salearningschool.com\/recent-posts\/graph-mining-introducing-graphs-learn-by-finding-answers-to-the-following-questions\/ Graph Mining: What is Graph Mining? Learn by finding answers to the following questions. Can you answer the following questions?\u00a0http:\/\/bangla.salearningschool.com\/recent-posts\/graph-mining-what-is-graph-mining-learn-by-finding-answers-to-the-following-questions-can-you-answer-the-following-questions\/ Graph Mining: Shared Nearest Neighbors : Clustering : Community Detection.\u00a0http:\/\/bangla.salearningschool.com\/recent-posts\/graph-mining-shared-nearest-neighbors-clustering-community-detection\/ Graph Mining: Betweenness Based Clustering:\u2026","rel":"","context":"In &quot;Graph Mining&quot;","block_context":{"text":"Graph Mining","link":"http:\/\/bangla.sitestree.com\/?cat=1905"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":16311,"url":"http:\/\/bangla.sitestree.com\/?p=16311","url_meta":{"origin":16299,"position":1},"title":"Graph Mining: What is Graph Mining? Learn by finding answers to the following questions. Can you answer the following questions?","author":"Sayed","date":"October 9, 2019","format":false,"excerpt":"Graph Mining: What is Graph Mining? Learn by finding answers to the following questions. Can you answer the following questions? What is Graph Mining? What is a Graph anyway? Is Graph mining just a kind of Machine Learning? i.e. is Machine Learning the only primary component of Graph Mining? Does\u2026","rel":"","context":"In &quot;AI ML DS RL DL NN NLP Data Mining Optimization&quot;","block_context":{"text":"AI ML DS RL DL NN NLP Data Mining Optimization","link":"http:\/\/bangla.sitestree.com\/?cat=1910"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":16312,"url":"http:\/\/bangla.sitestree.com\/?p=16312","url_meta":{"origin":16299,"position":2},"title":"Graph Mining: Introducing Graphs: Learn by finding answers to the following questions?","author":"Sayed","date":"October 10, 2019","format":false,"excerpt":"Graph Mining: Introducing Graphs: Learn by finding answers to the following questions? Questions What is a Graph? Give an example of a Graph? What are the different Types of Graphs? i.e. Try to give some examples of different ways how Graphs are classified? What is a directed Graph? What is\u2026","rel":"","context":"In &quot;AI ML DS RL DL NN NLP Data Mining Optimization&quot;","block_context":{"text":"AI ML DS RL DL NN NLP Data Mining Optimization","link":"http:\/\/bangla.sitestree.com\/?cat=1910"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":22871,"url":"http:\/\/bangla.sitestree.com\/?p=22871","url_meta":{"origin":16299,"position":3},"title":"Graph Mining: Possible Course Topics","author":"Sayed","date":"March 21, 2021","format":false,"excerpt":"Course Topics Graph Theory Introduction,\u00a0Graph Mining Introduction,\u00a0Network Properties, Random Graphs, Small World Graphs,\u00a0Node Importance,\u00a0Node Similarity,\u00a0Clustering & Community Detection,\u00a0Link Prediction,\u00a0Anomaly detection,\u00a0Time Evolving Graphs,\u00a0Influence\/Virus Propagation,\u00a0Graph Mining Use Cases,\u00a0Big Data Graph Databases,\u00a0Big Data Graph ProcessingLast modified: Wednesday, 23 October 2019, 12:44 PM Shop Online:\u00a0https:\/\/www.ShopForSoul.com\/ 8112223 Canada Inc.\/JustEtc: http:\/\/JustEtc.net Linkedin: https:\/\/ca.linkedin.com\/in\/sayedjustetc Courses:\u00a0http:\/\/Training.SitesTree.com\u00a0(Big Data, Cloud,\u2026","rel":"","context":"In &quot;Graph Mining&quot;","block_context":{"text":"Graph Mining","link":"http:\/\/bangla.sitestree.com\/?cat=1905"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":26231,"url":"http:\/\/bangla.sitestree.com\/?p=26231","url_meta":{"origin":16299,"position":4},"title":"Graph Mining: Introducing Graphs: Learn by finding answers to the following questions? #Root","author":"Author-Check- Article-or-Video","date":"April 20, 2021","format":false,"excerpt":"Graph Mining: Introducing Graphs: Learn by finding answers to the following questions? Questions What is a Graph? Give an example of a Graph? What are the different Types of Graphs? i.e. Try to give some examples of different ways how Graphs are classified? What is a directed Graph? What is\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":16300,"url":"http:\/\/bangla.sitestree.com\/?p=16300","url_meta":{"origin":16299,"position":5},"title":"Graph Mining: Community Detection: Learn by finding answers to the following questions. Can you answer the following questions on Community Detection?","author":"Sayed","date":"October 7, 2019","format":false,"excerpt":"Graph Mining: Community Detection: Learn by finding answers to the following questions. Can you answer the following questions on Community Detection? What is a community anyway? Describe from your real-world\/social understanding of it? Can you relate it to the Graphs concept in Computer Science? In your daily life do you\u2026","rel":"","context":"In &quot;AI ML DS RL DL NN NLP Data Mining Optimization&quot;","block_context":{"text":"AI ML DS RL DL NN NLP Data Mining Optimization","link":"http:\/\/bangla.sitestree.com\/?cat=1910"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/16299","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=16299"}],"version-history":[{"count":1,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/16299\/revisions"}],"predecessor-version":[{"id":16319,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/16299\/revisions\/16319"}],"wp:attachment":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=16299"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=16299"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=16299"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}