<?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]]></title><description><![CDATA[A newsletter about all things Data Science, Machine Learning and AI, by Bruno Gonçalves]]></description><link>https://data4sci.substack.com</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</title><link>https://data4sci.substack.com</link></image><generator>Substack</generator><lastBuildDate>Wed, 29 Jul 2026 04:45:51 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[Self hosting LLMs with Llama.cpp]]></title><description><![CDATA[Putting your Mac to work]]></description><link>https://data4sci.substack.com/p/self-hosting-llms-with-llamacpp</link><guid isPermaLink="false">https://data4sci.substack.com/p/self-hosting-llms-with-llamacpp</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Tue, 28 Jul 2026 11:02:18 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!9doK!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdcf75fa1-ff2c-45bf-87d3-79f36a3aef9f_2588x1588.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p></p><p>This post walks through the whole path. Install, download a small model, serve it over HTTP, open the model file and read its guts, then pick a quantization on purpose instead of by habit. At the end you will find the arithmetic for working out whether a given model fits in your RAM before you download multi-gigabyte files.</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>Running a language model on your own hardware costs nothing per token. It works on a plane or a train. It never sends your code to someone else&#8217;s machine and on Apple Silicon the setup takes about ten minutes, with <a href="https://en.wikipedia.org/wiki/Llama.cpp">llama.cpp</a> doing all the heavy lifting.</p><h1>Why Mac Minis are out of stock</h1><p>If you&#8217;ve recently tried to buy a Mac Mini you might have noticed that even the most basic configurations are <a href="https://www.nytimes.com/wirecutter/reviews/mac-mini-ai-shortage/">out of stock</a> with at least a 4 week wait before you can get your hands in one. The reason for this is simple: LLMs.</p><p>When designing its own M family of Silicon chips, Apple made the unusual choice of having a unified memory pool between the CPU and the GPU so the entire memory pool is accessible to the GPU and there is no shuffle data around.</p><p> <a href="https://llama-cpp.com/">llama.cpp</a> was introduced by Georgi Gerganov in 2023 as a way of simplifying model hosting and it was built from the onset to treat Apple Silicon as a first-class target. It uses Metal for GPU work and the Accelerate framework on the CPU side. </p><p>Other popular options such as Ollama and LM Studio build on top of llama.cpp and provide a (perhaps) friendlier user experience by hiding some of the flags that matter the most for our use case: context length, batch sizes, KV cache precision, sampling. Even if you prefer simpler approaches, understanding how the engine works pays off every time you need to do something beyond the basics.</p><h1>The pipeline</h1><p>The process we&#8217;ll follow to get up and running and pretty straightforward. We&#8217;ll build download the model <a href="https://huggingface.co/docs/hub/en/gguf">GGUF</a> file (the file containing all the weights) from <a href="http://huggingface.co">HuggingFace</a>, install llama.cpp and use it to setup a local service that will serve the model and that we can interact programmatically using an OpenAI client.  </p><p>To better understand how these models work, we&#8217;ll also use <a href="https://github.com/ggml-org/llama.cpp/blob/master/gguf-py/gguf/scripts/gguf_dump.py">gguf-dump</a> to extract the metadata from the model files and <a href="https://github.com/ggml-org/llama.cpp/blob/master/tools/llama-bench/README.md">llama-bench</a> to measure the performance on our hardware. Here is a visual take on the whole pipeline.:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!b_j2!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff1f4674d-e62f-407a-9204-ab0ab80481a3_4331x1127.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!b_j2!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff1f4674d-e62f-407a-9204-ab0ab80481a3_4331x1127.png 424w, https://substackcdn.com/image/fetch/$s_!b_j2!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff1f4674d-e62f-407a-9204-ab0ab80481a3_4331x1127.png 848w, https://substackcdn.com/image/fetch/$s_!b_j2!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff1f4674d-e62f-407a-9204-ab0ab80481a3_4331x1127.png 1272w, https://substackcdn.com/image/fetch/$s_!b_j2!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff1f4674d-e62f-407a-9204-ab0ab80481a3_4331x1127.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!b_j2!,w_2400,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff1f4674d-e62f-407a-9204-ab0ab80481a3_4331x1127.png" width="1200" height="312.3626373626374" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f1f4674d-e62f-407a-9204-ab0ab80481a3_4331x1127.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;large&quot;,&quot;height&quot;:379,&quot;width&quot;:1456,&quot;resizeWidth&quot;:1200,&quot;bytes&quot;:103682,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://data4sci.substack.com/i/208546133?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff1f4674d-e62f-407a-9204-ab0ab80481a3_4331x1127.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:&quot;center&quot;,&quot;offset&quot;:false}" class="sizing-large" alt="" srcset="https://substackcdn.com/image/fetch/$s_!b_j2!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff1f4674d-e62f-407a-9204-ab0ab80481a3_4331x1127.png 424w, https://substackcdn.com/image/fetch/$s_!b_j2!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff1f4674d-e62f-407a-9204-ab0ab80481a3_4331x1127.png 848w, https://substackcdn.com/image/fetch/$s_!b_j2!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff1f4674d-e62f-407a-9204-ab0ab80481a3_4331x1127.png 1272w, https://substackcdn.com/image/fetch/$s_!b_j2!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff1f4674d-e62f-407a-9204-ab0ab80481a3_4331x1127.png 1456w" sizes="100vw" loading="lazy"></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 aria-hidden="true" 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><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></figure></div><h1>Installing llama.cpp</h1><p> The first step is to <a href="https://llama-cpp.com/getting-started/">install llama.cpp</a>. The easy way is to just use homebrew:</p><div class="highlighted_code_block" data-attrs="{&quot;language&quot;:&quot;bash&quot;,&quot;nodeId&quot;:&quot;5cafb197-f97c-4a8c-9919-1117cb9e7ef9&quot;}" data-component-name="HighlightedCodeBlockToDOM"><pre class="shiki"><code class="language-bash">brew install llama.cpp</code></pre></div><p>But building it from source takes five minutes and produces a custom binary optimized for your exact machine:</p><div class="highlighted_code_block" data-attrs="{&quot;language&quot;:&quot;bash&quot;,&quot;nodeId&quot;:&quot;cda9e796-ae06-49f7-bef8-85243aca2bac&quot;}" data-component-name="HighlightedCodeBlockToDOM"><pre class="shiki"><code class="language-bash">git clone https://github.com/ggml-org/llama.cpp
cd llama.cpp
cmake -B build
cmake --build build --config Release -j $(sysctl -n hw.ncpu)</code></pre></div><p>After which, we should have llama-cli installed:</p><div class="highlighted_code_block" data-attrs="{&quot;language&quot;:&quot;bash&quot;,&quot;nodeId&quot;:&quot;822e5d56-1b2a-44f1-89aa-c378983ca7b1&quot;}" data-component-name="HighlightedCodeBlockToDOM"><pre class="shiki"><code class="language-bash">export PATH="$PWD/build/bin:$PATH"
llama-cli --version</code></pre></div><h1>Downloading a model</h1><p>For the purposes of this post, we&#8217;ll use a relatively small model, a version of <a href="https://storage.googleapis.com/deepmind-media/gemma/Gemma3Report.pdf">Gemma 3</a> with just 1B parameters. You can read all about it on the models HuggingFace page: <a href="https://huggingface.co/ggml-org/gemma-3-1b-it-GGUF">ggml-org/gemma-3-1b-it-GGUF</a>.</p><p>llama-cli can download the model directly from HuggingFace by using the <strong>-hf</strong> flag:</p><div class="highlighted_code_block" data-attrs="{&quot;language&quot;:&quot;bash&quot;,&quot;nodeId&quot;:&quot;5321a8b3-3726-4ca5-b509-2791a79c40fc&quot;}" data-component-name="HighlightedCodeBlockToDOM"><pre class="shiki"><code class="language-bash">llama-cli -hf ggml-org/gemma-3-1b-it-GGUF</code></pre></div><p>This will download 769MB into the hugging face cache directory and immediately start running the model:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!tW5G!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f280a7b-9492-4dc6-ae59-43459d5bc2c2_1612x1070.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!tW5G!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f280a7b-9492-4dc6-ae59-43459d5bc2c2_1612x1070.png 424w, https://substackcdn.com/image/fetch/$s_!tW5G!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f280a7b-9492-4dc6-ae59-43459d5bc2c2_1612x1070.png 848w, https://substackcdn.com/image/fetch/$s_!tW5G!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f280a7b-9492-4dc6-ae59-43459d5bc2c2_1612x1070.png 1272w, https://substackcdn.com/image/fetch/$s_!tW5G!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f280a7b-9492-4dc6-ae59-43459d5bc2c2_1612x1070.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!tW5G!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f280a7b-9492-4dc6-ae59-43459d5bc2c2_1612x1070.png" width="1456" height="966" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5f280a7b-9492-4dc6-ae59-43459d5bc2c2_1612x1070.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:966,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:238996,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://data4sci.substack.com/i/208546133?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f280a7b-9492-4dc6-ae59-43459d5bc2c2_1612x1070.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!tW5G!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f280a7b-9492-4dc6-ae59-43459d5bc2c2_1612x1070.png 424w, https://substackcdn.com/image/fetch/$s_!tW5G!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f280a7b-9492-4dc6-ae59-43459d5bc2c2_1612x1070.png 848w, https://substackcdn.com/image/fetch/$s_!tW5G!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f280a7b-9492-4dc6-ae59-43459d5bc2c2_1612x1070.png 1272w, https://substackcdn.com/image/fetch/$s_!tW5G!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f280a7b-9492-4dc6-ae59-43459d5bc2c2_1612x1070.png 1456w" sizes="100vw" loading="lazy"></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 aria-hidden="true" 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><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></figure></div><p>Congratulations! You now have a running local model!</p><p>To make your life this easy, llama-cli had to make some choices for you. In particular, it decided where to download the files to (~/.cache/huggingface/hub/) and which quantization  (<strong>Q4_K_M</strong>) of the model to use. We&#8217;ll discuss quantization later on, but for now you can think of it as being the size of the model. </p><p>You can have a lot more control over this process by using the HuggingFace CLI tool directly. In case you need to install it first, you can use:</p><div class="highlighted_code_block" data-attrs="{&quot;language&quot;:&quot;bash&quot;,&quot;nodeId&quot;:&quot;3231c5ae-11e1-4400-8dd3-7389ae5228f3&quot;}" data-component-name="HighlightedCodeBlockToDOM"><pre class="shiki"><code class="language-bash">curl -LsSf https://hf.co/cli/install.sh | bash</code></pre></div><p>And then you&#8217;re ready to download exactly what you want and place it where you want it:</p><div class="highlighted_code_block" data-attrs="{&quot;language&quot;:&quot;bash&quot;,&quot;nodeId&quot;:&quot;ca9597e8-1084-4e96-b604-d9fb2d69ed63&quot;}" data-component-name="HighlightedCodeBlockToDOM"><pre class="shiki"><code class="language-bash">hf download ggml-org/gemma-3-1b-it-GGUF --include "*f16.gguf" --local-dir ~/models</code></pre></div><p>This will download the <strong>F16</strong> quantization of the model (about 2GB) and place the files in the directory you specified (the ~/models folder). </p><p>Now you can launch this new model version directly:</p><div class="highlighted_code_block" data-attrs="{&quot;language&quot;:&quot;bash&quot;,&quot;nodeId&quot;:&quot;bd681f77-ecbc-419c-a165-be68e691988e&quot;}" data-component-name="HighlightedCodeBlockToDOM"><pre class="shiki"><code class="language-bash">llama-cli \
  -m ~/models/gemma-3-1b-it-f16.gguf \
  -ngl 99 \
  -c 8192 \
  --jinja --color on </code></pre></div><p>Which brings us to the chat interface we encountered above.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!MMtL!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe66146c1-1d4f-4b2d-8409-047ac613acc0_1614x1426.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!MMtL!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe66146c1-1d4f-4b2d-8409-047ac613acc0_1614x1426.png 424w, https://substackcdn.com/image/fetch/$s_!MMtL!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe66146c1-1d4f-4b2d-8409-047ac613acc0_1614x1426.png 848w, https://substackcdn.com/image/fetch/$s_!MMtL!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe66146c1-1d4f-4b2d-8409-047ac613acc0_1614x1426.png 1272w, https://substackcdn.com/image/fetch/$s_!MMtL!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe66146c1-1d4f-4b2d-8409-047ac613acc0_1614x1426.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!MMtL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe66146c1-1d4f-4b2d-8409-047ac613acc0_1614x1426.png" width="1456" height="1286" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e66146c1-1d4f-4b2d-8409-047ac613acc0_1614x1426.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1286,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:309239,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://data4sci.substack.com/i/208546133?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe66146c1-1d4f-4b2d-8409-047ac613acc0_1614x1426.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!MMtL!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe66146c1-1d4f-4b2d-8409-047ac613acc0_1614x1426.png 424w, https://substackcdn.com/image/fetch/$s_!MMtL!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe66146c1-1d4f-4b2d-8409-047ac613acc0_1614x1426.png 848w, https://substackcdn.com/image/fetch/$s_!MMtL!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe66146c1-1d4f-4b2d-8409-047ac613acc0_1614x1426.png 1272w, https://substackcdn.com/image/fetch/$s_!MMtL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe66146c1-1d4f-4b2d-8409-047ac613acc0_1614x1426.png 1456w" sizes="100vw" loading="lazy"></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 aria-hidden="true" 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><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></figure></div><p>Our choice of flags makes a difference:</p><ul><li><p> <code>-ngl 99</code> pushes every layer onto the Metal GPU. The number 99 is a common shorthand for &#8220;all of them&#8221;.</p></li><li><p> <code>-c 8192</code> sets the context window size in tokens. This drives KV cache memory, covered later.</p></li><li><p><code>--jinja</code> applies the chat template stored inside the GGUF file. Skip it and your prompts get formatted wrong.</p></li><li><p><code>--color on</code> uses colors to separates your text from the model&#8217;s output.</p></li></ul><h1>Serving it</h1><p>A simple chatting application on your command line, while useful, is still fairly limited. If you&#8217;re interested in building pipelines on top of your local models you&#8217;ll need to setup a local server that you can interact with programmatically just as you do with the OpenAI, Anthropic, Gemini, etc third party APIs.</p><p>Fortunately, this is a lot easier than it sounds, as llama-cpp ships with llama-server. All you have to do is:</p><div class="highlighted_code_block" data-attrs="{&quot;language&quot;:&quot;bash&quot;,&quot;nodeId&quot;:&quot;114acd65-a211-4bf0-a42e-326d543044a1&quot;}" data-component-name="HighlightedCodeBlockToDOM"><pre class="shiki"><code class="language-bash">llama-server \
  -m ~/models/gemma-3-1b-it-f16.gguf \
  -ngl 99 -fa on \
  -c 8192 -b 2048 -ub 2048 \
  --jinja \
  --host 127.0.0.1 --port 8080</code></pre></div><p>to get a server running on port 8080 of your local machine. You can check that all is running as expected with a simple(-ish) API call:</p><div class="highlighted_code_block" data-attrs="{&quot;language&quot;:&quot;bash&quot;,&quot;nodeId&quot;:&quot;20f78300-9da2-42af-9d0d-ae8c9500fd10&quot;}" data-component-name="HighlightedCodeBlockToDOM"><pre class="shiki"><code class="language-bash">curl -s http://127.0.0.1:8080/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{
    "model": "local",
    "messages": [{"role": "user", "content": "Explain KV caching in two sentences."}],
    "max_tokens": 200
  }' | jq -r '.choices[0].message.content'</code></pre></div><p>Fortunately, llama-server follows the <a href="https://developers.openai.com/api/reference/overview">OpenAI API standard</a> so any OpenAI client can natively speak with it as if it were the official OpenAI API:</p><div class="highlighted_code_block" data-attrs="{&quot;language&quot;:&quot;python&quot;,&quot;nodeId&quot;:&quot;75e2e90f-b36f-458b-83ce-23a411a14d21&quot;}" data-component-name="HighlightedCodeBlockToDOM"><pre class="shiki"><code class="language-python">from openai import OpenAI

client = OpenAI(base_url="http://127.0.0.1:8080/v1", api_key="not-needed")

response = client.chat.completions.create(
    model="local",
    messages=[{"role": "user", "content": "Explain KV caching in two sentences."}],
)
print(response.choices[0].message.content)</code></pre></div><h1>What&#8217;s inside GGUF Files</h1><p>A GGUF is a one stop shop for model information. It contains not only a weights blob but also a configuration, the tokenizer, the chat template, and the weights. That design choice is why <code>llama-server -m model.gguf</code> needs no other arguments.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!fCnl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89f59c03-a2ae-4a9f-87c2-1bce6fda3571_3072x2236.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!fCnl!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89f59c03-a2ae-4a9f-87c2-1bce6fda3571_3072x2236.png 424w, https://substackcdn.com/image/fetch/$s_!fCnl!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89f59c03-a2ae-4a9f-87c2-1bce6fda3571_3072x2236.png 848w, https://substackcdn.com/image/fetch/$s_!fCnl!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89f59c03-a2ae-4a9f-87c2-1bce6fda3571_3072x2236.png 1272w, https://substackcdn.com/image/fetch/$s_!fCnl!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89f59c03-a2ae-4a9f-87c2-1bce6fda3571_3072x2236.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!fCnl!,w_2400,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89f59c03-a2ae-4a9f-87c2-1bce6fda3571_3072x2236.png" width="1200" height="873.6263736263736" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/89f59c03-a2ae-4a9f-87c2-1bce6fda3571_3072x2236.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;large&quot;,&quot;height&quot;:1060,&quot;width&quot;:1456,&quot;resizeWidth&quot;:1200,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:&quot;center&quot;,&quot;offset&quot;:false}" class="sizing-large" alt="" srcset="https://substackcdn.com/image/fetch/$s_!fCnl!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89f59c03-a2ae-4a9f-87c2-1bce6fda3571_3072x2236.png 424w, https://substackcdn.com/image/fetch/$s_!fCnl!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89f59c03-a2ae-4a9f-87c2-1bce6fda3571_3072x2236.png 848w, https://substackcdn.com/image/fetch/$s_!fCnl!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89f59c03-a2ae-4a9f-87c2-1bce6fda3571_3072x2236.png 1272w, https://substackcdn.com/image/fetch/$s_!fCnl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89f59c03-a2ae-4a9f-87c2-1bce6fda3571_3072x2236.png 1456w" sizes="100vw" loading="lazy"></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 aria-hidden="true" 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><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">The structure of a GGUF file, from <a href="https://huggingface.co/docs/hub/en/gguf">HuggingFace</a>.</figcaption></figure></div><p>The header carries some magic bytes, a format version (currently 3), a tensor count, and a metadata count. Files default to little-endian. Big-endian support arrived with version 3.</p><p>The metadata section is the interesting part. Keys are dotted lower-snake-case ASCII, capped at 65535 bytes. Values carry an explicit type tag covering the integer widths, floats, booleans, strings, and arrays. Older ggml formats used fixed-order untyped hyperparameters. The typed key-value store is what lets one format carry over a hundred model architectures without a version bump every time.</p><p>Tensor entries hold a name, a dimension count, the dimensions, a ggml type, and an offset into the data section. One trap for anyone parsing by hand: dimensions are stored in reverse order. A <code>[4096, 11008]</code> tensor shows up as <code>[11008, 4096]</code>.</p><p>Tensor data sits at a 32-byte alignment boundary by default, overridable with the `general.alignment` key. Every tensor offset is a multiple of that alignment. The flat, aligned layout is what lets Metal read tensors straight out of a memory-mapped file with no extra copy. It is the reason a 5 GB model appears to load in under a second the second time you start the server.</p><p>All of this information can be easily extracted from the <code>gguf</code> file using the gguf Python package (installable with <code>uv add gguf</code>):</p><div class="highlighted_code_block" data-attrs="{&quot;language&quot;:&quot;bash&quot;,&quot;nodeId&quot;:&quot;5c9cd70c-157a-497b-80ab-453fa13fd483&quot;}" data-component-name="HighlightedCodeBlockToDOM"><pre class="shiki"><code class="language-bash">gguf-dump ~/models/gemma-3-1b-it-f16.gguf</code></pre></div><p>to produce:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!TbFf!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2abbe213-4427-482d-ab6c-1b483b6b5d59_1610x1608.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!TbFf!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2abbe213-4427-482d-ab6c-1b483b6b5d59_1610x1608.png 424w, https://substackcdn.com/image/fetch/$s_!TbFf!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2abbe213-4427-482d-ab6c-1b483b6b5d59_1610x1608.png 848w, https://substackcdn.com/image/fetch/$s_!TbFf!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2abbe213-4427-482d-ab6c-1b483b6b5d59_1610x1608.png 1272w, https://substackcdn.com/image/fetch/$s_!TbFf!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2abbe213-4427-482d-ab6c-1b483b6b5d59_1610x1608.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!TbFf!,w_2400,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2abbe213-4427-482d-ab6c-1b483b6b5d59_1610x1608.png" width="1200" height="1198.3516483516485" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2abbe213-4427-482d-ab6c-1b483b6b5d59_1610x1608.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;large&quot;,&quot;height&quot;:1454,&quot;width&quot;:1456,&quot;resizeWidth&quot;:1200,&quot;bytes&quot;:454219,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://data4sci.substack.com/i/208546133?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2abbe213-4427-482d-ab6c-1b483b6b5d59_1610x1608.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:&quot;center&quot;,&quot;offset&quot;:false}" class="sizing-large" alt="" srcset="https://substackcdn.com/image/fetch/$s_!TbFf!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2abbe213-4427-482d-ab6c-1b483b6b5d59_1610x1608.png 424w, https://substackcdn.com/image/fetch/$s_!TbFf!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2abbe213-4427-482d-ab6c-1b483b6b5d59_1610x1608.png 848w, https://substackcdn.com/image/fetch/$s_!TbFf!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2abbe213-4427-482d-ab6c-1b483b6b5d59_1610x1608.png 1272w, https://substackcdn.com/image/fetch/$s_!TbFf!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2abbe213-4427-482d-ab6c-1b483b6b5d59_1610x1608.png 1456w" sizes="100vw" loading="lazy"></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 aria-hidden="true" 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><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></figure></div><p>and you can use </p><div class="highlighted_code_block" data-attrs="{&quot;language&quot;:&quot;bash&quot;,&quot;nodeId&quot;:&quot;bf604150-d6da-4d8c-aa6a-7e64d8d0cac0&quot;}" data-component-name="HighlightedCodeBlockToDOM"><pre class="shiki"><code class="language-bash">gguf-dump --no-tensors ~/models/gemma-3-1b-it-f16.gguf</code></pre></div><p>to skip all the verbose tensor information.</p><p>Naturally, all this information is also available programmatically from inside Python:</p><div class="highlighted_code_block" data-attrs="{&quot;language&quot;:&quot;python&quot;,&quot;nodeId&quot;:&quot;ae725bb2-2d3d-4a7f-a9eb-132730bc38c2&quot;}" data-component-name="HighlightedCodeBlockToDOM"><pre class="shiki"><code class="language-python">from gguf import GGUFReader

reader = GGUFReader("/Users/bgoncalves/models/gemma-3-1b-it-f16.gguf")

for key, field in reader.fields.items():
    if "tokens" in key or "scores" in key:   # skip the 32k-element arrays
        continue
    print(key, "=", field.contents())

for tensor in reader.tensors[:5]:
    print(f"{tensor.name:40s} {str(tensor.tensor_type):12s} {tensor.shape}")</code></pre></div><p>You can edit metadata too. <code>gguf-set-metadata</code> writes a modified copy with keys added or removed. <code>gguf-editor-gui</code> opens a PySide6 window over the same data. This might come in handy when a third party re-uploaded quant ships a broken <code>tokenizer.chat_template</code>, and you need to patch it without re-downloading the whole file.</p><h1>Quantization</h1><p>We&#8217;ll dive into the intricacies of quantization in a future post, but in order to successfully choose the best local models for your application and hardware you need to grap the basic idea.</p><p>Large Language Models are massive memory hogs and the more parameters, the more memory you&#8217;ll need. State of the art models (like <a href="https://huggingface.co/blog/ResterChed/kimi-k3-model-overview-mxfp4-quantization-open-wei">Kimi 3</a>) have multi-trillion parameters, resulting in multiple terabytes requirements for VRAM. <a href="https://huggingface.co/docs/optimum/en/concept_guides/quantization">Quantization</a> is a way of reducing the memory footprint of an LLM by lowering the numerical precision of its weights. Conceptually, it&#8217;s similar to how you might compress image files to reduce the file size.</p><p>By default, model weights are trained and stored in 16-bit Floating Point precision, known as FP16,  making each parameter takes up 2 bytes of VRAM. At this precision, a 70-billion parameter model (like <a href="https://huggingface.co/meta-llama/Meta-Llama-3-70B">Llama-3 70B</a>) requires over 140 GB of VRAM just to load into memory. In order to run it, you would need multiple (less than affordable) <a href="https://www.asacomputers.com/nvidia-h100-80gb-nvh100tcgpu-gpu-card.html">NVIDIA H100</a>s, making it impossible for regular developers or consumers to run locally.</p><p>Quantization changes the math by converting those 16-bit floating-point numbers into 8-bit or 4-bit integers (INT8 or INT4), it drastically shrinks the model size. An INT4 version of that same 70B model only requires about 35&#8211;40 GB of VRAM, allowing it to run on consumer hardware or high-end MacBooks.</p><p>So what do <a href="https://medium.com/@paul.ilvez/demystifying-llm-quantization-suffixes-what-q4-k-m-q8-0-and-q6-k-really-mean-0ec2770f17d3">all those letters after a model name</a> mean? The first part of a GGUF/llama.cpp suffix always starts with a <strong>Q</strong> followed by a number which corresponds to the <em>average</em> number of bits used to store each weight. You might also see a <strong>_K_</strong> followed by an <strong>S(mall)</strong>, <strong>M(edium)</strong>, or <strong>L(arge)</strong>. The &#8220;<strong>K</strong>&#8221; indicates it uses <a href="https://arxiv.org/abs/2605.19645">K-quantization</a> (block-wise mixed precision), where different layers of the neural network are quantized at different levels depending on how important they are to the model&#8217;s structure.</p><p>As the reduced size applies to every weight in the model, changing the quantization can have a huge impact on the memory requirements:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!-58A!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F58778e58-09b0-48da-a26d-f25c347f9d55_988x362.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!-58A!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F58778e58-09b0-48da-a26d-f25c347f9d55_988x362.png 424w, https://substackcdn.com/image/fetch/$s_!-58A!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F58778e58-09b0-48da-a26d-f25c347f9d55_988x362.png 848w, https://substackcdn.com/image/fetch/$s_!-58A!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F58778e58-09b0-48da-a26d-f25c347f9d55_988x362.png 1272w, https://substackcdn.com/image/fetch/$s_!-58A!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F58778e58-09b0-48da-a26d-f25c347f9d55_988x362.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!-58A!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F58778e58-09b0-48da-a26d-f25c347f9d55_988x362.png" width="988" height="362" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/58778e58-09b0-48da-a26d-f25c347f9d55_988x362.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:362,&quot;width&quot;:988,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:204101,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://data4sci.substack.com/i/208546133?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F58778e58-09b0-48da-a26d-f25c347f9d55_988x362.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!-58A!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F58778e58-09b0-48da-a26d-f25c347f9d55_988x362.png 424w, https://substackcdn.com/image/fetch/$s_!-58A!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F58778e58-09b0-48da-a26d-f25c347f9d55_988x362.png 848w, https://substackcdn.com/image/fetch/$s_!-58A!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F58778e58-09b0-48da-a26d-f25c347f9d55_988x362.png 1272w, https://substackcdn.com/image/fetch/$s_!-58A!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F58778e58-09b0-48da-a26d-f25c347f9d55_988x362.png 1456w" sizes="100vw" loading="lazy"></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 aria-hidden="true" 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><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">These values are estimates. Hugging Face shows the true file size before you download.</figcaption></figure></div><p>So, why not just use the smallest quantization possible? Because, just like your photos, the price you pay for compression is quality and Llama.cpp&#8217;s choice to go with <strong>Q4_K_M</strong> above is starting to make sense. It uses 4-bit per weight, with (K) smart, mixed-precision layer strategy and a medium profile. Essentially, a good default setting. </p><h1>Memory Footprint</h1><p>From the discussion above, we can start to work out exactly how much memory we&#8217;ll need to run our chosen model, <strong>Gemma 3 1B</strong> at full F16 precision. With F16, we need 2 bytes per weight at with 1B weights we it&#8217;s easy to see that we&#8217;ll need around 2GB of memory. </p><p>Unfortunately, that&#8217;s not the end of the memory story. We also need space for the Key-Value cache, a temporary memory storage technique that speeds up text generation by storing past key and value computations, preventing the model from recalculating previous words from scratch for every new token. The memory necessary for this depends directly on the context size so the larger the context, the larger the memory requirements.</p><p>Finally, you also need compute buffers to speed up some of the calculations. So, on an entry level 16GB Mac machine our 1B parameter model looks something like this:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!9doK!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdcf75fa1-ff2c-45bf-87d3-79f36a3aef9f_2588x1588.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!9doK!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdcf75fa1-ff2c-45bf-87d3-79f36a3aef9f_2588x1588.png 424w, https://substackcdn.com/image/fetch/$s_!9doK!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdcf75fa1-ff2c-45bf-87d3-79f36a3aef9f_2588x1588.png 848w, https://substackcdn.com/image/fetch/$s_!9doK!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdcf75fa1-ff2c-45bf-87d3-79f36a3aef9f_2588x1588.png 1272w, https://substackcdn.com/image/fetch/$s_!9doK!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdcf75fa1-ff2c-45bf-87d3-79f36a3aef9f_2588x1588.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!9doK!,w_2400,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdcf75fa1-ff2c-45bf-87d3-79f36a3aef9f_2588x1588.png" width="1200" height="735.989010989011" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/dcf75fa1-ff2c-45bf-87d3-79f36a3aef9f_2588x1588.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;large&quot;,&quot;height&quot;:893,&quot;width&quot;:1456,&quot;resizeWidth&quot;:1200,&quot;bytes&quot;:176494,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://data4sci.substack.com/i/208546133?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdcf75fa1-ff2c-45bf-87d3-79f36a3aef9f_2588x1588.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:&quot;center&quot;,&quot;offset&quot;:false}" class="sizing-large" alt="" srcset="https://substackcdn.com/image/fetch/$s_!9doK!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdcf75fa1-ff2c-45bf-87d3-79f36a3aef9f_2588x1588.png 424w, https://substackcdn.com/image/fetch/$s_!9doK!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdcf75fa1-ff2c-45bf-87d3-79f36a3aef9f_2588x1588.png 848w, https://substackcdn.com/image/fetch/$s_!9doK!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdcf75fa1-ff2c-45bf-87d3-79f36a3aef9f_2588x1588.png 1272w, https://substackcdn.com/image/fetch/$s_!9doK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdcf75fa1-ff2c-45bf-87d3-79f36a3aef9f_2588x1588.png 1456w" sizes="100vw" loading="lazy"></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 aria-hidden="true" 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><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></figure></div><p>Where it is clear that we are well within our limits, with room to spare, even without any quantization and on an entry level machine.</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;:true,&quot;topImage&quot;:false,&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" loading="lazy"></picture><div></div></div></a></figure></div><p>Now that you understand the basics of how to use llama.cpp you&#8217;re well on your way to explore the wonderful world of self hosting LLM models.</p><p>If you enjoyed this post, consider subscribing and sharing it with a colleague who is building agents, and let me know in the comments which primitive you&#8217;d want a deeper dive on next.</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>]]></content:encoded></item><item><title><![CDATA[Building an Advanced Agentic Harness]]></title><description><![CDATA[From a single pilot to an air campaign: planning, parallelism, memory, verification, and observability for production-shaped agents.]]></description><link>https://data4sci.substack.com/p/building-an-advanced-agentic-harness</link><guid isPermaLink="false">https://data4sci.substack.com/p/building-an-advanced-agentic-harness</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Wed, 15 Jul 2026 15:45:55 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!5A9N!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b4fb9de-22ea-419c-a112-1d77ffbb4611_1131x1711.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>In <a href="https://data4sci.substack.com/p/building-a-basic-agentic-harness">Building a Basic Agentic Harness</a> we borrowed Colonel John Boyd&#8217;s <a href="https://en.wikipedia.org/wiki/OODA_loop">OODA</a> loop and built the simplest thing that deserves to be called an agent: a loop that observes its state, asks the LLM to decide, validates the decision, executes a tool, and folds the result back into the state. The LLM is the pilot, and we built the fighter jet around it.</p><p>In this post we continue exploring the finer points of Agentic Harnesses and build a full fledge Advanced Harness.</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>The companion notebook is available on the LLMs for Data Science GitHub repository:</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://github.com/DataForScience/LLMs&quot;,&quot;text&quot;:&quot;LLMs for Science GitHub&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://github.com/DataForScience/LLMs"><span>LLMs for 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>That Basic Harness loop is correct, but <em>naive</em>. A lone pilot in a well-built jet might win a dogfight, but nobody runs an air campaign that way. <a href="https://amzn.to/4vqYj0o">Real operations</a> add mission planners who decide what sorties to fly before anyone takes off, squadrons that fly independent sorties in parallel, fuel budgets and bingo calls that force a return to base before the tanks run dry, flight recorders that make every mission reconstructible after the fact, and after-act&#8230;</p>
      <p>
          <a href="https://data4sci.substack.com/p/building-an-advanced-agentic-harness">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Build a (small) language model by counting]]></title><description><![CDATA[A 4-gram model on WikiText-103, and the one idea it shares with Claude.]]></description><link>https://data4sci.substack.com/p/build-a-small-language-model-by-counting</link><guid isPermaLink="false">https://data4sci.substack.com/p/build-a-small-language-model-by-counting</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Wed, 24 Jun 2026 13:24:31 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!pCs8!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e1fdad3-b7cf-43db-9796-9aea6eb92a85_3684x2484.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>This week we continue our exploration of Large Language Models by building a simple markov based language model. By the end of this post you&#8217;ll understand better the basic mechanisms underlying language generation.</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>You can also find the companion notebook on the LLMs for Data Science GitHub repository:</p><p>You can also find the companion notebook on the LLMs for Data Science GitHub repository:</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://github.com/DataForScience/LLMs/&quot;,&quot;text&quot;:&quot;LLMs for Science GitHub&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://github.com/DataForScience/LLMs/"><span>LLMs for 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;:&quot;&quot;,&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="" title="" 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>Every language model does one thing. It reads some words and guesses the next one. ChatGPT does it. Your phone keyboard does it. The model in this post does it too, and you can build this one by hand. It counts how often each three-word sequence is followed by a given word, then turns those counts into probabilities. That single idea, next-word prediction, sits at the center of every system in the field.</p><p>The build is short. We start with what an n-gram model is and where the idea came from. We load WikiText-103 and study it. We build the model, read off what it learned, and let it write. We close by set&#8230;</p>
      <p>
          <a href="https://data4sci.substack.com/p/build-a-small-language-model-by-counting">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Building a Basic Agentic Harness]]></title><description><![CDATA[The secret sauce behind Claude Code, Open Clawd, Hermes, etc]]></description><link>https://data4sci.substack.com/p/building-a-basic-agentic-harness</link><guid isPermaLink="false">https://data4sci.substack.com/p/building-a-basic-agentic-harness</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Wed, 27 May 2026 11:40:33 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!-LJN!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ea0a2cf-5602-4213-8a7a-844900f357e4_1024x559.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Every coding agent you&#8217;ve ever used: Claude Code, OpenClawd, Cursor&#8217;s agent mode, Devin, Hermes, the autonomous research assistants proliferating across HackerNews, etc., all run on the same machinery, the <strong>Agentic Harness</strong>.</p><p>In this post, we&#8217;ll build a basic Harness from scratch to understand every moving part. By the end, you&#8217;ll have a working bare bones agent and a clear mental model of what agents like Claude Code are actually doing under the hood. </p><p>We&#8217;ll look at how to build a more sophisticated production-ready harness in a future post.</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>You can also find the companion notebook on the LLMs for Data Science GitHub repository:</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://github.com/DataForScience/LLMs/&quot;,&quot;text&quot;:&quot;LLMs for Science GitHub&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://github.com/DataForScience/LLMs/"><span>LLMs for 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 the early 1950s, war raged over the Korean peninsula with American-made <a href="https://en.wikipedia.org/wiki/North_American_F-86_Sabre">F-86</a> fighters <a href="https://amzn.to/4tDqckG">being outmatched</a> by the technically superior Russian-made <a href="https://en.wikipedia.org/wiki/Mikoyan-Gurevich_MiG-15">MiG-15</a>. Col <a href="https://en.wikipedia.org/wiki/John_Boyd_(military_strategist)">John Boyd</a> was the US Air Force fighter pilot in charge of trying to  His main insight has proven useful ever since: You can make the combined US Pilot + F-86 system better than the Korean Pilot + MiG-15 system&#8230;</p>
      <p>
          <a href="https://data4sci.substack.com/p/building-a-basic-agentic-harness">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[From News Articles to Knowledge Graphs with spaCy and NetworkX]]></title><description><![CDATA[Building a complete NLP pipeline to extract entities, discover relationships, and visualize knowledge networks from unstructured text]]></description><link>https://data4sci.substack.com/p/from-news-articles-to-knowledge-graphs</link><guid isPermaLink="false">https://data4sci.substack.com/p/from-news-articles-to-knowledge-graphs</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Sat, 09 May 2026 11:38:52 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!jigf!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F828f1802-f6ce-4fd1-a8ee-a0edd35b9b24_3738x2538.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>News articles encode relationships in plain language all the time&#8230; &#8220;Apple acquired Beats Electronics&#8221;, &#8220;President Obama visited France&#8221;, &#8220;Google announced a partnership with Samsung&#8221;. </p><p>Each sentence is a triple in disguise: two entities and a verb tying them together. If we extract enough of them across enough articles, we get a knowledge graph: a structure we can query, visualize, and reason over.</p><p>This post walks through that pipeline end-to-end. We start from raw news text, run named entity recognition with spaCy, infer relationships, and analyze the resulting 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>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 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 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_!ydTG!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ydTG!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!ydTG!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!ydTG!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!ydTG!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ydTG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png" width="1400" height="76" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0aff2125-c801-4968-985d-479c9506a82d_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_!ydTG!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!ydTG!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!ydTG!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!ydTG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p>We use the AG News corpus, 120,000 articles across four categories (World, Sports, Business, Sci/Tech). For the sake of expediency, we sample 2,000 articles, balanced 500 per category. Loading is a single call to <a href="https://huggingface.co/datasets/sh0416/ag_news">Hugging Face</a>:</p><div class="highlighted_code_block" data-attrs="{&quot;language&quot;:&quot;python&quot;,&quot;nodeId&quot;:&quot;fd866c2f-fad6-4801-9b2e-e60bc03c8047&quot;}" data-component-name="HighlightedCodeBlockToDOM"><pre class="shiki"><code class="language-python">from datasets import load_dataset

dataset = load_dataset('ag_news', split='train')
df = dataset.to_pand&#8230;</code></pre></div>
      <p>
          <a href="https://data4sci.substack.com/p/from-news-articles-to-knowledge-graphs">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Airline Traffic Between States]]></title><description><![CDATA[Use custom made pie charts to visualize U.S. Map of State-to-State Travel]]></description><link>https://data4sci.substack.com/p/airline-traffic-between-states</link><guid isPermaLink="false">https://data4sci.substack.com/p/airline-traffic-between-states</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Tue, 21 Apr 2026 20:53:01 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!KcVW!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2de96c14-35c2-4ba2-ae9c-63863917a5e1_1589x1106.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Pie charts have a rich history. <a href="https://en.wikipedia.org/wiki/Pie_chart#History">William Playfair</a> first used them in 1801, and despite decades of criticism from data visualization purists, they remain one of the most instantly recognizable ways to show proportions. Today we'll put them to work in a decidedly non-standard way: placing custom-built pie charts directly on a geographic map to reveal where Americans fly.</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>You can find the companion notebook on the Visualizarion for Data Science GitHub repository:</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://github.com/DataForScience/Viz4sci&quot;,&quot;text&quot;:&quot;Visualization For Science GitHub&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://github.com/DataForScience/Viz4sci"><span>Visualization For 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_!ydTG!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ydTG!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!ydTG!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!ydTG!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!ydTG!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ydTG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png" width="1400" height="76" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0aff2125-c801-4968-985d-479c9506a82d_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_!ydTG!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!ydTG!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!ydTG!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!ydTG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p>The <a href="https://www.transtats.bts.gov/Tables.asp?QO_VQ=EED&amp;QO_anzr=Nv4%FDPn44vr4%FDf6n6v56vp5%FD%FLS14z%FDHE%FDg4nssvp%FM-%FD%FDh.f.%FDPn44vr45&amp;QO_fu146_anzr=Nv4%FDPn44vr45">Bureau of Transportation Statistics</a> provides a wide range of datasets on US and global transportation infrastructure. We have used it previously <a href="https://data4sci.substack.com/p/graphs-101">here</a>, <a href="https://data4sci.substack.com/p/network-assortativity-and-the-configurational">here</a>, and <a href="https://data4sci.substack.com/p/geographical-maps-with-cartopy">here</a>.</p><p>The first step in our analysis is to extract the Top destinations for each state. We sort the outgoing destination of each state and extract the Top <strong>n:</strong></p>
      <p>
          <a href="https://data4sci.substack.com/p/airline-traffic-between-states">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><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[Top 10 Books we read in 2025 ]]></title><description><![CDATA[A year&#8217;s worth of the best Large Language Models, Software Engineering, AI, and Algorithms.]]></description><link>https://data4sci.substack.com/p/top-10-books-we-read-in-2025</link><guid isPermaLink="false">https://data4sci.substack.com/p/top-10-books-we-read-in-2025</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Sat, 10 Jan 2026 18:31:27 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!MsIW!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff05c6279-97e4-4cdb-9be3-bc3c80a59b60_1024x1024.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!MsIW!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff05c6279-97e4-4cdb-9be3-bc3c80a59b60_1024x1024.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!MsIW!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff05c6279-97e4-4cdb-9be3-bc3c80a59b60_1024x1024.png 424w, https://substackcdn.com/image/fetch/$s_!MsIW!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff05c6279-97e4-4cdb-9be3-bc3c80a59b60_1024x1024.png 848w, https://substackcdn.com/image/fetch/$s_!MsIW!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff05c6279-97e4-4cdb-9be3-bc3c80a59b60_1024x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!MsIW!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff05c6279-97e4-4cdb-9be3-bc3c80a59b60_1024x1024.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!MsIW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff05c6279-97e4-4cdb-9be3-bc3c80a59b60_1024x1024.png" width="1024" height="1024" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f05c6279-97e4-4cdb-9be3-bc3c80a59b60_1024x1024.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1024,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:2344967,&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;:&quot;https://data4sci.substack.com/i/184124245?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff05c6279-97e4-4cdb-9be3-bc3c80a59b60_1024x1024.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!MsIW!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff05c6279-97e4-4cdb-9be3-bc3c80a59b60_1024x1024.png 424w, https://substackcdn.com/image/fetch/$s_!MsIW!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff05c6279-97e4-4cdb-9be3-bc3c80a59b60_1024x1024.png 848w, https://substackcdn.com/image/fetch/$s_!MsIW!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff05c6279-97e4-4cdb-9be3-bc3c80a59b60_1024x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!MsIW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff05c6279-97e4-4cdb-9be3-bc3c80a59b60_1024x1024.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 aria-hidden="true" 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><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></figure></div><h2>1. Building AI Agents with LLMs, RAG, and Knowledge Graphs</h2>
      <p>
          <a href="https://data4sci.substack.com/p/top-10-books-we-read-in-2025">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Demographic processes]]></title><description><![CDATA[Simulating Epidemics with Birth and Death rates]]></description><link>https://data4sci.substack.com/p/demographic-processes</link><guid isPermaLink="false">https://data4sci.substack.com/p/demographic-processes</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Mon, 14 Apr 2025 13:32:07 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%2F5e02dd59-3f70-4342-9420-5c6b7b401a7c_865x571.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Welcome to the latest post of the Epidemic Modeling series. In this post, we go beyond constant population and start modeling the striking effects that demographic processes (natural birth and death rates) can have on epidemic spreading.</p><p>If you would like a quick refresher before we get started, check out our previous posts in this series (especially the first 2):</p><ol><li><p><a href="https://data4sci.substack.com/p/epidemic-modeling-101-or-why-your">Epidemic Modeling 101: Or why your CoVID19 exponential fits are wrong</a></p></li><li><p><a href="https://data4sci.substack.com/p/all-covid-19-models-are-wrong-but">All CoVID-19 models are wrong, but some are useful</a></p></li><li><p><a href="https://data4sci.substack.com/p/adding-confidence-intervals-and-stochastic">Adding confidence intervals and stochastic effects to your CoVID-19 Models</a></p></li><li><p><a href="https://data4sci.substack.com/p/impact-of-seasonal-effects-on-covid">Impact of Seasonal effects on CoVID-19</a></p></li><li><p><a href="https://data4sci.substack.com/p/competing-covid-19-strains">Competing CoVID-19 Strains</a></p></li><li><p><a href="https://data4sci.substack.com/p/network-structure-super-spreaders">Network Structure, Super-spreaders and Contact Tracing</a></p></li><li><p><a href="https://data4sci.substack.com/p/network-models">Network Models, the effect of degree correlations</a></p></li><li><p><a href="https://data4sci.substack.com/p/how-to-model-the-effects-of-vaccination">How to model the effects of vaccination</a></p></li><li><p><a href="https://data4sci.substack.com/p/the-impact-of-age-structure-on-epidemic">The Impact of Age Structure on Epidemic Spreading</a></p></li><li><p><a href="https://data4sci.substack.com/p/meta-population-models">Meta-population Models</a></p></li></ol><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ydTG!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ydTG!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!ydTG!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!ydTG!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!ydTG!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ydTG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png" width="1400" height="76" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0aff2125-c801-4968-985d-479c9506a82d_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;:&quot;&quot;,&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="" title="" srcset="https://substackcdn.com/image/fetch/$s_!ydTG!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!ydTG!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!ydTG!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!ydTG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p>In all the models we have considered so far, we have kept the total population constant by making sure that all transitions between compartments balanced out. For e&#8230;</p>
      <p>
          <a href="https://data4sci.substack.com/p/demographic-processes">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Choropleth Maps]]></title><description><![CDATA[In this post, we will learn how to quickly and easily plot geographical data using Shapefiles from the Census Bureau, geopandas, and matplotlib.]]></description><link>https://data4sci.substack.com/p/choropleth-maps</link><guid isPermaLink="false">https://data4sci.substack.com/p/choropleth-maps</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Wed, 02 Apr 2025 14:49:30 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%2F1d88641d-7dca-47c3-85f8-f6cb2dffd933_1260x774.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>In this post, we will learn how to quickly and easily plot geographical data using Shapefiles from the Census Bureau, geopandas, and matplotlib.</p><p>We hope your enjoy this post and 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>so you never miss a post and</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/p/choropleth-maps?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/choropleth-maps?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><p>to help us grow! </p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!v7wD!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!v7wD!,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%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!v7wD!,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%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!v7wD!,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%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!v7wD!,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%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!v7wD!,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%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png" width="1400" height="76" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/ff3cc66b-508c-4344-ad75-4752a5d07fd6_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_!v7wD!,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%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!v7wD!,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%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!v7wD!,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%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!v7wD!,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%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p>The <a href="https://www.census.gov/">US Census Bureau</a> provides detailed shapefiles for <a href="https://www.census.gov/geographies/mapping-files.html">various regions</a> in the US. We download the <a href="https://www2.census.gov/geo/tiger/GENZ2018/shp/cb_2018_us_state_500k.zip">shapefile</a> for the 50 States. And load it with <a href="https://geopandas.org/en/stable/">GeoPandas</a>:</p>
      <p>
          <a href="https://data4sci.substack.com/p/choropleth-maps">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Top 10 Books we read in 2024 ]]></title><description><![CDATA[A year&#8217;s worth of the best Data Science, Machine Learning, AI, and Algorithms.]]></description><link>https://data4sci.substack.com/p/top-10-books-we-read-in-2024</link><guid isPermaLink="false">https://data4sci.substack.com/p/top-10-books-we-read-in-2024</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Sat, 28 Dec 2024 11:50:04 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!q2-k!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F378e64ca-5fe1-414a-9c82-ac1d77d49712_1024x1024.webp" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!q2-k!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F378e64ca-5fe1-414a-9c82-ac1d77d49712_1024x1024.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!q2-k!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F378e64ca-5fe1-414a-9c82-ac1d77d49712_1024x1024.webp 424w, https://substackcdn.com/image/fetch/$s_!q2-k!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F378e64ca-5fe1-414a-9c82-ac1d77d49712_1024x1024.webp 848w, https://substackcdn.com/image/fetch/$s_!q2-k!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F378e64ca-5fe1-414a-9c82-ac1d77d49712_1024x1024.webp 1272w, https://substackcdn.com/image/fetch/$s_!q2-k!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F378e64ca-5fe1-414a-9c82-ac1d77d49712_1024x1024.webp 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!q2-k!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F378e64ca-5fe1-414a-9c82-ac1d77d49712_1024x1024.webp" width="1024" height="1024" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/378e64ca-5fe1-414a-9c82-ac1d77d49712_1024x1024.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1024,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;A whimsical, friendly humanoid robot of the future, sitting at a wooden table in a grand library filled with towering bookshelves. The robot&#8217;s metallic, streamlined body has soft, glowing accents. It is deeply concentrated on an old hardcover book, gently turning a page with a delicate robotic arm. Warm, golden light filters in through large windows, creating a calm, cozy atmosphere. The library backdrop is ornate and scholarly, reminiscent of a classic Victorian reading room but with subtle futuristic elements like glowing holographic signage or modern architecture details. The overall mood is peaceful, curious, and enchanting. High resolution, highly detailed, cinematic lighting.&quot;,&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="A whimsical, friendly humanoid robot of the future, sitting at a wooden table in a grand library filled with towering bookshelves. The robot&#8217;s metallic, streamlined body has soft, glowing accents. It is deeply concentrated on an old hardcover book, gently turning a page with a delicate robotic arm. Warm, golden light filters in through large windows, creating a calm, cozy atmosphere. The library backdrop is ornate and scholarly, reminiscent of a classic Victorian reading room but with subtle futuristic elements like glowing holographic signage or modern architecture details. The overall mood is peaceful, curious, and enchanting. High resolution, highly detailed, cinematic lighting." title="A whimsical, friendly humanoid robot of the future, sitting at a wooden table in a grand library filled with towering bookshelves. The robot&#8217;s metallic, streamlined body has soft, glowing accents. It is deeply concentrated on an old hardcover book, gently turning a page with a delicate robotic arm. Warm, golden light filters in through large windows, creating a calm, cozy atmosphere. The library backdrop is ornate and scholarly, reminiscent of a classic Victorian reading room but with subtle futuristic elements like glowing holographic signage or modern architecture details. The overall mood is peaceful, curious, and enchanting. High resolution, highly detailed, cinematic lighting." srcset="https://substackcdn.com/image/fetch/$s_!q2-k!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F378e64ca-5fe1-414a-9c82-ac1d77d49712_1024x1024.webp 424w, https://substackcdn.com/image/fetch/$s_!q2-k!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F378e64ca-5fe1-414a-9c82-ac1d77d49712_1024x1024.webp 848w, https://substackcdn.com/image/fetch/$s_!q2-k!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F378e64ca-5fe1-414a-9c82-ac1d77d49712_1024x1024.webp 1272w, https://substackcdn.com/image/fetch/$s_!q2-k!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F378e64ca-5fe1-414a-9c82-ac1d77d49712_1024x1024.webp 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 aria-hidden="true" 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><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></figure></div><p></p><h3>1. Natural Language Processing with Transformers</h3>
      <p>
          <a href="https://data4sci.substack.com/p/top-10-books-we-read-in-2024">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Announcing the release of Epidemik]]></title><description><![CDATA[I'm thrilled to announce the release of Epidemik, a Python package for simulating compartmental models in epidemiology.]]></description><link>https://data4sci.substack.com/p/announcing-the-release-of-epidemik</link><guid isPermaLink="false">https://data4sci.substack.com/p/announcing-the-release-of-epidemik</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Wed, 12 Jun 2024 13:04:53 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/54c1b33f-88ee-47a3-8e8b-14198749342e_524x516.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>I'm thrilled to announce the release of <em><strong>Epidemik</strong></em>, a Python package for simulating compartmental models in epidemiology.</p><h3>Features</h3><ul><li><p><strong>Homogeneously mixed Model</strong>: Easily define compartmental models by just specifying the transitions and rates</p></li><li><p><strong>Seasonality: </strong>Allow parameters to evolve in time</p></li><li><p><strong>Age Structure:</strong> Convert any compartmental model to an age-structured model by simply adding an age contact matrix and a the population of each age group</p></li><li><p><strong>Network Model: </strong>Easily define epidemic models running over an arbitrary network structure</p></li><li><p><strong>Meta-Population Models</strong>: Define metapopulation model connecting subpopulations through a travel matrix</p></li></ul><blockquote></blockquote><h3>Installation</h3><p>You can install the latest version of Epidemik using pip:</p><pre><code><code>pip install epidemik</code></code></pre><p>Alternatively, you can download the source code from the <a href="https://github.com/DataForScience/epidemik/">GitHub repository</a> and install it manually.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Data For Science is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><h3>Documentation and Support</h3><p>Checkout the documentation o&#8230;</p>
      <p>
          <a href="https://data4sci.substack.com/p/announcing-the-release-of-epidemik">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Meta-Population Models]]></title><description><![CDATA[Welcome to the 10th post of the Epidemic Modeling series.]]></description><link>https://data4sci.substack.com/p/meta-population-models</link><guid isPermaLink="false">https://data4sci.substack.com/p/meta-population-models</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Sat, 13 Apr 2024 14:38:00 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!6vu3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5dc2c373-aedb-4c0b-9f66-39955e412ede_2400x875.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!6vu3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5dc2c373-aedb-4c0b-9f66-39955e412ede_2400x875.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!6vu3!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5dc2c373-aedb-4c0b-9f66-39955e412ede_2400x875.png 424w, https://substackcdn.com/image/fetch/$s_!6vu3!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5dc2c373-aedb-4c0b-9f66-39955e412ede_2400x875.png 848w, https://substackcdn.com/image/fetch/$s_!6vu3!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5dc2c373-aedb-4c0b-9f66-39955e412ede_2400x875.png 1272w, https://substackcdn.com/image/fetch/$s_!6vu3!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5dc2c373-aedb-4c0b-9f66-39955e412ede_2400x875.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!6vu3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5dc2c373-aedb-4c0b-9f66-39955e412ede_2400x875.png" width="1456" height="531" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5dc2c373-aedb-4c0b-9f66-39955e412ede_2400x875.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:531,&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_!6vu3!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5dc2c373-aedb-4c0b-9f66-39955e412ede_2400x875.png 424w, https://substackcdn.com/image/fetch/$s_!6vu3!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5dc2c373-aedb-4c0b-9f66-39955e412ede_2400x875.png 848w, https://substackcdn.com/image/fetch/$s_!6vu3!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5dc2c373-aedb-4c0b-9f66-39955e412ede_2400x875.png 1272w, https://substackcdn.com/image/fetch/$s_!6vu3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5dc2c373-aedb-4c0b-9f66-39955e412ede_2400x875.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 aria-hidden="true" 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><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></figure></div><p>Welcome to the 10th post of the Epidemic Modeling series. In this post, we go beyond single populations and start modeling the spread of a disease through multiple coupled populations. Our fundamental assumptions are that the disease structure is the same everywhere and that individuals can travel between any two populations with a given fixed probability.</p><p>If you would like a quick refresher before we get started, check out our previous posts in this series (especially the first 2):</p><ol><li><p><a href="https://data4sci.substack.com/p/epidemic-modeling-101-or-why-your">Epidemic Modeling 101: Or why your CoVID19 exponential fits are wrong</a></p></li><li><p><a href="https://data4sci.substack.com/p/all-covid-19-models-are-wrong-but">All CoVID-19 models are wrong, but some are useful</a></p></li><li><p><a href="https://data4sci.substack.com/p/adding-confidence-intervals-and-stochastic">Adding confidence intervals and stochastic effects to your CoVID-19 Models</a></p></li><li><p><a href="https://data4sci.substack.com/p/impact-of-seasonal-effects-on-covid">Impact of Seasonal effects on CoVID-19</a></p></li><li><p><a href="https://data4sci.substack.com/p/competing-covid-19-strains">Competing CoVID-19 Strains</a></p></li><li><p><a href="https://data4sci.substack.com/p/network-structure-super-spreaders">Network Structure, Super-spreaders and Contact Tracing</a></p></li><li><p><a href="https://data4sci.substack.com/p/network-models">Network Models, the effect of degree correlations</a></p></li><li><p><a href="https://data4sci.substack.com/p/how-to-model-the-effects-of-vaccination">How to model the effects of vaccination</a></p></li><li><p><a href="https://data4sci.substack.com/p/the-impact-of-age-structure-on-epidemic">The Impact of Age Structure on Epidemic Spreading</a></p></li></ol>
      <p>
          <a href="https://data4sci.substack.com/p/meta-population-models">
              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[Join my chat]]></title><description><![CDATA[A private space for us to converse and connect]]></description><link>https://data4sci.substack.com/p/join-my-chat</link><guid isPermaLink="false">https://data4sci.substack.com/p/join-my-chat</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Sat, 17 Feb 2024 01:06:32 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!2H2-!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F9a23d49f-76bd-4f75-baac-0ae5733774bd_1456x743.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Today I&#8217;m announcing a brand new addition to my Substack publication: the Graphs For Data Science subscriber chat.</p><p>This is a conversation space in the Substack app that I set up exclusively for my subscribers &#8212; kind of like a group chat or live hangout. I&#8217;ll post short prompts, thoughts, and updates that come my way, and you can jump into the discussion. </p><p><strong>To join our chat, you&#8217;ll need to download the <a href="https://substack.com/app/app-store-redirect">Substack app</a>, now available for both iOS and Android.</strong> Chats are sent via the app, not email, so turn on push notifications so you don&#8217;t miss conversation as it happens.</p>
      <p>
          <a href="https://data4sci.substack.com/p/join-my-chat">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[The Impact of Age Structure on Epidemic Spreading]]></title><description><![CDATA[Welcome to the latest post on our long-running epidemic modeling series.]]></description><link>https://data4sci.substack.com/p/the-impact-of-age-structure-on-epidemic</link><guid isPermaLink="false">https://data4sci.substack.com/p/the-impact-of-age-structure-on-epidemic</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Thu, 01 Feb 2024 15:41:00 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!AHGU!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4102385-4ac0-4a4e-8483-573f3e6b89da_2400x1698.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!AHGU!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4102385-4ac0-4a4e-8483-573f3e6b89da_2400x1698.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!AHGU!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4102385-4ac0-4a4e-8483-573f3e6b89da_2400x1698.png 424w, https://substackcdn.com/image/fetch/$s_!AHGU!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4102385-4ac0-4a4e-8483-573f3e6b89da_2400x1698.png 848w, https://substackcdn.com/image/fetch/$s_!AHGU!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4102385-4ac0-4a4e-8483-573f3e6b89da_2400x1698.png 1272w, https://substackcdn.com/image/fetch/$s_!AHGU!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4102385-4ac0-4a4e-8483-573f3e6b89da_2400x1698.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!AHGU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4102385-4ac0-4a4e-8483-573f3e6b89da_2400x1698.png" width="1456" height="1030" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f4102385-4ac0-4a4e-8483-573f3e6b89da_2400x1698.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1030,&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_!AHGU!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4102385-4ac0-4a4e-8483-573f3e6b89da_2400x1698.png 424w, https://substackcdn.com/image/fetch/$s_!AHGU!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4102385-4ac0-4a4e-8483-573f3e6b89da_2400x1698.png 848w, https://substackcdn.com/image/fetch/$s_!AHGU!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4102385-4ac0-4a4e-8483-573f3e6b89da_2400x1698.png 1272w, https://substackcdn.com/image/fetch/$s_!AHGU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4102385-4ac0-4a4e-8483-573f3e6b89da_2400x1698.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 aria-hidden="true" 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><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></figure></div><p>Welcome to the latest post on our long-running epidemic modeling series. In this post, we&#8217;ll cover how to introduce age structure into our compartmental models and its impact on how an epidemic spreads.</p><p>If you need a quick refresher, check out our previous posts in this series (especially the first 2):</p><ol><li><p><a href="https://medium.com/data-for-science/epidemic-modeling-101-or-why-your-covid19-exponential-fits-are-wrong-97aa50c55f8?source=friends_link&amp;sk=513b7aad9c34af4ad26a6a92c498c601">Epidemic Modeling 101: Or why your CoVID19 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?source=friends_link&amp;sk=8ee8eed1af6d13859d02559358144928">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?source=friends_link&amp;sk=ffd4894f1a5bdff98077f75477033f0d">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?source=friends_link&amp;sk=a8b791ed7b1d6ab3866a91c30667cf28">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">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">Network Structure, Super-spreaders and Contact Tracing</a></p></li><li><p><a href="https://medium.data4sci.com/network-models-the-role-of-degree-correlations-c857ae2325ed">Network Models, the effect of degree correlations</a></p></li><li><p><a href="https://medium.data4sci.com/how-to-model-the-effects-of-vaccination-b328768ba2df?sk=8f4601beeb89622099387b3dcecf7d39">How to model the effects of vaccination</a></p></li></ol>
      <p>
          <a href="https://data4sci.substack.com/p/the-impact-of-age-structure-on-epidemic">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Top 10 Books we read in 2023]]></title><description><![CDATA[A year&#8217;s worth of the best Data Science, Machine Learning, AI, and Algorithms.]]></description><link>https://data4sci.substack.com/p/top-10-books-we-read-in-2023</link><guid isPermaLink="false">https://data4sci.substack.com/p/top-10-books-we-read-in-2023</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Wed, 27 Dec 2023 15:58:00 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!CXH7!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1709f2ed-7c2a-4422-88fb-4ca1232248ae_1024x1024.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!CXH7!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1709f2ed-7c2a-4422-88fb-4ca1232248ae_1024x1024.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!CXH7!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1709f2ed-7c2a-4422-88fb-4ca1232248ae_1024x1024.png 424w, https://substackcdn.com/image/fetch/$s_!CXH7!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1709f2ed-7c2a-4422-88fb-4ca1232248ae_1024x1024.png 848w, https://substackcdn.com/image/fetch/$s_!CXH7!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1709f2ed-7c2a-4422-88fb-4ca1232248ae_1024x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!CXH7!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1709f2ed-7c2a-4422-88fb-4ca1232248ae_1024x1024.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!CXH7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1709f2ed-7c2a-4422-88fb-4ca1232248ae_1024x1024.png" width="1024" height="1024" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1709f2ed-7c2a-4422-88fb-4ca1232248ae_1024x1024.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1024,&quot;width&quot;:1024,&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_!CXH7!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1709f2ed-7c2a-4422-88fb-4ca1232248ae_1024x1024.png 424w, https://substackcdn.com/image/fetch/$s_!CXH7!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1709f2ed-7c2a-4422-88fb-4ca1232248ae_1024x1024.png 848w, https://substackcdn.com/image/fetch/$s_!CXH7!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1709f2ed-7c2a-4422-88fb-4ca1232248ae_1024x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!CXH7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1709f2ed-7c2a-4422-88fb-4ca1232248ae_1024x1024.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 aria-hidden="true" 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><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">Image generated by the author using&nbsp;DALL-E</figcaption></figure></div><p>2023 was a year full of great books, some just published and others that have been around for a while and that have just gotten to my hands. Below, you&#8217;ll find some of the ones I found the most impactful for my work and personal interests.</p><h3>1. Computing the Climate&#8202;</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://amzn.to/3v975ql" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!FALE!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa99f9de-6ba6-4bbe-96bd-e4d794ca246e_250x379.png 424w, https://substackcdn.com/image/fetch/$s_!FALE!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa99f9de-6ba6-4bbe-96bd-e4d794ca246e_250x379.png 848w, https://substackcdn.com/image/fetch/$s_!FALE!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa99f9de-6ba6-4bbe-96bd-e4d794ca246e_250x379.png 1272w, https://substackcdn.com/image/fetch/$s_!FALE!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa99f9de-6ba6-4bbe-96bd-e4d794ca246e_250x379.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!FALE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa99f9de-6ba6-4bbe-96bd-e4d794ca246e_250x379.png" width="250" height="379" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/aa99f9de-6ba6-4bbe-96bd-e4d794ca246e_250x379.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:379,&quot;width&quot;:250,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://amzn.to/3v975ql&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&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_!FALE!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa99f9de-6ba6-4bbe-96bd-e4d794ca246e_250x379.png 424w, https://substackcdn.com/image/fetch/$s_!FALE!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa99f9de-6ba6-4bbe-96bd-e4d794ca246e_250x379.png 848w, https://substackcdn.com/image/fetch/$s_!FALE!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa99f9de-6ba6-4bbe-96bd-e4d794ca246e_250x379.png 1272w, https://substackcdn.com/image/fetch/$s_!FALE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa99f9de-6ba6-4bbe-96bd-e4d794ca246e_250x379.png 1456w" sizes="100vw"></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 aria-hidden="true" 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><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></figure></div><p>A captivating journey into the synergy of climate science and computing, making it a must-read for anyone intrigued by the intersection of these fields. Easterbrook&#8217;s engaging writing style effortlessly demystifies complex concepts, ensuring accessibility for readers with diverse backgrounds. The book&#8217;s strength lies in its seamless blend of theoretical discussions with real-world examples, showcasing the instrumental role of computing in unraveling the intricacies of climate dynamics.</p><p>Easterbrook&#8217;s balanced perspective sets this book apart, acknowledging the uncertainties in climate science while underscoring the transformative impact of technological advancements. By delving into interdisciplinary connections with policy, economics, and environmental science, Easterbrook provides a holistic understanding of the challenges associated with climate change. This comprehensive approach educates and empowers readers to recognize the pivotal role of computational progress in shaping our collective response to climate-related issues.</p><p>In essence, &#8220;Computing the Climate&#8221; stands as a persuasive testament to the indispensable role of computing in climate research. Easterbrook&#8217;s skillful narrative not only informs but also inspires readers to grasp the significance of technological innovation in confronting the pressing challenges of our changing climate. This book is an essential addition to the literature, urging readers to actively engage in the ongoing dialogue surrounding the future of our planet.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://amzn.to/3v975ql&quot;,&quot;text&quot;:&quot;Buy On Amazon&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://amzn.to/3v975ql"><span>Buy On Amazon</span></a></p><div><hr></div><h3>2. SQL for Data Analysis&#8202;</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://amzn.to/3ZYXj5z" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!O8hQ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e428d58-0cbb-48e8-971d-f1bcb0ea7a52_1143x1500.jpeg 424w, https://substackcdn.com/image/fetch/$s_!O8hQ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e428d58-0cbb-48e8-971d-f1bcb0ea7a52_1143x1500.jpeg 848w, https://substackcdn.com/image/fetch/$s_!O8hQ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e428d58-0cbb-48e8-971d-f1bcb0ea7a52_1143x1500.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!O8hQ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e428d58-0cbb-48e8-971d-f1bcb0ea7a52_1143x1500.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!O8hQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e428d58-0cbb-48e8-971d-f1bcb0ea7a52_1143x1500.jpeg" width="284" height="372.7034120734908" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8e428d58-0cbb-48e8-971d-f1bcb0ea7a52_1143x1500.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1500,&quot;width&quot;:1143,&quot;resizeWidth&quot;:284,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://amzn.to/3ZYXj5z&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&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_!O8hQ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e428d58-0cbb-48e8-971d-f1bcb0ea7a52_1143x1500.jpeg 424w, https://substackcdn.com/image/fetch/$s_!O8hQ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e428d58-0cbb-48e8-971d-f1bcb0ea7a52_1143x1500.jpeg 848w, https://substackcdn.com/image/fetch/$s_!O8hQ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e428d58-0cbb-48e8-971d-f1bcb0ea7a52_1143x1500.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!O8hQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e428d58-0cbb-48e8-971d-f1bcb0ea7a52_1143x1500.jpeg 1456w" sizes="100vw" loading="lazy"></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 aria-hidden="true" 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><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></figure></div><p>A must-have resource for anyone serious about data analysis and SQL. It equips you with the tools and knowledge to confidently tackle complex data analysis tasks. With its clear explanations, real-world examples, and comprehensive coverage of advanced topics, this book will undoubtedly become an invaluable asset in your data analysis journey. Whether you&#8217;re a data analyst, data scientist, or SQL enthusiast, this book will help you take your skills to the next level and transform data into actionable insights.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://amzn.to/3ZYXj5z&quot;,&quot;text&quot;:&quot;Buy On Amazon&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://amzn.to/3ZYXj5z"><span>Buy On Amazon</span></a></p><div><hr></div><h3>3. Network Science with Python&#8202;</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://amzn.to/3NGPRqH" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!deQZ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3ba4bf5-2f49-47c7-a504-ebfb0a553f9c_250x308.png 424w, https://substackcdn.com/image/fetch/$s_!deQZ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3ba4bf5-2f49-47c7-a504-ebfb0a553f9c_250x308.png 848w, https://substackcdn.com/image/fetch/$s_!deQZ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3ba4bf5-2f49-47c7-a504-ebfb0a553f9c_250x308.png 1272w, https://substackcdn.com/image/fetch/$s_!deQZ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3ba4bf5-2f49-47c7-a504-ebfb0a553f9c_250x308.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!deQZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3ba4bf5-2f49-47c7-a504-ebfb0a553f9c_250x308.png" width="250" height="308" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a3ba4bf5-2f49-47c7-a504-ebfb0a553f9c_250x308.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:308,&quot;width&quot;:250,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://amzn.to/3NGPRqH&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&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_!deQZ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3ba4bf5-2f49-47c7-a504-ebfb0a553f9c_250x308.png 424w, https://substackcdn.com/image/fetch/$s_!deQZ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3ba4bf5-2f49-47c7-a504-ebfb0a553f9c_250x308.png 848w, https://substackcdn.com/image/fetch/$s_!deQZ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3ba4bf5-2f49-47c7-a504-ebfb0a553f9c_250x308.png 1272w, https://substackcdn.com/image/fetch/$s_!deQZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3ba4bf5-2f49-47c7-a504-ebfb0a553f9c_250x308.png 1456w" sizes="100vw" loading="lazy"></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 aria-hidden="true" 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><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></figure></div><p>A highly recommended book for anyone interested in network analysis. It provides a comprehensive and accessible introduction to the topic. The book&#8217;s linear progression and friendly tone make it highly engaging and easy to follow. The author&#8217;s contagious enthusiasm and practical examples effectively communicate the power and importance of network analysis. The book covers various domains, including language and social media data mining, and explores the relationship between NLP and networks, an approach similar to our very own <a href="https://graphs4sci.substack.com/">Graphs for Data Science</a> substack. It emphasizes the value of actionable insights in the conversational AI domain and provides historical context and real-world use cases for NLP solutions. The book also introduces the Python packages used and dives into network science using the NetworkX library. It demonstrates how graphs can be used in machine learning and covers important concepts like betweenness centrality, page rank, and community detection with real-world applications. Overall, &#8220;Network Science with Python&#8221; is a well-written and comprehensive guide that offers practical insights and is suitable for readers of all levels.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://amzn.to/3NGPRqH&quot;,&quot;text&quot;:&quot;Buy On Amazon&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://amzn.to/3NGPRqH"><span>Buy On Amazon</span></a></p><div><hr></div><h3>4. What is ChatGPT Doing&#8230; and Why Does It Work?&#8202;</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://amzn.to/3tws4mt" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!uca8!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee100f0e-5fbd-4931-a7b1-782f8f8277f7_250x375.jpeg 424w, https://substackcdn.com/image/fetch/$s_!uca8!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee100f0e-5fbd-4931-a7b1-782f8f8277f7_250x375.jpeg 848w, https://substackcdn.com/image/fetch/$s_!uca8!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee100f0e-5fbd-4931-a7b1-782f8f8277f7_250x375.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!uca8!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee100f0e-5fbd-4931-a7b1-782f8f8277f7_250x375.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!uca8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee100f0e-5fbd-4931-a7b1-782f8f8277f7_250x375.jpeg" width="250" height="375" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ee100f0e-5fbd-4931-a7b1-782f8f8277f7_250x375.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:375,&quot;width&quot;:250,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://amzn.to/3tws4mt&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&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_!uca8!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee100f0e-5fbd-4931-a7b1-782f8f8277f7_250x375.jpeg 424w, https://substackcdn.com/image/fetch/$s_!uca8!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee100f0e-5fbd-4931-a7b1-782f8f8277f7_250x375.jpeg 848w, https://substackcdn.com/image/fetch/$s_!uca8!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee100f0e-5fbd-4931-a7b1-782f8f8277f7_250x375.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!uca8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee100f0e-5fbd-4931-a7b1-782f8f8277f7_250x375.jpeg 1456w" sizes="100vw" loading="lazy"></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 aria-hidden="true" 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><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></figure></div><p>This book offers a compelling exploration of ChatGPT&#8217;s success and the broader implications of artificial intelligence while delving into the inner workings of ChatGPT and its historical context.</p><p>The book stands out for its accessibility, making complex concepts understandable to non-computer scientists and non-mathematicians alike. Wolfram provides a high-level overview of ChatGPT&#8217;s components, such as embeddings and transformers, without getting bogged down in technical details.</p><p>While acknowledging ChatGPT&#8217;s successes, Wolfram candidly addresses its limitations, especially in real-world computational tasks. He critically examines ChatGPT&#8217;s reliance on neural network weightings and raises intriguing questions about intelligence, drawing parallels with biological evolution.</p><p>In conclusion, &#8220;What Is ChatGPT doing&nbsp;&#8230; and Why Does It Work?&#8221; is a thought-provoking read that demystifies AI for a wide audience. Wolfram&#8217;s expertise and candid exploration make it a must-read for those interested in AI&#8217;s frontiers and the complexities of intelligence.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://amzn.to/3tws4mt&quot;,&quot;text&quot;:&quot;Buy On Amazon&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://amzn.to/3tws4mt"><span>Buy On Amazon</span></a></p><div><hr></div><h3>5. Causal Factor Investing&#8202;</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://amzn.to/47Fc00k" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!EkDF!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdce8d84f-2b08-4a0a-88b2-6269c002065e_250x375.png 424w, https://substackcdn.com/image/fetch/$s_!EkDF!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdce8d84f-2b08-4a0a-88b2-6269c002065e_250x375.png 848w, https://substackcdn.com/image/fetch/$s_!EkDF!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdce8d84f-2b08-4a0a-88b2-6269c002065e_250x375.png 1272w, https://substackcdn.com/image/fetch/$s_!EkDF!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdce8d84f-2b08-4a0a-88b2-6269c002065e_250x375.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!EkDF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdce8d84f-2b08-4a0a-88b2-6269c002065e_250x375.png" width="250" height="375" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/dce8d84f-2b08-4a0a-88b2-6269c002065e_250x375.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:375,&quot;width&quot;:250,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://amzn.to/47Fc00k&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&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_!EkDF!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdce8d84f-2b08-4a0a-88b2-6269c002065e_250x375.png 424w, https://substackcdn.com/image/fetch/$s_!EkDF!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdce8d84f-2b08-4a0a-88b2-6269c002065e_250x375.png 848w, https://substackcdn.com/image/fetch/$s_!EkDF!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdce8d84f-2b08-4a0a-88b2-6269c002065e_250x375.png 1272w, https://substackcdn.com/image/fetch/$s_!EkDF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdce8d84f-2b08-4a0a-88b2-6269c002065e_250x375.png 1456w" sizes="100vw" loading="lazy"></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 aria-hidden="true" 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><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></figure></div><p>&#8202;Causal Factor Investing introduces a unique approach by emphasizing causality, a factor often overlooked in traditional quantitative models. The book provides a refreshing perspective on financial markets, challenging conventional wisdom and offering a comprehensive guide to understanding and implementing causal factor investing.</p><p>What sets this book apart is its practicality. L&#243;pez de Prado delves into the theoretical underpinnings of causal factor investing and provides real-world examples and case studies. This hands-on approach ensures that readers can grasp and apply the concepts to their investment strategies. The author&#8217;s writing style is engaging and approachable, balancing academic rigor and practical applicability.</p><p>In a landscape where financial strategies constantly evolve, &#8220;Causal Factor Investing&#8221; stands out as a timely and relevant resource. L&#243;pez de Prado&#8217;s expertise shines through, making this book essential for both seasoned professionals and those new to quantitative finance. It&#8217;s a must-read for anyone serious about staying ahead in the dynamic world of investment, offering a thought-provoking and informative guide that will shape the future of quantitative finance.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://amzn.to/47Fc00k&quot;,&quot;text&quot;:&quot;Buy On Amazon&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://amzn.to/47Fc00k"><span>Buy On Amazon</span></a></p><div><hr></div><h3>6. Data Science in Context&#8202;</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://amzn.to/3WHcDB5" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!n2HI!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F150a91dc-3868-4fe6-b7eb-102b798cb3be_250x362.png 424w, https://substackcdn.com/image/fetch/$s_!n2HI!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F150a91dc-3868-4fe6-b7eb-102b798cb3be_250x362.png 848w, https://substackcdn.com/image/fetch/$s_!n2HI!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F150a91dc-3868-4fe6-b7eb-102b798cb3be_250x362.png 1272w, https://substackcdn.com/image/fetch/$s_!n2HI!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F150a91dc-3868-4fe6-b7eb-102b798cb3be_250x362.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!n2HI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F150a91dc-3868-4fe6-b7eb-102b798cb3be_250x362.png" width="250" height="362" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/150a91dc-3868-4fe6-b7eb-102b798cb3be_250x362.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:362,&quot;width&quot;:250,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://amzn.to/3WHcDB5&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&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_!n2HI!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F150a91dc-3868-4fe6-b7eb-102b798cb3be_250x362.png 424w, https://substackcdn.com/image/fetch/$s_!n2HI!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F150a91dc-3868-4fe6-b7eb-102b798cb3be_250x362.png 848w, https://substackcdn.com/image/fetch/$s_!n2HI!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F150a91dc-3868-4fe6-b7eb-102b798cb3be_250x362.png 1272w, https://substackcdn.com/image/fetch/$s_!n2HI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F150a91dc-3868-4fe6-b7eb-102b798cb3be_250x362.png 1456w" sizes="100vw" loading="lazy"></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 aria-hidden="true" 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><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></figure></div><p>Provides a comprehensive overview of Data Science, covering the technical aspects of the field and the ethical considerations and challenges it presents. It is structured to make it easy for readers to understand and absorb the information and offers recommendations for addressing ethical concerns. The authors focus on real-life examples from their various fields, such as healthcare and finance, to illustrate data science applications and their potential impact. Aimed at a wide audience, it includes data science novices and experienced professionals and is recommended for anyone with an interest in data science and its role in daily life and various industries.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://amzn.to/3WHcDB5&quot;,&quot;text&quot;:&quot;Buy On Amazon&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://amzn.to/3WHcDB5"><span>Buy On Amazon</span></a></p><div><hr></div><h3>7. <a href="https://amzn.to/3WHcDB5">AI and Machine Learning for Coders</a>&#8202;</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://amzn.to/3KjB5W4" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Wysc!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f48c993-c1b8-426a-83ad-921c18a6727e_250x328.png 424w, https://substackcdn.com/image/fetch/$s_!Wysc!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f48c993-c1b8-426a-83ad-921c18a6727e_250x328.png 848w, https://substackcdn.com/image/fetch/$s_!Wysc!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f48c993-c1b8-426a-83ad-921c18a6727e_250x328.png 1272w, https://substackcdn.com/image/fetch/$s_!Wysc!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f48c993-c1b8-426a-83ad-921c18a6727e_250x328.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Wysc!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f48c993-c1b8-426a-83ad-921c18a6727e_250x328.png" width="250" height="328" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8f48c993-c1b8-426a-83ad-921c18a6727e_250x328.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:328,&quot;width&quot;:250,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://amzn.to/3KjB5W4&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&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_!Wysc!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f48c993-c1b8-426a-83ad-921c18a6727e_250x328.png 424w, https://substackcdn.com/image/fetch/$s_!Wysc!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f48c993-c1b8-426a-83ad-921c18a6727e_250x328.png 848w, https://substackcdn.com/image/fetch/$s_!Wysc!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f48c993-c1b8-426a-83ad-921c18a6727e_250x328.png 1272w, https://substackcdn.com/image/fetch/$s_!Wysc!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f48c993-c1b8-426a-83ad-921c18a6727e_250x328.png 1456w" sizes="100vw" loading="lazy"></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 aria-hidden="true" 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><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></figure></div><p>&#8202;AI and Machine Learning for Coders&#8202; exceeds expectations with excellent explanations on how to code machine learning using TensorFlow and different ML techniques. The book covers various topics, including computer vision, natural language processing, and time series forecasting, and even includes a section on text generation.</p><p>The book is aimed specifically at coders with Python experience and explains how neural networks work at a high level without overwhelming readers with too much math. The author does an excellent job of explaining convolution, maxpooling, interpretability, bias/fairness, and Google&#8217;s AI principles.</p><p>Overall, anyone who wants to learn about deep learning using TensorFlow will find here an excellent resource that provides a solid foundation in deep learning and is suitable for hands-on practitioners without overwhelming them with math.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://amzn.to/3KjB5W4&quot;,&quot;text&quot;:&quot;Buy On Amazon&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://amzn.to/3KjB5W4"><span>Buy On Amazon</span></a></p><div><hr></div><h3>8. Automate the Boring Stuff with Python&#8202;</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://amzn.to/3oToWyj" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!aOei!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3365674-ebac-4609-829b-69057dad322e_250x331.png 424w, https://substackcdn.com/image/fetch/$s_!aOei!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3365674-ebac-4609-829b-69057dad322e_250x331.png 848w, https://substackcdn.com/image/fetch/$s_!aOei!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3365674-ebac-4609-829b-69057dad322e_250x331.png 1272w, https://substackcdn.com/image/fetch/$s_!aOei!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3365674-ebac-4609-829b-69057dad322e_250x331.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!aOei!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3365674-ebac-4609-829b-69057dad322e_250x331.png" width="250" height="331" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d3365674-ebac-4609-829b-69057dad322e_250x331.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:331,&quot;width&quot;:250,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://amzn.to/3oToWyj&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&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_!aOei!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3365674-ebac-4609-829b-69057dad322e_250x331.png 424w, https://substackcdn.com/image/fetch/$s_!aOei!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3365674-ebac-4609-829b-69057dad322e_250x331.png 848w, https://substackcdn.com/image/fetch/$s_!aOei!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3365674-ebac-4609-829b-69057dad322e_250x331.png 1272w, https://substackcdn.com/image/fetch/$s_!aOei!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3365674-ebac-4609-829b-69057dad322e_250x331.png 1456w" sizes="100vw" loading="lazy"></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 aria-hidden="true" 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><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></figure></div><p>&#8202;This is an exceptional book that is perfect for anyone who wants to learn how to use Python to automate mundane tasks. The author has done an excellent job of explaining complex concepts in a simple and easy-to-understand manner.</p><p>The book is well-organized and starts with the basics of Python programming and gradually progresses to more advanced topics such as web scraping, working with Excel spreadsheets, and sending automated emails. The real-life examples and practical exercises included in each chapter make it easy for readers to apply what they have learned and see the results.</p><p>One of the most remarkable aspects of this book is that it doesn&#8217;t require any prior programming experience, making it perfect for beginners. However, it is also an excellent resource for experienced programmers who want to learn how to automate repetitive tasks.</p><p>Overall, this is a must-read for anyone who wants to learn how to use Python for automating everyday tasks. The book is well-written, easy to follow, and the author&#8217;s sense of humor makes it an enjoyable read. I highly recommend this book to anyone who wants to learn Python programming and automate their boring tasks.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://amzn.to/3oToWyj&quot;,&quot;text&quot;:&quot;Buy On Amazon&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://amzn.to/3oToWyj"><span>Buy On Amazon</span></a></p><div><hr></div><h3>9. Introduction to Algorithms&#8202;</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://amzn.to/3mT6JA5" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!gbMd!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48ab986e-cb88-4502-93fd-bd4fc1cdef64_250x285.png 424w, https://substackcdn.com/image/fetch/$s_!gbMd!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48ab986e-cb88-4502-93fd-bd4fc1cdef64_250x285.png 848w, https://substackcdn.com/image/fetch/$s_!gbMd!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48ab986e-cb88-4502-93fd-bd4fc1cdef64_250x285.png 1272w, https://substackcdn.com/image/fetch/$s_!gbMd!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48ab986e-cb88-4502-93fd-bd4fc1cdef64_250x285.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!gbMd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48ab986e-cb88-4502-93fd-bd4fc1cdef64_250x285.png" width="250" height="285" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/48ab986e-cb88-4502-93fd-bd4fc1cdef64_250x285.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:285,&quot;width&quot;:250,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://amzn.to/3mT6JA5&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&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_!gbMd!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48ab986e-cb88-4502-93fd-bd4fc1cdef64_250x285.png 424w, https://substackcdn.com/image/fetch/$s_!gbMd!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48ab986e-cb88-4502-93fd-bd4fc1cdef64_250x285.png 848w, https://substackcdn.com/image/fetch/$s_!gbMd!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48ab986e-cb88-4502-93fd-bd4fc1cdef64_250x285.png 1272w, https://substackcdn.com/image/fetch/$s_!gbMd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48ab986e-cb88-4502-93fd-bd4fc1cdef64_250x285.png 1456w" sizes="100vw" loading="lazy"></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 aria-hidden="true" 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><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></figure></div><p>Affectionately known as the bible of algorithms and over the years has proven to be an essential reading and, at over 1300 pages, a complete reference for anyone interested in gaining a broad understanding of algorithms. The content can at times be challenging but is presented in a fashion that is engaging and easily digestible. Exercises at the end of each chapter are expressly presented without the benefit of solutions but were carefully designed to help students to think algorithmically and thoroughly absorb the material presented.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://amzn.to/3mT6JA5&quot;,&quot;text&quot;:&quot;Buy On Amazon&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://amzn.to/3mT6JA5"><span>Buy On Amazon</span></a></p><div><hr></div><h3>10. Advanced Algorithms and Data Structures&#8202;</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://amzn.to/3Sr8Nei" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!foAU!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc344b94b-86d4-4e03-ab28-58c88b2705e4_250x313.png 424w, https://substackcdn.com/image/fetch/$s_!foAU!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc344b94b-86d4-4e03-ab28-58c88b2705e4_250x313.png 848w, https://substackcdn.com/image/fetch/$s_!foAU!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc344b94b-86d4-4e03-ab28-58c88b2705e4_250x313.png 1272w, https://substackcdn.com/image/fetch/$s_!foAU!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc344b94b-86d4-4e03-ab28-58c88b2705e4_250x313.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!foAU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc344b94b-86d4-4e03-ab28-58c88b2705e4_250x313.png" width="250" height="313" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c344b94b-86d4-4e03-ab28-58c88b2705e4_250x313.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:313,&quot;width&quot;:250,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://amzn.to/3Sr8Nei&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&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_!foAU!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc344b94b-86d4-4e03-ab28-58c88b2705e4_250x313.png 424w, https://substackcdn.com/image/fetch/$s_!foAU!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc344b94b-86d4-4e03-ab28-58c88b2705e4_250x313.png 848w, https://substackcdn.com/image/fetch/$s_!foAU!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc344b94b-86d4-4e03-ab28-58c88b2705e4_250x313.png 1272w, https://substackcdn.com/image/fetch/$s_!foAU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc344b94b-86d4-4e03-ab28-58c88b2705e4_250x313.png 1456w" sizes="100vw" loading="lazy"></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 aria-hidden="true" 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><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></figure></div><p>&#8202;This book is a great resource for engineers who want to enhance their knowledge of algorithms and data structures without having to go back to traditional, academic-style textbooks. The author has a deep understanding of how to deliver high-quality code and each algorithm is thoroughly illustrated with pseudo-code and diagrams. The book is especially helpful for tackling contemporary problems such as multidimensional search, understanding caches better, classification, and graph theory.</p><p>The writing is friendly and approachable, making it relatively easy to understand, although some familiarity with math may be helpful. It is a book that can be read, skipped around, and returned to occasionally when needed. Overall, this book is strongly recommended for engineers looking to enhance their algorithm and data structure knowledge.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://amzn.to/3Sr8Nei&quot;,&quot;text&quot;:&quot;Buy On Amazon&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://amzn.to/3Sr8Nei"><span>Buy On Amazon</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!OVTP!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2815e321-41da-47fd-ac62-e8920fb443f7_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!OVTP!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2815e321-41da-47fd-ac62-e8920fb443f7_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!OVTP!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2815e321-41da-47fd-ac62-e8920fb443f7_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!OVTP!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2815e321-41da-47fd-ac62-e8920fb443f7_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!OVTP!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2815e321-41da-47fd-ac62-e8920fb443f7_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!OVTP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2815e321-41da-47fd-ac62-e8920fb443f7_1400x76.png" width="1400" height="76" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2815e321-41da-47fd-ac62-e8920fb443f7_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;:true,&quot;topImage&quot;:false,&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_!OVTP!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2815e321-41da-47fd-ac62-e8920fb443f7_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!OVTP!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2815e321-41da-47fd-ac62-e8920fb443f7_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!OVTP!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2815e321-41da-47fd-ac62-e8920fb443f7_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!OVTP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2815e321-41da-47fd-ac62-e8920fb443f7_1400x76.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>What books kept you company throughout 2023? And which ones are you looking forward to in 2024? Leave the most interesting ones in the comment section below. And my fondest wishes for a 2024 full of great books.</p><p>Also, don&#8217;t forget to check out our reading list from previous years:</p><ul><li><p><strong><a href="https://medium.data4sci.com/top-10-books-we-read-in-2022-c3db94a5bdb7">Top 10 Books we read in 2022</a></strong></p></li><li><p><strong><a href="https://medium.data4sci.com/top-10-books-we-read-in-2021-55f8979b9153">Top 10 Books we read in 2021</a></strong></p></li><li><p><strong><a href="https://medium.data4sci.com/top-10-books-we-read-in-2020-d02b689c4271">Top 10 Books we read in 2020</a></strong></p></li></ul>]]></content:encoded></item><item><title><![CDATA[The Effect of Vaccines]]></title><description><![CDATA[Welcome to the latest post of the Viz4Sci Substack!]]></description><link>https://data4sci.substack.com/p/the-effect-of-vaccines</link><guid isPermaLink="false">https://data4sci.substack.com/p/the-effect-of-vaccines</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Wed, 05 Jul 2023 14:56:40 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%2F8e2a59c6-49c7-45dd-9b5b-b9f58109ef34_1646x1170.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Welcome to the latest post of the Viz4Sci Substack! In this post we will learn how to reconstruct one of the most famous visualizations of the effects of vaccination of disease prevalence, originally published by the Wall Street Journal in 2015. We&#8217;ll use the original WSJ data and build the entire visualization using nothing but matplotlib.</p><p>We hope your enjoy this post and don&#8217;t forget to</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.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://viz4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><p>so you never miss a post and</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/p/the-effect-of-vaccines?utm_source=substack&amp;utm_medium=email&amp;utm_content=share&amp;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://viz4sci.substack.com/p/the-effect-of-vaccines?utm_source=substack&amp;utm_medium=email&amp;utm_content=share&amp;action=share"><span>Share</span></a></p><p>to help us grow! We&#8217;re looking forward to hearing your thoughts, so go ahead and&#8230;.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/p/the-effect-of-vaccines/comments&quot;,&quot;text&quot;:&quot;Leave a comment&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/p/the-effect-of-vaccines/comments"><span>Leave a comment</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!v7wD!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!v7wD!,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%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!v7wD!,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%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!v7wD!,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%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!v7wD!,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%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!v7wD!,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%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png" width="1400" height="76" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/ff3cc66b-508c-4344-ad75-4752a5d07fd6_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_!v7wD!,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%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!v7wD!,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%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!v7wD!,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%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!v7wD!,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%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p>In a <a href="https://viz4sci.substack.com/p/pyramid-plot">previous post</a>, we explore the inverse correlation between vaccination rates and deaths. Here we explore the effect that vaccination has on disease prevalence, the number of infected individuals per capita.</p><p>The original visualization was published in the Wall Street Journal back on Feb 11th, 2015 and covers 7 different disease/vaccine pairs. For simplicity, we&#8217;ll focus on the figure for <a href="https://en.wikipedia.org/wiki/Measles">Measles</a>, a childhood diesease that used to <a href="https://www.who.int/news-room/fact-sheets/detail/measles">kill up to 2.6 million</a> people per year, before the advent of va&#8230;</p>
      <p>
          <a href="https://data4sci.substack.com/p/the-effect-of-vaccines">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Waterfall Chart]]></title><description><![CDATA[The Gross Domestic Product is perhaps the most common measure of the economic health of a specific country or region, and it is composed of the monetary value of all the goods and services produced and sold in a given quarter or year.]]></description><link>https://data4sci.substack.com/p/waterfall-chart</link><guid isPermaLink="false">https://data4sci.substack.com/p/waterfall-chart</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Sun, 26 Feb 2023 15:44:58 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%2Fa102905e-29b8-4bc2-be37-d8426bf10476_1093x1377.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>The <a href="https://en.wikipedia.org/wiki/Gross_domestic_product">Gross Domestic Product</a> is perhaps the most common measure of the economic health of a specific country or region, and it is composed of the monetary value of all the goods and services produced and sold in a given quarter or year. Naturally, such a complex metric is composed of many individual components each with its contribution.</p><p>In this post, we will download GDP data from the <a href="https://www.bea.gov/">Bureau of Economic Analysis (BEA)</a> and use a Waterfall Chart to compare how it changed between the second quarter of 2019 and 2020. <a href="https://en.wikipedia.org/wiki/Waterfall_chart">Waterfall Charts</a> are 2D diagrams used to highlight how different components contribute to explaining a change in the value of a specific quantity, making them ideal for this specific application. McKinsey, a consulting firm, popularized Waterfall Charts and they&#8217;ve since gained popularity in financial applications.</p><p>The data we will be using can be found in Table 14 of this <a href="https://www.bea.gov/sites/default/files/2020-09/gdp2q20_3rd.xlsx">spreadsheet</a> which can be downloaded from the BEA website.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://www.bea.gov/sites/default/files/2020-09/gdp2q20_3rd.xlsx" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!TrdO!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78e966ce-24b1-4e6e-8ed6-dab922ded27d_1960x954.png 424w, https://substackcdn.com/image/fetch/$s_!TrdO!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78e966ce-24b1-4e6e-8ed6-dab922ded27d_1960x954.png 848w, https://substackcdn.com/image/fetch/$s_!TrdO!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78e966ce-24b1-4e6e-8ed6-dab922ded27d_1960x954.png 1272w, https://substackcdn.com/image/fetch/$s_!TrdO!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78e966ce-24b1-4e6e-8ed6-dab922ded27d_1960x954.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!TrdO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78e966ce-24b1-4e6e-8ed6-dab922ded27d_1960x954.png" width="1456" height="709" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/78e966ce-24b1-4e6e-8ed6-dab922ded27d_1960x954.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:709,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:859563,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:&quot;https://www.bea.gov/sites/default/files/2020-09/gdp2q20_3rd.xlsx&quot;,&quot;belowTheFold&quot;:true,&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_!TrdO!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78e966ce-24b1-4e6e-8ed6-dab922ded27d_1960x954.png 424w, https://substackcdn.com/image/fetch/$s_!TrdO!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78e966ce-24b1-4e6e-8ed6-dab922ded27d_1960x954.png 848w, https://substackcdn.com/image/fetch/$s_!TrdO!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78e966ce-24b1-4e6e-8ed6-dab922ded27d_1960x954.png 1272w, https://substackcdn.com/image/fetch/$s_!TrdO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78e966ce-24b1-4e6e-8ed6-dab922ded27d_1960x954.png 1456w" sizes="100vw" loading="lazy" 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 aria-hidden="true" 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><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></figure></div><p>The data can be downloaded directly into a pandas &#8230;</p>
      <p>
          <a href="https://data4sci.substack.com/p/waterfall-chart">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Top 10 Books we read in 2022]]></title><description><![CDATA[A year's worth of the best Data Science, Machine Learning, AI, and Blockchain technology]]></description><link>https://data4sci.substack.com/p/top-10-books-we-read-in-2022</link><guid isPermaLink="false">https://data4sci.substack.com/p/top-10-books-we-read-in-2022</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Tue, 13 Dec 2022 15:55:00 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!vMud!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa093d29-5ea0-4e00-9a0c-b79ab155d317_1600x1067.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!vMud!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa093d29-5ea0-4e00-9a0c-b79ab155d317_1600x1067.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!vMud!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa093d29-5ea0-4e00-9a0c-b79ab155d317_1600x1067.jpeg 424w, https://substackcdn.com/image/fetch/$s_!vMud!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa093d29-5ea0-4e00-9a0c-b79ab155d317_1600x1067.jpeg 848w, https://substackcdn.com/image/fetch/$s_!vMud!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa093d29-5ea0-4e00-9a0c-b79ab155d317_1600x1067.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!vMud!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa093d29-5ea0-4e00-9a0c-b79ab155d317_1600x1067.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!vMud!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa093d29-5ea0-4e00-9a0c-b79ab155d317_1600x1067.jpeg" width="1456" height="971" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/aa093d29-5ea0-4e00-9a0c-b79ab155d317_1600x1067.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:971,&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_!vMud!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa093d29-5ea0-4e00-9a0c-b79ab155d317_1600x1067.jpeg 424w, https://substackcdn.com/image/fetch/$s_!vMud!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa093d29-5ea0-4e00-9a0c-b79ab155d317_1600x1067.jpeg 848w, https://substackcdn.com/image/fetch/$s_!vMud!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa093d29-5ea0-4e00-9a0c-b79ab155d317_1600x1067.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!vMud!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa093d29-5ea0-4e00-9a0c-b79ab155d317_1600x1067.jpeg 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 aria-hidden="true" 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><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">Photo by <a href="https://unsplash.com/@otutunaru?utm_source=medium&amp;utm_medium=referral">Olga Tutunaru</a> on&nbsp;<a href="https://unsplash.com?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure></div><h4></h4><h3>1. The Order of Time&#8202;</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://amzn.to/3W4PdVG" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!EfaE!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F034845a2-ff57-475a-a9ce-4145b740e184_979x1500.jpeg 424w, https://substackcdn.com/image/fetch/$s_!EfaE!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F034845a2-ff57-475a-a9ce-4145b740e184_979x1500.jpeg 848w, https://substackcdn.com/image/fetch/$s_!EfaE!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F034845a2-ff57-475a-a9ce-4145b740e184_979x1500.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!EfaE!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F034845a2-ff57-475a-a9ce-4145b740e184_979x1500.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!EfaE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F034845a2-ff57-475a-a9ce-4145b740e184_979x1500.jpeg" width="201" height="307.9673135852911" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/034845a2-ff57-475a-a9ce-4145b740e184_979x1500.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1500,&quot;width&quot;:979,&quot;resizeWidth&quot;:201,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://amzn.to/3W4PdVG&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&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_!EfaE!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F034845a2-ff57-475a-a9ce-4145b740e184_979x1500.jpeg 424w, https://substackcdn.com/image/fetch/$s_!EfaE!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F034845a2-ff57-475a-a9ce-4145b740e184_979x1500.jpeg 848w, https://substackcdn.com/image/fetch/$s_!EfaE!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F034845a2-ff57-475a-a9ce-4145b740e184_979x1500.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!EfaE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F034845a2-ff57-475a-a9ce-4145b740e184_979x1500.jpeg 1456w" sizes="100vw"></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 aria-hidden="true" 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><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></figure></div><p>Carlo Rovelli explores the concept of time and how it has been understood by scientists and philosophers throughout history. It discusses advances in our understanding of time, such as Einstein&#8217;s theory of relativity, which proposed that time is affected by mass and speed. The book also explores the idea of a universe without time and discusses theories and models that have been developed to explain the universe in this way, such as Loop Quantum theory, the theory that Rovelli works on. The book is intellectually stimulating and interesting although it sometimes struggles to find the right balance between being accessible to a general audience and being a serious work of science.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://amzn.to/3W4PdVG&quot;,&quot;text&quot;:&quot;Buy On Amazon&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://amzn.to/3W4PdVG"><span>Buy On Amazon</span></a></p><div><hr></div><h3>2. Code: The Hidden Language of Computer Hardware and Software&#8202;&#8202;</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://amzn.to/3iOhwcF" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!bTj8!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F627e0f1f-4e67-4561-9fbc-7dcc9e87af59_994x1500.jpeg 424w, https://substackcdn.com/image/fetch/$s_!bTj8!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F627e0f1f-4e67-4561-9fbc-7dcc9e87af59_994x1500.jpeg 848w, https://substackcdn.com/image/fetch/$s_!bTj8!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F627e0f1f-4e67-4561-9fbc-7dcc9e87af59_994x1500.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!bTj8!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F627e0f1f-4e67-4561-9fbc-7dcc9e87af59_994x1500.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!bTj8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F627e0f1f-4e67-4561-9fbc-7dcc9e87af59_994x1500.jpeg" width="200" height="301.8108651911469" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/627e0f1f-4e67-4561-9fbc-7dcc9e87af59_994x1500.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1500,&quot;width&quot;:994,&quot;resizeWidth&quot;:200,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://amzn.to/3iOhwcF&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&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_!bTj8!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F627e0f1f-4e67-4561-9fbc-7dcc9e87af59_994x1500.jpeg 424w, https://substackcdn.com/image/fetch/$s_!bTj8!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F627e0f1f-4e67-4561-9fbc-7dcc9e87af59_994x1500.jpeg 848w, https://substackcdn.com/image/fetch/$s_!bTj8!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F627e0f1f-4e67-4561-9fbc-7dcc9e87af59_994x1500.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!bTj8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F627e0f1f-4e67-4561-9fbc-7dcc9e87af59_994x1500.jpeg 1456w" sizes="100vw"></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 aria-hidden="true" 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><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></figure></div><p>This book provides a step-by-step timeline of how computers came to be, clearly and concisely. It takes you on a tour of what happens &#8220;behind&#8221; the pixels on your screen, from logical gates on up, without requiring a heavy technical background. Chapter, by chapter, introduces each concept and technology necessary to make modern computers work. By the end of it, you&#8217;ll have a detailed and intuitive understanding of how Computers <em>really</em> work and will be able to mode easily optimize how you write your own software. It might also make you want to learn to program in Assembly! A book that should be required reading for anyone interested in Computer Science.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://amzn.to/3iOhwcF&quot;,&quot;text&quot;:&quot;Buy On Amazon&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://amzn.to/3iOhwcF"><span>Buy On Amazon</span></a></p><div><hr></div><h3>3. Interactive Dashboards and Data Apps with Plotly and Dash&#8202;</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://amzn.to/3V3gGq5" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!SjOs!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F794ff290-6e0a-4a93-8c5f-ab7d915b605f_1103x1360.jpeg 424w, https://substackcdn.com/image/fetch/$s_!SjOs!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F794ff290-6e0a-4a93-8c5f-ab7d915b605f_1103x1360.jpeg 848w, https://substackcdn.com/image/fetch/$s_!SjOs!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F794ff290-6e0a-4a93-8c5f-ab7d915b605f_1103x1360.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!SjOs!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F794ff290-6e0a-4a93-8c5f-ab7d915b605f_1103x1360.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!SjOs!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F794ff290-6e0a-4a93-8c5f-ab7d915b605f_1103x1360.jpeg" width="202" height="249.06618313689935" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/794ff290-6e0a-4a93-8c5f-ab7d915b605f_1103x1360.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1360,&quot;width&quot;:1103,&quot;resizeWidth&quot;:202,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://amzn.to/3V3gGq5&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&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_!SjOs!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F794ff290-6e0a-4a93-8c5f-ab7d915b605f_1103x1360.jpeg 424w, https://substackcdn.com/image/fetch/$s_!SjOs!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F794ff290-6e0a-4a93-8c5f-ab7d915b605f_1103x1360.jpeg 848w, https://substackcdn.com/image/fetch/$s_!SjOs!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F794ff290-6e0a-4a93-8c5f-ab7d915b605f_1103x1360.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!SjOs!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F794ff290-6e0a-4a93-8c5f-ab7d915b605f_1103x1360.jpeg 1456w" sizes="100vw" loading="lazy"></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 aria-hidden="true" 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><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></figure></div><p>In our lives as data scientists and machine learning engineers, we are often called upon to develop Dashboards and other Data Drive apps to communicate results or to monitor the performance of models deployed to production. Plotly and Dash are the current State of the Art libraries for interactive visualizations with a web frontend. This book does a remarkable job of getting you up to speed with both of these libraries taking you from basic to advanced level through practical building blocks that you can immediately customize for your own use.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://amzn.to/3V3gGq5&quot;,&quot;text&quot;:&quot;Buy On Amazon&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://amzn.to/3V3gGq5"><span>Buy On Amazon</span></a></p><div><hr></div><h3>4. DeFi and the Future of Finance&#8202;</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://amzn.to/3uH709S" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!xcs4!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fdd4ce8-6845-45d5-8b8c-647d0d051294_1023x1500.jpeg 424w, https://substackcdn.com/image/fetch/$s_!xcs4!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fdd4ce8-6845-45d5-8b8c-647d0d051294_1023x1500.jpeg 848w, https://substackcdn.com/image/fetch/$s_!xcs4!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fdd4ce8-6845-45d5-8b8c-647d0d051294_1023x1500.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!xcs4!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fdd4ce8-6845-45d5-8b8c-647d0d051294_1023x1500.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!xcs4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fdd4ce8-6845-45d5-8b8c-647d0d051294_1023x1500.jpeg" width="200" height="293.2551319648094" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7fdd4ce8-6845-45d5-8b8c-647d0d051294_1023x1500.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1500,&quot;width&quot;:1023,&quot;resizeWidth&quot;:200,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://amzn.to/3uH709S&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&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_!xcs4!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fdd4ce8-6845-45d5-8b8c-647d0d051294_1023x1500.jpeg 424w, https://substackcdn.com/image/fetch/$s_!xcs4!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fdd4ce8-6845-45d5-8b8c-647d0d051294_1023x1500.jpeg 848w, https://substackcdn.com/image/fetch/$s_!xcs4!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fdd4ce8-6845-45d5-8b8c-647d0d051294_1023x1500.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!xcs4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fdd4ce8-6845-45d5-8b8c-647d0d051294_1023x1500.jpeg 1456w" sizes="100vw" loading="lazy"></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 aria-hidden="true" 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><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></figure></div><p>Decentralized Finance (DeFi) is a new industry that aims to increase financial freedom in the world. The book explains the problems that DeFi solves for the current financial system, such as inefficiency, limited access, opacity, centralized control, and lack of interoperability. It then goes on to describe the solutions that DeFi offers, using examples and diagrams to illustrate the concepts. Finally, the book discusses the risks that DeFi faces, such as smart contract, governance, scaling, and regulatory risks. A highly recommended read for anyone interested in this burgeoning field and with some previous familiarity with financial concepts.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://amzn.to/3uH709S&quot;,&quot;text&quot;:&quot;Buy On Amazon&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://amzn.to/3uH709S"><span>Buy On Amazon</span></a></p><div><hr></div><h3>5. Bayes&#8217; Rule: A Tutorial Introduction to Bayesian Analysis&#8202;</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://amzn.to/3hhsiaY" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!XPJL!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe724c50e-6863-4fa2-806c-d00469f7a432_907x1360.jpeg 424w, https://substackcdn.com/image/fetch/$s_!XPJL!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe724c50e-6863-4fa2-806c-d00469f7a432_907x1360.jpeg 848w, https://substackcdn.com/image/fetch/$s_!XPJL!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe724c50e-6863-4fa2-806c-d00469f7a432_907x1360.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!XPJL!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe724c50e-6863-4fa2-806c-d00469f7a432_907x1360.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!XPJL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe724c50e-6863-4fa2-806c-d00469f7a432_907x1360.jpeg" width="200" height="299.88974641675856" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e724c50e-6863-4fa2-806c-d00469f7a432_907x1360.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1360,&quot;width&quot;:907,&quot;resizeWidth&quot;:200,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://amzn.to/3hhsiaY&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&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_!XPJL!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe724c50e-6863-4fa2-806c-d00469f7a432_907x1360.jpeg 424w, https://substackcdn.com/image/fetch/$s_!XPJL!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe724c50e-6863-4fa2-806c-d00469f7a432_907x1360.jpeg 848w, https://substackcdn.com/image/fetch/$s_!XPJL!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe724c50e-6863-4fa2-806c-d00469f7a432_907x1360.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!XPJL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe724c50e-6863-4fa2-806c-d00469f7a432_907x1360.jpeg 1456w" sizes="100vw" loading="lazy"></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 aria-hidden="true" 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><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></figure></div><p>Despite its simplicity, Bayes Rule is one of the most powerful theorems in probability theory. This relatively short book (170 pages) provides an excellent overview and hands-on introduction to Bayesian analysis. While the main text provides a strong foundation for the main ideas and concepts, the companion Python <a href="https://drive.google.com/file/d/1DD1jl6tryApZZmhsbf7eZYwssRrAziHf/view?usp=sharing">code</a> gives you a leg up in introducing these techniques into your daily work. Overall, an excellent first introduction to the topic and a good refresher reference if you haven&#8217;t touched this area in some time.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://amzn.to/3hhsiaY&quot;,&quot;text&quot;:&quot;Buy On Amazon&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://amzn.to/3hhsiaY"><span>Buy On Amazon</span></a></p><div><hr></div><h3>6. Causality&#8202;</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://amzn.to/3BsObLj" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!1Gmx!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0e986ba-1578-4a19-9e62-2110029113ea_1000x1423.jpeg 424w, https://substackcdn.com/image/fetch/$s_!1Gmx!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0e986ba-1578-4a19-9e62-2110029113ea_1000x1423.jpeg 848w, https://substackcdn.com/image/fetch/$s_!1Gmx!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0e986ba-1578-4a19-9e62-2110029113ea_1000x1423.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!1Gmx!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0e986ba-1578-4a19-9e62-2110029113ea_1000x1423.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!1Gmx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0e986ba-1578-4a19-9e62-2110029113ea_1000x1423.jpeg" width="200" height="284.6" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b0e986ba-1578-4a19-9e62-2110029113ea_1000x1423.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1423,&quot;width&quot;:1000,&quot;resizeWidth&quot;:200,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://amzn.to/3BsObLj&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&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_!1Gmx!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0e986ba-1578-4a19-9e62-2110029113ea_1000x1423.jpeg 424w, https://substackcdn.com/image/fetch/$s_!1Gmx!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0e986ba-1578-4a19-9e62-2110029113ea_1000x1423.jpeg 848w, https://substackcdn.com/image/fetch/$s_!1Gmx!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0e986ba-1578-4a19-9e62-2110029113ea_1000x1423.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!1Gmx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0e986ba-1578-4a19-9e62-2110029113ea_1000x1423.jpeg 1456w" sizes="100vw" loading="lazy"></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 aria-hidden="true" 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><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></figure></div><p>Causal Inference is a lively and fast-developing area in Data Science that we believe has the potential to be truly revolutionary in coming years (you can get a quick overview of the main ideas in our Causal Inference series over at Medium). Judea Pearl is one of the most prominent founding fathers of this field that he introduces masterfully in this textbook. While the approach Pearl chooses is mathematically rigorous, thanks to his rich use of toy examples, the key ideas and concepts are easily grasped and adapted to real-world datasets. Causal Inference is a powerful arrow in any Data Scientist&#8217;s quiver and this is the ideal starting point if you&#8217;re interested in taking the first steps in this exciting area.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://amzn.to/3BsObLj&quot;,&quot;text&quot;:&quot;Buy On Amazon&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://amzn.to/3BsObLj"><span>Buy On Amazon</span></a></p><div><hr></div><h3>7. The Practitioner&#8217;s Guide to Graph Data&#8202;</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://amzn.to/3BlReoD" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!HUp1!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb3241d8-6ea0-45be-a141-8dba5909632e_1143x1500.jpeg 424w, https://substackcdn.com/image/fetch/$s_!HUp1!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb3241d8-6ea0-45be-a141-8dba5909632e_1143x1500.jpeg 848w, https://substackcdn.com/image/fetch/$s_!HUp1!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb3241d8-6ea0-45be-a141-8dba5909632e_1143x1500.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!HUp1!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb3241d8-6ea0-45be-a141-8dba5909632e_1143x1500.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!HUp1!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb3241d8-6ea0-45be-a141-8dba5909632e_1143x1500.jpeg" width="200" height="262.4671916010499" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/cb3241d8-6ea0-45be-a141-8dba5909632e_1143x1500.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1500,&quot;width&quot;:1143,&quot;resizeWidth&quot;:200,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://amzn.to/3BlReoD&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&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_!HUp1!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb3241d8-6ea0-45be-a141-8dba5909632e_1143x1500.jpeg 424w, https://substackcdn.com/image/fetch/$s_!HUp1!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb3241d8-6ea0-45be-a141-8dba5909632e_1143x1500.jpeg 848w, https://substackcdn.com/image/fetch/$s_!HUp1!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb3241d8-6ea0-45be-a141-8dba5909632e_1143x1500.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!HUp1!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb3241d8-6ea0-45be-a141-8dba5909632e_1143x1500.jpeg 1456w" sizes="100vw" loading="lazy"></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 aria-hidden="true" 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><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></figure></div><p>Graph Thinking and Graph Data are topics near and dear to our hearts here at D4Sci (checkout <a href="https://data4sci.substack.com/s/graphs">G4Sci</a> if you haven&#8217;t yet) and this book does an excellent job of introducing both fundamental and advanced topics and techniques using practical real-world datasets and state of the art graph databases. The book is exceptionally well written and easy to follow, with practical &#8220;rules of thumb&#8221; generously sprinkled throughout along with practical examples that you can use to grok as the various concepts are they are introduced. A must-have for anyone interested in Graph Thinking and Graph Databases.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://amzn.to/3BlReoD&quot;,&quot;text&quot;:&quot;Buy On Amazon&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://amzn.to/3BlReoD"><span>Buy On Amazon</span></a></p><div><hr></div><h3>8. Essential Math for Data Science&#8202;</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://amzn.to/3Bshfmh" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ak9-!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9594e303-62dc-4621-9f8e-3e30bb442496_1143x1500.jpeg 424w, https://substackcdn.com/image/fetch/$s_!ak9-!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9594e303-62dc-4621-9f8e-3e30bb442496_1143x1500.jpeg 848w, https://substackcdn.com/image/fetch/$s_!ak9-!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9594e303-62dc-4621-9f8e-3e30bb442496_1143x1500.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!ak9-!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9594e303-62dc-4621-9f8e-3e30bb442496_1143x1500.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ak9-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9594e303-62dc-4621-9f8e-3e30bb442496_1143x1500.jpeg" width="200" height="262.4671916010499" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9594e303-62dc-4621-9f8e-3e30bb442496_1143x1500.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1500,&quot;width&quot;:1143,&quot;resizeWidth&quot;:200,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://amzn.to/3Bshfmh&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&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_!ak9-!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9594e303-62dc-4621-9f8e-3e30bb442496_1143x1500.jpeg 424w, https://substackcdn.com/image/fetch/$s_!ak9-!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9594e303-62dc-4621-9f8e-3e30bb442496_1143x1500.jpeg 848w, https://substackcdn.com/image/fetch/$s_!ak9-!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9594e303-62dc-4621-9f8e-3e30bb442496_1143x1500.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!ak9-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9594e303-62dc-4621-9f8e-3e30bb442496_1143x1500.jpeg 1456w" sizes="100vw" loading="lazy"></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 aria-hidden="true" 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><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></figure></div><p>Good mathematical foundations are paramount to being successful as a Data Scientist. In his recent book, T. Nield introduces the reader to enough of the mathematics underlying Data Science and Machine Learning to give you a head start in grokking both classic and state-of-the-art algorithms that you're likely to encounter in your career as a Data Scientist. This is a highly recommended read to anyone who wants to look inside the black boxes we use every day.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://amzn.to/3Bshfmh&quot;,&quot;text&quot;:&quot;Buy On Amazon&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://amzn.to/3Bshfmh"><span>Buy On Amazon</span></a></p><div><hr></div><h3>9. The Unicorn Project&#8202;</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://amzn.to/3hhjPo9" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!VnVj!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F551bf97d-cdf5-40e0-bfb1-c3910a516615_1008x1500.jpeg 424w, https://substackcdn.com/image/fetch/$s_!VnVj!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F551bf97d-cdf5-40e0-bfb1-c3910a516615_1008x1500.jpeg 848w, https://substackcdn.com/image/fetch/$s_!VnVj!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F551bf97d-cdf5-40e0-bfb1-c3910a516615_1008x1500.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!VnVj!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F551bf97d-cdf5-40e0-bfb1-c3910a516615_1008x1500.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!VnVj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F551bf97d-cdf5-40e0-bfb1-c3910a516615_1008x1500.jpeg" width="200" height="297.6190476190476" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/551bf97d-cdf5-40e0-bfb1-c3910a516615_1008x1500.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1500,&quot;width&quot;:1008,&quot;resizeWidth&quot;:200,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://amzn.to/3hhjPo9&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&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_!VnVj!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F551bf97d-cdf5-40e0-bfb1-c3910a516615_1008x1500.jpeg 424w, https://substackcdn.com/image/fetch/$s_!VnVj!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F551bf97d-cdf5-40e0-bfb1-c3910a516615_1008x1500.jpeg 848w, https://substackcdn.com/image/fetch/$s_!VnVj!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F551bf97d-cdf5-40e0-bfb1-c3910a516615_1008x1500.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!VnVj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F551bf97d-cdf5-40e0-bfb1-c3910a516615_1008x1500.jpeg 1456w" sizes="100vw" loading="lazy"></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 aria-hidden="true" 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><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></figure></div><p>This is a novel that focuses on the transformation required for companies to achieve sustained velocity and quality in their operations. The book explores the roles of development and business teams in this process and highlights the importance of communication and data-driven decision-making. The story is entertaining and a good illustration of industry standards in the field of IT despite (or perhaps because of) the occasional over-emphasis on long hours and burnout.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://amzn.to/3hhjPo9&quot;,&quot;text&quot;:&quot;Buy On Amazon&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://amzn.to/3hhjPo9"><span>Buy On Amazon</span></a></p><div><hr></div><h3>10. Scientific Computing with Python&#8202;</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://amzn.to/3ho7oXA" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!37xI!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F24a12193-415e-4eaf-aaed-e496463b10b5_1103x1360.jpeg 424w, https://substackcdn.com/image/fetch/$s_!37xI!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F24a12193-415e-4eaf-aaed-e496463b10b5_1103x1360.jpeg 848w, https://substackcdn.com/image/fetch/$s_!37xI!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F24a12193-415e-4eaf-aaed-e496463b10b5_1103x1360.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!37xI!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F24a12193-415e-4eaf-aaed-e496463b10b5_1103x1360.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!37xI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F24a12193-415e-4eaf-aaed-e496463b10b5_1103x1360.jpeg" width="200" height="246.60018132366272" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/24a12193-415e-4eaf-aaed-e496463b10b5_1103x1360.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1360,&quot;width&quot;:1103,&quot;resizeWidth&quot;:200,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://amzn.to/3ho7oXA&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&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_!37xI!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F24a12193-415e-4eaf-aaed-e496463b10b5_1103x1360.jpeg 424w, https://substackcdn.com/image/fetch/$s_!37xI!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F24a12193-415e-4eaf-aaed-e496463b10b5_1103x1360.jpeg 848w, https://substackcdn.com/image/fetch/$s_!37xI!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F24a12193-415e-4eaf-aaed-e496463b10b5_1103x1360.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!37xI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F24a12193-415e-4eaf-aaed-e496463b10b5_1103x1360.jpeg 1456w" sizes="100vw" loading="lazy"></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 aria-hidden="true" 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><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></figure></div><p>&#8202;Fills an important gap in most Data Scientist's bookshelves. High-performance computing, especially scientific and numeric computing, is a fairly technical branch of computer science that most programmers aren&#8217;t familiar with. It requires a deep understanding of the finer points of the data structures being used and of their specific implementations. With this book, the authors have managed to demystify a highly complex subject with clear explanations and analysis that will appeal to developers of all levels. Naturally, some of the subjects could gain from being further developed, but in every project of this kind, a balance must be struck between breadth and depth. Overall, a useful book that I&#8217;ll refer to often.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://amzn.to/3ho7oXA&quot;,&quot;text&quot;:&quot;Buy On Amazon&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://amzn.to/3ho7oXA"><span>Buy On Amazon</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!OVTP!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2815e321-41da-47fd-ac62-e8920fb443f7_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!OVTP!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2815e321-41da-47fd-ac62-e8920fb443f7_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!OVTP!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2815e321-41da-47fd-ac62-e8920fb443f7_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!OVTP!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2815e321-41da-47fd-ac62-e8920fb443f7_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!OVTP!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2815e321-41da-47fd-ac62-e8920fb443f7_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!OVTP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2815e321-41da-47fd-ac62-e8920fb443f7_1400x76.png" width="1400" height="76" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2815e321-41da-47fd-ac62-e8920fb443f7_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;:true,&quot;topImage&quot;:false,&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_!OVTP!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2815e321-41da-47fd-ac62-e8920fb443f7_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!OVTP!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2815e321-41da-47fd-ac62-e8920fb443f7_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!OVTP!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2815e321-41da-47fd-ac62-e8920fb443f7_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!OVTP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2815e321-41da-47fd-ac62-e8920fb443f7_1400x76.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>What books kept you company throughout 2022? And which ones are you looking forward to in 2023?</p><p>Also, don&#8217;t forget to check out our reading list from previous years</p><ul><li><p><strong><a href="https://data4sci.substack.com/p/top-10-books-we-read-in-2021">Top 10 Books we read in 2021</a></strong></p></li><li><p><strong><a href="https://data4sci.substack.com/p/top-10-books-we-read-in-2020">Top 10 Books we read in 2020</a></strong></p></li></ul>]]></content:encoded></item></channel></rss>