<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0"><channel><title><![CDATA[Data For Science: Graphs]]></title><description><![CDATA[Graphs For Data Science]]></description><link>https://data4sci.substack.com/s/graphs</link><image><url>https://substackcdn.com/image/fetch/$s_!4Dtu!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fc84f944b-a7ca-472c-bccb-7f9f18ad0bfa_540x540.png</url><title>Data For Science: Graphs</title><link>https://data4sci.substack.com/s/graphs</link></image><generator>Substack</generator><lastBuildDate>Thu, 02 Jul 2026 22:36:33 GMT</lastBuildDate><atom:link href="https://data4sci.substack.com/feed" rel="self" type="application/rss+xml"/><copyright><![CDATA[Data For Science, Inc]]></copyright><language><![CDATA[en]]></language><webMaster><![CDATA[data4sci@substack.com]]></webMaster><itunes:owner><itunes:email><![CDATA[data4sci@substack.com]]></itunes:email><itunes:name><![CDATA[Bruno Gonçalves]]></itunes:name></itunes:owner><itunes:author><![CDATA[Bruno Gonçalves]]></itunes:author><googleplay:owner><![CDATA[data4sci@substack.com]]></googleplay:owner><googleplay:email><![CDATA[data4sci@substack.com]]></googleplay:email><googleplay:author><![CDATA[Bruno Gonçalves]]></googleplay:author><itunes:block><![CDATA[Yes]]></itunes:block><item><title><![CDATA[Graph Neural Networks 101]]></title><description><![CDATA[Predicting Molecular Properties from Scratch]]></description><link>https://data4sci.substack.com/p/graph-neural-networks-101</link><guid isPermaLink="false">https://data4sci.substack.com/p/graph-neural-networks-101</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Sun, 12 Apr 2026 14:45:21 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!LVU1!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4924a0f-e943-4c55-9a6b-3dc9d2f4353f_5844x3012.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Welcome to the latest post in the Graphs for Data Science substack. In this post, we explore the fundamentals of Graph Neural Networks using a fascinating dataset on molecular structures.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://data4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><p>As always, you can find the companion notebook on the Graphs for Data Science GitHub repository:</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://github.com/DataForScience/Graphs4Sci&quot;,&quot;text&quot;:&quot;Graphs For Data Science GitHub&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://github.com/DataForScience/Graphs4Sci"><span>Graphs For Data Science GitHub</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!IHgW!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!IHgW!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!IHgW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png" width="1400" height="76" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:76,&quot;width&quot;:1400,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!IHgW!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p>In this post, we&#8217;re flipping our usual script, and instead of focusing on <em><strong>analyzing</strong></em> a graph, we&#8217;re going to <em><strong>learn</strong></em> from one. We&#8217;ll build a neural network to predict a molecule's solubility in water purely from the graph structure of the connections between atoms. The family of models that pulls this off goes by the name <a href="https://en.wikipedia.org/wiki/Graph_neural_network">Graph Neural Networks (GNNs)</a>, and they&#8217;ve quietly become one of the most versatile tools in the modern ML toolkit.</p><p>For the sake of convenience (and a shiny new dataset), we&#8217;re using molecules as our playground. Still, the core ideas: message passing, neighborhood aggregation, and graph-level readout are applicable anywhere you encounter graph structure: social networks, road systems, knowledge&#8230;</p>
      <p>
          <a href="https://data4sci.substack.com/p/graph-neural-networks-101">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[k-Core Decomposition]]></title><description><![CDATA[Exploring the degree correlations of real world networks]]></description><link>https://data4sci.substack.com/p/k-core-decomposition</link><guid isPermaLink="false">https://data4sci.substack.com/p/k-core-decomposition</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Sat, 24 Feb 2024 17:57:14 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F332d1bcf-b37d-4758-9186-3f6d01c16646_5844x2902.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Welcome to the latest post in the Graphs for Data Science substack. In this post, we explore the structure of networks using k-core decomposition, a unique way to probe the connectivity patterns of complex networks. </p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://data4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!IHgW!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!IHgW!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!IHgW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png" width="1400" height="76" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:76,&quot;width&quot;:1400,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!IHgW!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p>Real-world networks are typically large and hard to visualize, leading to the development of sophisticated methods and algorithms, such as <a href="https://graphs4sci.substack.com/p/network-assortativity-and-the-configurational">degree correlations</a>, <a href="https://graphs4sci.substack.com/p/kahns-algorithm-for-topological-sorting">network structure</a>, and <a href="https://graphs4sci.substack.com/p/community-structure-and-modularity">modularity</a>, to explore their structure systematically. In this post, we continue this exploration by learning about <strong><a href="https://en.wikipedia.org/wiki/Degeneracy_(graph_theory)#k-Cores">k</a></strong><a href="https://en.wikipedia.org/wiki/Degeneracy_(graph_theory)#k-Cores">-core decomposition</a>. </p><p>The <strong>k</strong>-core of a graph is the largest subgraph where every node has degree of at least <strong>k.</strong> The <strong>k</strong>-core can easily computed by recursively removing every node of degree less than <strong>k.</strong> In Python, this can done with:</p>
      <p>
          <a href="https://data4sci.substack.com/p/k-core-decomposition">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Network Attacks]]></title><description><![CDATA[Breaking up a network without observing it completely]]></description><link>https://data4sci.substack.com/p/network-attacks</link><guid isPermaLink="false">https://data4sci.substack.com/p/network-attacks</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Sun, 16 Oct 2022 23:27:47 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/h_600,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Faa27287f-2f65-4f72-85ab-21ab96e83407_3684x2484.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Welcome to the latest post of Graphs for Data Science. This week we consider how to attack a network, even when we don&#8217;t have complete information about all the nodes and edges. </p><p>Thanks to node correlations, we can (preferentially) reach network hubs by selecting a node a random and then reaching out to one of their neighbors. We demonstrate the effectiveness of this approach by using a large real world social network and measuring the number of components as a function of the number of removed nodes.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://data4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/p/network-attacks?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://data4sci.substack.com/p/network-attacks?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!IHgW!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!IHgW!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!IHgW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png" width="1400" height="76" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:76,&quot;width&quot;:1400,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!IHgW!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p>All of our posts so far, have focused on analyzing networks, their properties and function. Today, we take a different approach and explore how we can disrupt or break up a network without even needing to observe it completely.</p><p>As we saw in <a href="https://graphs4sci.substack.com/p/preferential-attachment-and-the-barabasi">previous</a> <a href="https://graphs4sci.substack.com/p/network-assortativity-and-the-configurational">posts</a>, real world networks display strong correlations among its nodes with edges being established preferentially towards some nodes in detriment of others. One indirect consequence of this is the fact that we can typically reach a hub if we si&#8230;</p>
      <p>
          <a href="https://data4sci.substack.com/p/network-attacks">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Kahn's Algorithm for Topological Sorting]]></title><description><![CDATA[Sorting the nodes of a DAG]]></description><link>https://data4sci.substack.com/p/kahns-algorithm-for-topological-sorting</link><guid isPermaLink="false">https://data4sci.substack.com/p/kahns-algorithm-for-topological-sorting</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Wed, 21 Sep 2022 17:28:00 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/h_600,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fb6266bac-99e1-40fe-aefd-44d7038a35cb_3684x2484.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>This week we explore Kahn&#8217;s algorithm for topological sorting of Directed Acyclical Graphs, a simple but powerful algorithm introduced in 1962 for the automatic scheduling of computational tasks while taking into account all of their dependencies. As a test case, we apply it to a large citation network dataset</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://data4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/p/kahns-algorithm-for-topological-sorting?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://data4sci.substack.com/p/kahns-algorithm-for-topological-sorting?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!IHgW!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!IHgW!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!IHgW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png" width="1400" height="76" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:76,&quot;width&quot;:1400,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!IHgW!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><h1>Topological Sorting</h1><p><a href="https://en.wikipedia.org/wiki/Topological_sorting">Topological Sorting</a> is a <a href="https://en.wikipedia.org/wiki/Sorting_algorithm">sorting algorithm</a> that produces a linear ordering of the nodes in a <a href="https://en.wikipedia.org/wiki/Directed_acyclic_graph">Direct Acyclic Graph</a> that respects all the directions of the edges. In fact, one definition of a DAG is that of a graph that can be topologically sorted. A direct application of topological sorting is for <a href="https://en.wikipedia.org/wiki/Scheduling_(computing)">scheduling  computational tasks</a> based on their dependencies. In this case, each node represents a task and a directed edges points from node <em><strong>i</strong></em> to node <em><strong>j</strong></em> if task <em><strong>i</strong></em> must be completed before task <em><strong>j</strong></em>.</p><h2>Kahn&#8217;s Algorithm</h2><p>One of the most famous topological sorting algorithms was <a href="https://dl.acm.org/doi/pdf/10.1145/368996.369025">introduced by A. B. Kahn</a> in 1962. The fundamental idea is straightforward: </p><ol><li><p>Identify all nodes with in-&#8230;</p></li></ol>
      <p>
          <a href="https://data4sci.substack.com/p/kahns-algorithm-for-topological-sorting">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Prim's Minimum Spanning Tree Algorithm]]></title><description><![CDATA[Finding the shortest path to every node]]></description><link>https://data4sci.substack.com/p/prims-minimum-spanning-tree-algorithm</link><guid isPermaLink="false">https://data4sci.substack.com/p/prims-minimum-spanning-tree-algorithm</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Tue, 16 Aug 2022 00:16:00 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F02c230bd-9a5c-4640-9233-1adc8a9649fe_1291x2484.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>In this post we introduce Prim&#8217;s algorithm to identify the Minimum Spanning Tree of a graph. The MST is a tree made up by the subset of edges from a weighted graph that connect every node while having the smallest total weight possible. </p><p>MSTs have a wide range of practical applications, specially in distribution networks where we must reach every node in the graph while minimizing the overall cost. As a test case, we apply Prim&#8217;s algorithm to an Open Street Map road network.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://data4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/p/prims-minimum-spanning-tree-algorithm?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://data4sci.substack.com/p/prims-minimum-spanning-tree-algorithm?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!IHgW!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!IHgW!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!IHgW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png" width="1400" height="76" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:76,&quot;width&quot;:1400,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!IHgW!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><h1>Prim&#8217;s Algorithm</h1><p><a href="https://en.wikipedia.org/wiki/Prim%27s_algorithm">Prim&#8217;s algorithm</a>, despite its name, was originally introduced by V. Jarn&#237;k in 1930 and eventually rediscovered independently by Robert Prim and Edsger W. Dijkstra in the late 50s.</p><p>The algorithm has some similarities with Dijkstra&#8217;s algorithm (that we discussed <a href="https://graphs4sci.substack.com/p/searching-graphs?s=w">here</a>) with a greedy procedure to iteratively grow the tree by adding one edge at a time. </p><ol><li><p>Choose an arbitrary seed node.</p></li><li><p>At each step add the lightest edge that connects one of the nodes already in the tree to one of the nodes not yet added.</p></li><li><p>Stop w&#8230;</p></li></ol>
      <p>
          <a href="https://data4sci.substack.com/p/prims-minimum-spanning-tree-algorithm">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Neighborhood Overlap and Edge Weights]]></title><description><![CDATA[Exploring how network topology and edge weights are correlated]]></description><link>https://data4sci.substack.com/p/neighborhood-overlap-and-edge-weights</link><guid isPermaLink="false">https://data4sci.substack.com/p/neighborhood-overlap-and-edge-weights</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Mon, 25 Jul 2022 03:14:00 GMT</pubDate><enclosure url="https://cdn.substack.com/image/fetch/h_600,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Ffe93b1f0-eef0-4121-b0c7-2bc708b64290_1044x1044.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>In this post, we introduce an intuitive measure of topological overlap between two nodes. This metric allows us to have a clearer picture of the structure of the network, identify redundant nodes, &#8220;structural holes&#8221; and even the &#8220;strength of weak ties&#8221;.</p><p>We start by motivating the overlap with a simple toy network example before moving on to a real world social network.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/p/neighborhood-overlap-and-edge-weights?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://data4sci.substack.com/p/neighborhood-overlap-and-edge-weights?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://data4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><p></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!IHgW!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!IHgW!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!IHgW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png" width="1400" height="76" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:76,&quot;width&quot;:1400,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!IHgW!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><h1>Network Overlap</h1><p>In traditional physical systems we are often able to identify symmetries, parts of the system that are mirror images of other parts. For example, in a system like this:</p><p></p>
      <p>
          <a href="https://data4sci.substack.com/p/neighborhood-overlap-and-edge-weights">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Bipartite Graphs 101]]></title><description><![CDATA[The actor-movie network]]></description><link>https://data4sci.substack.com/p/bipartite-graphs-101</link><guid isPermaLink="false">https://data4sci.substack.com/p/bipartite-graphs-101</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Tue, 28 Jun 2022 04:44:00 GMT</pubDate><enclosure url="https://cdn.substack.com/image/fetch/h_600,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fd82eec5c-6835-45e9-8f76-032944aabb0c_3684x2484.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Today we have a quick introduction to Bipartite Networks. We introduce some of the fundamental concepts of one-mode network projection and explore how they can be used to better understand an actor-movie network based on Kaggle dataset. </p><p>We hope you enjoy today&#8217;s post. We&#8217;re looking forward to your comments, feedback and suggestions for follow ups. And of course, don&#8217;t forget to:</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://data4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/p/bipartite-graphs-101?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://data4sci.substack.com/p/bipartite-graphs-101?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!h6O-!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F8f7f4aef-d75a-426b-afc3-8f1017dc8447_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!h6O-!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F8f7f4aef-d75a-426b-afc3-8f1017dc8447_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!h6O-!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F8f7f4aef-d75a-426b-afc3-8f1017dc8447_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!h6O-!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F8f7f4aef-d75a-426b-afc3-8f1017dc8447_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!h6O-!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F8f7f4aef-d75a-426b-afc3-8f1017dc8447_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!h6O-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F8f7f4aef-d75a-426b-afc3-8f1017dc8447_1400x76.png" width="1400" height="76" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/8f7f4aef-d75a-426b-afc3-8f1017dc8447_1400x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:76,&quot;width&quot;:1400,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!h6O-!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F8f7f4aef-d75a-426b-afc3-8f1017dc8447_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!h6O-!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F8f7f4aef-d75a-426b-afc3-8f1017dc8447_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!h6O-!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F8f7f4aef-d75a-426b-afc3-8f1017dc8447_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!h6O-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F8f7f4aef-d75a-426b-afc3-8f1017dc8447_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><h1>Bipartite Networks</h1><p>All the cases we&#8217;ve looked at so far have had just a single kind of node. While perhaps the most common, this is far from being the only possible case. Often we are interested in studying the relationship between two different types of nodes (say X-nodes and Y-nodes) where edges are allowed only between nodes of different kinds:</p>
      <p>
          <a href="https://data4sci.substack.com/p/bipartite-graphs-101">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Epidemic Models]]></title><description><![CDATA[The role of degree correlations]]></description><link>https://data4sci.substack.com/p/epidemic-models</link><guid isPermaLink="false">https://data4sci.substack.com/p/epidemic-models</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Wed, 13 Apr 2022 21:22:00 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!LOGW!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F03c5c6c3-ee77-4cb1-b61b-fbacac5a9548_786x508.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Welcome to the latest post of the Graphs For Science substack, a cross post from the &#8220;Epidemic Modeling&#8221; series where I aim to guide you through the mathematical and conceptual details underlying epidemic modeling with a focus on what&#8217;s most relevant to the current CoVID-19 pandemic.</p><p>In this post, we explore some simple network models in order to better understand the role that degree correlations play in disease spreading. I aim to make each post self contained, but you might want to check out our previous posts to brush up on the basics of epidemic modeling:</p><ul><li><p><a href="https://medium.com/data-for-science/epidemic-modeling-101-or-why-your-covid19-exponential-fits-are-wrong-97aa50c55f8">Epidemic Modeling 101: Or why your CoVID-19 exponential fits are wrong</a></p></li><li><p><a href="https://medium.com/data-for-science/epidemic-modeling-102-all-covid-19-models-are-wrong-but-some-are-useful-c81202cc6ee9">Epidemic Modeling 102: All CoVID-19 models are wrong, but some are useful</a></p></li><li><p><a href="https://medium.com/data-for-science/epidemic-modeling-103-adding-confidence-intervals-and-stochastic-effects-to-your-covid-19-models-be618b995d6b">Epidemic Modeling 103: Adding confidence intervals and stochastic effects to your CoVID-19 Models</a></p></li><li><p><a href="https://medium.com/data-for-science/epidemic-modeling-104-impact-of-seasonal-effects-on-covid-19-16a1b14056f">Epidemic Modeling 104: Impact of Seasonal effects on CoVID-19</a></p></li><li><p><a href="https://medium.com/data-for-science/epidemiology-105-competing-strains-4431f61549ff">Epidemic Modeling 105: Competing CoVID-19 Strains</a></p></li><li><p><a href="https://medium.com/data-for-science/epidemiology-201-network-structure-superspreaders-and-contact-tracing-336754e14e9a?source=friends_link&amp;sk=3373f0fb78be25e232ccda801cd54b3d">Epidemiology 201: Network Structure, Super-spreaders and Contact Tracing</a></p></li><li><p><a href="https://medium.data4sci.com/how-to-model-the-effects-of-vaccination-b328768ba2df?sk=8f4601beeb89622099387b3dcecf7d39">Epidemiology&#8230;</a></p></li></ul>
      <p>
          <a href="https://data4sci.substack.com/p/epidemic-models">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Community Structure and Network Modularity]]></title><description><![CDATA[Identify the major components of a network]]></description><link>https://data4sci.substack.com/p/community-structure-and-modularity</link><guid isPermaLink="false">https://data4sci.substack.com/p/community-structure-and-modularity</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Tue, 01 Mar 2022 04:11:00 GMT</pubDate><enclosure url="https://cdn.substack.com/image/fetch/h_600,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F76c68840-87d6-4266-ae2a-ac0ae6b6ad4d_3684x2484.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>In this post we build on several of our previous posts to introduce the concepts of Community Structure and Network Modularity. We implement in detail the Girvan-Newman algorithm and apply it to the NIPS co-authorship network.</p><p>We hope you enjoy today&#8217;s post. We&#8217;re looking forward to your comments, feedback and suggestions for follow ups. And of course, don&#8217;t forget to:</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://data4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/p/community-structure-and-modularity?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://data4sci.substack.com/p/community-structure-and-modularity?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!IHgW!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!IHgW!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!IHgW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png" width="1400" height="76" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:76,&quot;width&quot;:1400,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!IHgW!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><h1>Network Communities</h1><p>Empirical networks can display a wide range of structures due, in part due to the underlying process that originated them. In particular, as we already saw in previous posts, <a href="https://graphs4sci.substack.com/p/graphs-101">networks</a> can have properties <a href="https://graphs4sci.substack.com/p/graph-components">multiple components</a>, a non-trivial <a href="https://graphs4sci.substack.com/p/preferential-attachment-and-the-barabasi">Degree Distribution</a>, a high <a href="https://graphs4sci.substack.com/p/erdos-renyi-model-and-clustering">Clustering Coefficient</a>, low <a href="https://graphs4sci.substack.com/p/the-watts-strogatz-model-and-the">Network Diameter</a>, a high frequency of specific <a href="https://graphs4sci.substack.com/p/network-motifs">Network Motifs</a>, etc.</p><p>All of these properties contribute to make the network look different from point to point. For example, specific groups of nodes in a network can be significantly denser than others with different dense regions being interconnected by sparsely popu&#8230;</p>
      <p>
          <a href="https://data4sci.substack.com/p/community-structure-and-modularity">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Markov Chains and PageRank]]></title><description><![CDATA[Quantifying node importance]]></description><link>https://data4sci.substack.com/p/markov-chains-and-pagerank</link><guid isPermaLink="false">https://data4sci.substack.com/p/markov-chains-and-pagerank</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Sun, 05 Dec 2021 22:21:12 GMT</pubDate><enclosure url="https://cdn.substack.com/image/fetch/h_600,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Ff8c0684b-74c8-46dd-a717-72c93d15faf5_2732x2484.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>In this post we introduce the fundamental ideas underlying Markov Chains and how PageRank leverages them to obtain a measure of the relative importance of each node that is capable of providing an important new view on the structure of our network and the role that each node plays.</p><p>We hope you enjoy today&#8217;s post. We&#8217;re looking forward to your comments, feedback and suggestions for follow ups. And of course, don&#8217;t forget to:</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://data4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/p/markov-chains-and-pagerank?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://data4sci.substack.com/p/markov-chains-and-pagerank?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!IHgW!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!IHgW!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!IHgW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!IHgW!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><h1>Markov Chains</h1><p>We introduced the concept of a <a href="https://graphs4sci.substack.com/p/word-networks-for-language-generation">Random Walk</a> in a previous post when we discussed Language Generation. The idea is a simple one: image you live on the nodes of a Graph and that at each time step you <strong>must</strong> follow a randomly chosen outgoing edges of your current node. </p><p>In this simple case, your next step depends only on your current position on the graph and not on other factors like how many times you&#8217;ve visited this how, how long since your last visits, etc. This is perhaps the simplest example of a class of <strong>Memoryless</strong> processes, where the next step depends <em><strong>&#8230;</strong></em></p>
      <p>
          <a href="https://data4sci.substack.com/p/markov-chains-and-pagerank">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Network Assortativity and the Configurational Model]]></title><description><![CDATA[An exploration of Degree-Degree Correlations in empirical networks]]></description><link>https://data4sci.substack.com/p/network-assortativity-and-the-configurational</link><guid isPermaLink="false">https://data4sci.substack.com/p/network-assortativity-and-the-configurational</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Sun, 17 Oct 2021 14:38:23 GMT</pubDate><enclosure url="https://cdn.substack.com/image/fetch/h_600,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2d86d82-53f7-4f1b-bf2d-31a363ced948_3080x2844.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Our exploration of simple network models in previous posts has made it clear that nodes in real world networks are not connected at random but rather have well defined preferences in who they connect to.</p><p>In this weeks post, we explore the concept of degree-degree correlations in a network. Using simple metrics like the average degree of the nearest neighbors we explore how the structure and function of a network is reflected in the way it is wired. </p><p>To finalize, we introduce the Configurational Model that allows us to generate the complete ensemble of networks with the same degree distribution.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://data4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/p/network-assortativity-and-the-configurational?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://data4sci.substack.com/p/network-assortativity-and-the-configurational?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!od0l!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F09556f05-ffca-42c0-ad50-5f830b27eddd_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!od0l!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F09556f05-ffca-42c0-ad50-5f830b27eddd_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!od0l!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F09556f05-ffca-42c0-ad50-5f830b27eddd_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!od0l!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F09556f05-ffca-42c0-ad50-5f830b27eddd_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!od0l!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F09556f05-ffca-42c0-ad50-5f830b27eddd_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!od0l!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F09556f05-ffca-42c0-ad50-5f830b27eddd_1400x76.png" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/09556f05-ffca-42c0-ad50-5f830b27eddd_1400x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!od0l!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F09556f05-ffca-42c0-ad50-5f830b27eddd_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!od0l!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F09556f05-ffca-42c0-ad50-5f830b27eddd_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!od0l!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F09556f05-ffca-42c0-ad50-5f830b27eddd_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!od0l!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F09556f05-ffca-42c0-ad50-5f830b27eddd_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><h1>Degree-Degree Correlations</h1><p>We saw in our previous treatment of the <a href="https://graphs4sci.substack.com/p/erdos-renyi-model-and-clustering">Erd&#337;s-R&#233;nyi</a>, <a href="https://graphs4sci.substack.com/p/the-watts-strogatz-model-and-the">Watts-Strogatz</a> and <a href="https://graphs4sci.substack.com/p/preferential-attachment-and-the-barabasi">Barab&#225;si-Albert</a> models that connections between nodes are not created at random, resulting in a non-trivial degree distribution. </p><p>In this post we&#8217;ll explore a direct consequence of the rules governing the creation of edges in real word networks. We&#8217;ll use the BTS Airline Network dataset as our test cas&#8230;</p>
      <p>
          <a href="https://data4sci.substack.com/p/network-assortativity-and-the-configurational">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Preferential Attachment and the Barabási-Albert model]]></title><description><![CDATA[The idea that started a scientific revolution]]></description><link>https://data4sci.substack.com/p/preferential-attachment-and-the-barabasi</link><guid isPermaLink="false">https://data4sci.substack.com/p/preferential-attachment-and-the-barabasi</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Sun, 05 Sep 2021 20:23:46 GMT</pubDate><enclosure url="https://cdn.substack.com/image/fetch/h_600,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F5c77289a-1170-4543-ae20-4e5fdd4c85bc_3684x2483.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>This week we finalize our exploration of some of the most fundamental theoretical models of networks with a look at the Barabasi Albert model. </p><p>The BA model helped to establish the concept of Preferential Attachment as the foundational mechanism underlying the power-law structure observed in empirical networks and helped to launch the field of Complex Networks that has proven to be a useful language and toolkit to study, model and understand empirical systems arising in fields as far flung as Linguistics, Epidemiology, Computer Science, Sociology, Economics and Physics.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://data4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/p/preferential-attachment-and-the-barabasi?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://data4sci.substack.com/p/preferential-attachment-and-the-barabasi?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!od0l!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F09556f05-ffca-42c0-ad50-5f830b27eddd_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!od0l!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F09556f05-ffca-42c0-ad50-5f830b27eddd_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!od0l!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F09556f05-ffca-42c0-ad50-5f830b27eddd_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!od0l!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F09556f05-ffca-42c0-ad50-5f830b27eddd_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!od0l!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F09556f05-ffca-42c0-ad50-5f830b27eddd_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!od0l!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F09556f05-ffca-42c0-ad50-5f830b27eddd_1400x76.png" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/09556f05-ffca-42c0-ad50-5f830b27eddd_1400x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!od0l!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F09556f05-ffca-42c0-ad50-5f830b27eddd_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!od0l!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F09556f05-ffca-42c0-ad50-5f830b27eddd_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!od0l!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F09556f05-ffca-42c0-ad50-5f830b27eddd_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!od0l!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F09556f05-ffca-42c0-ad50-5f830b27eddd_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><h1>Broad-Tailed distributions</h1><p>In previous posts, we&#8217;ve explored the <a href="https://graphs4sci.substack.com/p/erdos-renyi-model-and-clustering">Erd&#337;s-R&#233;nyi Model</a> that generated random networks by connecting nodes at random, and the <a href="https://graphs4sci.substack.com/p/the-watts-strogatz-model-and-the">Watts-Strogatz Model</a> that explained the small world phenomena by rewiring a regular network at random. </p><p>As successful as these two models were, they are still unable to explain one of the fundamental features of large-scale real-world networks, that of <a href="https://en.wikipedia.org/wiki/Long_tail">broad-tailed</a> or <a href="https://en.wikipedia.org/wiki/Scale-free_network">scal&#8230;</a></p>
      <p>
          <a href="https://data4sci.substack.com/p/preferential-attachment-and-the-barabasi">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[The Watts-Strogatz Model and the Small World Effect]]></title><description><![CDATA[Open datasets and six-degrees of separation]]></description><link>https://data4sci.substack.com/p/the-watts-strogatz-model-and-the</link><guid isPermaLink="false">https://data4sci.substack.com/p/the-watts-strogatz-model-and-the</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Sat, 07 Aug 2021 17:44:35 GMT</pubDate><enclosure url="https://cdn.substack.com/image/fetch/h_600,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F46737f1f-e4cc-42c7-9045-2ee4722498c3_1946x936.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p> This week we continue our exploration of basic network models with the Watts-Strogatz model and use it to introduce both the concept of Graph Diameter and the small world effect. </p><p>The Watts-Strogatz model was introduced in 1998 to directly address the limitations of the ER model and generate model networks that are closer to what we observe in the real world.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://data4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/p/the-watts-strogatz-model-and-the?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://data4sci.substack.com/p/the-watts-strogatz-model-and-the?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!necU!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F7b59c5b3-8196-430c-9bab-8ed80f8ae811_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!necU!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F7b59c5b3-8196-430c-9bab-8ed80f8ae811_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!necU!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F7b59c5b3-8196-430c-9bab-8ed80f8ae811_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!necU!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F7b59c5b3-8196-430c-9bab-8ed80f8ae811_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!necU!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F7b59c5b3-8196-430c-9bab-8ed80f8ae811_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!necU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F7b59c5b3-8196-430c-9bab-8ed80f8ae811_1400x76.png" width="1400" height="76" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/7b59c5b3-8196-430c-9bab-8ed80f8ae811_1400x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:76,&quot;width&quot;:1400,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:3653,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!necU!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F7b59c5b3-8196-430c-9bab-8ed80f8ae811_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!necU!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F7b59c5b3-8196-430c-9bab-8ed80f8ae811_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!necU!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F7b59c5b3-8196-430c-9bab-8ed80f8ae811_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!necU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F7b59c5b3-8196-430c-9bab-8ed80f8ae811_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><h1>Six-Degrees of Separation</h1><p>One of the oldest websites on the internet is the <a href="https://en.wikipedia.org/wiki/IMDb">Internet Movie Database</a>, better known as <a href="https://www.imdb.com/">IMDb</a>, that was launched in 1990. The IMDb is the canonical reference for all things movie related such as reviews, cast members, revenue, etc. that currently includes 7.5 million titles (including episodes) and 10.4 million personalities in its database. It also has the distinction of being one of the first large (<a href="https://en.wikipedia.org/wiki/Bipartite_graph">bipartite</a><a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-1" href="#footnote-1" target="_self">1</a>) network datasets made <a href="https://www.imdb.com/interfaces/">freely available online</a>. </p>
      <p>
          <a href="https://data4sci.substack.com/p/the-watts-strogatz-model-and-the">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Erdős-Rényi Model and Clustering Coefficient]]></title><description><![CDATA[The most famous random graph model and one of its limitations]]></description><link>https://data4sci.substack.com/p/erdos-renyi-model-and-clustering</link><guid isPermaLink="false">https://data4sci.substack.com/p/erdos-renyi-model-and-clustering</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Sun, 25 Jul 2021 03:41:08 GMT</pubDate><enclosure url="https://cdn.substack.com/image/fetch/h_600,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F18217e14-d5e3-47d7-a68a-83d885ef7369_744x744.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>While the main focus of this blog is the exploration and understanding of real world network datasets, it is also important to arm ourselves with a solid theoretical understanding of some of the fundamentals of Graph Theory and Graph Generation Algorithms.  </p><p>This week we start our exploration of basic network models with the venerable Erd&#337;s-R&#233;nyi model for Random Graphs and use it to introduce the concept of the clustering coefficient both of which will come in handy in future posts.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://data4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/p/erdos-renyi-model-and-clustering?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://data4sci.substack.com/p/erdos-renyi-model-and-clustering?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!FbLC!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb02908c-462d-43c5-bd24-0642097c30f2_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!FbLC!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb02908c-462d-43c5-bd24-0642097c30f2_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!FbLC!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb02908c-462d-43c5-bd24-0642097c30f2_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!FbLC!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb02908c-462d-43c5-bd24-0642097c30f2_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!FbLC!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb02908c-462d-43c5-bd24-0642097c30f2_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!FbLC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb02908c-462d-43c5-bd24-0642097c30f2_1400x76.png" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/cb02908c-462d-43c5-bd24-0642097c30f2_1400x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!FbLC!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb02908c-462d-43c5-bd24-0642097c30f2_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!FbLC!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb02908c-462d-43c5-bd24-0642097c30f2_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!FbLC!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb02908c-462d-43c5-bd24-0642097c30f2_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!FbLC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb02908c-462d-43c5-bd24-0642097c30f2_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><h1>Erd&#337;s-R&#233;nyi Model</h1><p>Perhaps the simplest of the network models, known as the <a href="https://en.wikipedia.org/wiki/Erd%C5%91s%E2%80%93R%C3%A9nyi_model">Erd&#337;s&#8211;R&#233;nyi model of random graphs</a>, was proposed in 1959 by two Hungarian mathematicians:&nbsp;<a href="https://en.wikipedia.org/wiki/Paul_Erd%C5%91s">Paul Erd&#337;s</a>&nbsp;and&nbsp;<a href="https://en.wikipedia.org/wiki/Alfr%C3%A9d_R%C3%A9nyi">Alfr&#233;d R&#233;nyi</a>. Due to its simplicity and mathematical elegance, it spurred a surge of interest in <a href="https://amzn.to/2UNlOFB">Graph Theory</a> by other mathematicians.</p><p>The fundamental ideal is very simple: to generate an <strong>ER</strong> network with <strong>N</strong> nodes you start with <strong>N</strong> nodes of degree zero and then attempt to add every possible edge connecting a pair of nodes with some fin&#8230;</p>
      <p>
          <a href="https://data4sci.substack.com/p/erdos-renyi-model-and-clustering">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Network Motifs]]></title><description><![CDATA[Frequent patterns in Graphs]]></description><link>https://data4sci.substack.com/p/network-motifs</link><guid isPermaLink="false">https://data4sci.substack.com/p/network-motifs</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Sun, 30 May 2021 19:10:25 GMT</pubDate><enclosure url="https://cdn.substack.com/image/fetch/h_600,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F0c339c41-9630-4038-a9cd-93b2b513ea7a_2243x2243.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>The processes that generate the real world networks we are likely to analyze, produce characteristic signatures in the topology of networks. Common patterns in graphs are known as Network Motifs and can provide important information about the structure of our network and the process that generated it. </p><p>In this post we introduce the ESU algorithm to enumerate all the subgraphs of a network with a specific number of nodes and how we can use it to calculate the frequency of each network motif.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://data4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/p/network-motifs?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://data4sci.substack.com/p/network-motifs?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!FbLC!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb02908c-462d-43c5-bd24-0642097c30f2_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!FbLC!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb02908c-462d-43c5-bd24-0642097c30f2_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!FbLC!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb02908c-462d-43c5-bd24-0642097c30f2_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!FbLC!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb02908c-462d-43c5-bd24-0642097c30f2_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!FbLC!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb02908c-462d-43c5-bd24-0642097c30f2_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!FbLC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb02908c-462d-43c5-bd24-0642097c30f2_1400x76.png" width="1400" height="76" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/cb02908c-462d-43c5-bd24-0642097c30f2_1400x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:76,&quot;width&quot;:1400,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:3653,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!FbLC!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb02908c-462d-43c5-bd24-0642097c30f2_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!FbLC!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb02908c-462d-43c5-bd24-0642097c30f2_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!FbLC!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb02908c-462d-43c5-bd24-0642097c30f2_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!FbLC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb02908c-462d-43c5-bd24-0642097c30f2_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><h1>Network Motifs</h1><p>The networks we encounter in the real world are produced as the result of some natural or artificial process. The details of these processes can result in specific signatures within the structure of the graphs they produce. </p><p>To make this point clear, let us consider a simple example of just 3 nodes. There&#8217;s only two possible ways to connected 3 nodes among themselves in a way that results in a connected graph, namely:</p>
      <p>
          <a href="https://data4sci.substack.com/p/network-motifs">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Bitcoin Transaction Network]]></title><description><![CDATA[Networks on the blockchain]]></description><link>https://data4sci.substack.com/p/bitcoin-transaction-network</link><guid isPermaLink="false">https://data4sci.substack.com/p/bitcoin-transaction-network</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Sun, 23 May 2021 03:31:14 GMT</pubDate><enclosure url="https://cdn.substack.com/image/fetch/h_600,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Ff51393a1-3adf-4334-b5bc-1940ea3d08fa_387x384.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>This week we explore the Bitcoin transaction network, one of the fundamental data structures underlying the Bitcoin Blockchain</p><p>Bitcoin and other Blockchain based technologies have been in the news over the past couple of weeks due to <a href="https://www.cnn.com/2021/05/22/investing/crypto-crash-bitcoin-regulation/index.html">wild swings in their prices</a> and <a href="https://fortune.com/2021/05/20/u-s-treasury-crypto-transfers-over-10000-irs/">calls for stricter regulations</a> but little attention has been given to what makes these technologies so interesting and widely applicable.  </p><p>In this post we dive into the way in which the Bitcoin blockchain (the oldest and the one with the largest overall value) encodes and processes transactions and how we can apply some simple graph concepts to identify clusters of addresses that are controlled by the same user.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://data4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/p/bitcoin-transaction-network?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://data4sci.substack.com/p/bitcoin-transaction-network?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!IHgW!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!IHgW!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!IHgW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!IHgW!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><h1>Bitcoin</h1><blockquote><p>We won&#8217;t be able to cover all the details of Bitcoin, but if you would like to truly understand the implementation of Bitcoin, I would highly recommend that you read <a href="https://amzn.to/3buacMR">Mastering Bitcoin</a> and <a href="https://amzn.to/3olNQlJ">Programming Bitcoin</a>. </p></blockquote><p>BitCoin, introduced in 2008 by <a href="https://en.wikipedia.org/wiki/Satoshi_Nakamoto">Satoshi Nakamoto</a> in the aftermath of the 2008 financial crisis. Nakamoto&#8230;</p>
      <p>
          <a href="https://data4sci.substack.com/p/bitcoin-transaction-network">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Graph Components]]></title><description><![CDATA[Strongly and Weakly Connected Components]]></description><link>https://data4sci.substack.com/p/graph-components</link><guid isPermaLink="false">https://data4sci.substack.com/p/graph-components</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Sun, 25 Apr 2021 13:43:23 GMT</pubDate><enclosure url="https://cdn.substack.com/image/fetch/h_600,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fde023f9d-45fa-46c5-86b9-2718cfdad3fa_3684x2484.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Real world networks come in all shapes and sizes, depending on the specific dataset we are dealing with. In particular, many networks of interest are disconnected, meaning that they can be separated into distinct subgraphs that have no edges connecting them.</p><p>In this post we explore a real world Twitter network and use it to better understand the various ways to define connected components.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://data4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/p/graph-components?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://data4sci.substack.com/p/graph-components?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!IHgW!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!IHgW!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!IHgW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!IHgW!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><h1>Connected Components</h1><p>A graph is said to be connected if there is an <strong>Undirected</strong> <strong>Path</strong> connecting every pair of nodes. If some nodes are unreachable, then the network is said to be disconnected or have multiple components. Let us consider a simple example:</p>
      <p>
          <a href="https://data4sci.substack.com/p/graph-components">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Node Centrality]]></title><description><![CDATA[Degree, Closeness, and Betweenness Centrality]]></description><link>https://data4sci.substack.com/p/node-centrality</link><guid isPermaLink="false">https://data4sci.substack.com/p/node-centrality</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Sat, 03 Apr 2021 23:27:32 GMT</pubDate><enclosure url="https://cdn.substack.com/image/fetch/h_600,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F930ee73f-f6a3-40e8-8661-c76ab0eaa671_3684x2484.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>To understand the structure of a network, it is often useful to identify which nodes play the most important roles or are best placed within the network, and to quantify how central they are. <a href="https://en.wikipedia.org/wiki/Centrality">Centrality</a> measures and other graph metrics are often used as features used to train Machine Learning models.  </p><p>In this post we explore some of the fundamental centrality measures we may use to characterize the relative importance of a node in the network: Degree Centrality, Closeness Centrality and Betweenness Centrality. </p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://data4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/p/node-centrality?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://data4sci.substack.com/p/node-centrality?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!IHgW!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!IHgW!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!IHgW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!IHgW!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p>In other to better illustrate the properties of each type of centrality, we start by creating a simple barbell-like network, with two <a href="https://en.wikipedia.org/wiki/Erd%C5%91s%E2%80%93R%C3%A9nyi_model">Erd&#337;s&#8211;R&#233;nyi</a>&nbsp; networks connected by a single node:</p>
      <p>
          <a href="https://data4sci.substack.com/p/node-centrality">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Graph Embeddings 101]]></title><description><![CDATA[From word2vec to node2vec, and beyond]]></description><link>https://data4sci.substack.com/p/graph-embeddings-101</link><guid isPermaLink="false">https://data4sci.substack.com/p/graph-embeddings-101</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Sun, 28 Mar 2021 03:25:18 GMT</pubDate><enclosure url="https://cdn.substack.com/image/fetch/h_600,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F2b0402d3-3e37-46c5-8963-786fdcf6c6dd_1616x940.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>In this post we continue our exploration of <a href="https://graphs4sci.substack.com/p/word-networks-for-language-generation">Random Walks</a> and <a href="https://graphs4sci.substack.com/p/searching-graphs">Graph Traversal Algorithms</a> and how they can be applied to help us understand our networks better. </p><p>We start by analyzing word2vec, a classic algorithm that is able to map words to numerical vectors that encode information about the meaning and similarity of words. This will lay the foundation for our first look at graph embedding algorithms with node2vec that leverages the basic structure of word2vec and some intuitions about random walks to generate meaningful vector representations of each node in an arbitrary graph.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://data4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/p/graph-embeddings-101?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://data4sci.substack.com/p/graph-embeddings-101?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!IHgW!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!IHgW!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!IHgW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png" width="1400" height="76" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:76,&quot;width&quot;:1400,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!IHgW!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!IHgW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae7dd75-d55d-4547-b4cd-c2071cf6aa35_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><h1>Word2vec</h1><p>Introduced by <a href="https://en.wikipedia.org/wiki/Tomas_Mikolov">Tom&#225;&#353; Mikolov</a>, a Google Engineer in 2013, <a href="https://en.wikipedia.org/wiki/Word2vec">word2vec</a> is an algorithm that tries to answer a deceptively simple question: can the meaning of a word be represented by a vector of numbers in such a way that words with similar meanings have similar vectors, or, at least, are located in the same general are of this vector space.</p><p>To achieve this, <a href="https://arxiv.org/abs/1301.3781">word2vec</a> draws inspiration from the <a href="https://en.wikipedia.org/wiki/Distributional_semantics">distributional hy&#8230;</a></p>
      <p>
          <a href="https://data4sci.substack.com/p/graph-embeddings-101">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Structural Causal Models]]></title><description><![CDATA[Reasoning with DAGs]]></description><link>https://data4sci.substack.com/p/structural-causal-models</link><guid isPermaLink="false">https://data4sci.substack.com/p/structural-causal-models</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Sun, 14 Mar 2021 02:25:05 GMT</pubDate><enclosure url="https://cdn.substack.com/image/fetch/h_600,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F703a63f4-72d5-40f8-9109-9cb825f9d48f_1434x1022.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Any systems or process that can be represented by interconnected components can be thought of as a Graph. For example:</p><ol><li><p>Social Network &#8212; The Nodes are people and the Edges are friendship relationships</p></li><li><p>Internet &#8212; The Nodes are individual servers and the Edges are the cables connecting them</p></li><li><p>Airline Network &#8212; The Nodes are airports and the Edges are flight connections</p></li><li><p>Road Network &#8212; The Nodes are intersections and the Edges are streets</p></li><li><p>Ecosystem &#8212; The Nodes are individual species and the Edges the predator/prey relationships between them.</p></li></ol><p>And many more examples could easily be found. </p><p>Not surprisingly, many Graphs are naturally directed, with edges specifically pointing from a source node to a target node:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!mfTB!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1bc17497-8562-4b01-894e-874b88969b71_2880x2072.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!mfTB!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1bc17497-8562-4b01-894e-874b88969b71_2880x2072.png 424w, https://substackcdn.com/image/fetch/$s_!mfTB!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1bc17497-8562-4b01-894e-874b88969b71_2880x2072.png 848w, https://substackcdn.com/image/fetch/$s_!mfTB!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1bc17497-8562-4b01-894e-874b88969b71_2880x2072.png 1272w, https://substackcdn.com/image/fetch/$s_!mfTB!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1bc17497-8562-4b01-894e-874b88969b71_2880x2072.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!mfTB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1bc17497-8562-4b01-894e-874b88969b71_2880x2072.png" width="1456" height="1048" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/1bc17497-8562-4b01-894e-874b88969b71_2880x2072.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1048,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!mfTB!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1bc17497-8562-4b01-894e-874b88969b71_2880x2072.png 424w, https://substackcdn.com/image/fetch/$s_!mfTB!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1bc17497-8562-4b01-894e-874b88969b71_2880x2072.png 848w, https://substackcdn.com/image/fetch/$s_!mfTB!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1bc17497-8562-4b01-894e-874b88969b71_2880x2072.png 1272w, https://substackcdn.com/image/fetch/$s_!mfTB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1bc17497-8562-4b01-894e-874b88969b71_2880x2072.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption"><a href="https://en.wikipedia.org/wiki/PageRank#/media/File:PageRank-hi-res.png">Directed Graph</a> &#8212; Each edge points only in one specific direction.</figcaption></figure></div><p>A particularly useful subset of directed graphs are those without any cycles, <a href="https://en.wikipedia.org/wiki/Directed_acyclic_graph">Directed Acyclic Graphs</a>. </p><p>DAGs are extremely common when we are dealing with time ordered processes, in particular:</p><ul><li><p><strong>Trees</strong> - An important special case of D&#8230;</p></li></ul>
      <p>
          <a href="https://data4sci.substack.com/p/structural-causal-models">
              Read more
          </a>
      </p>
   ]]></content:encoded></item></channel></rss>