<?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[The Overfit]]></title><description><![CDATA[Growing and learning in the field of Data Science & Artificial Intelligence]]></description><link>https://www.theoverfit.com</link><image><url>https://substackcdn.com/image/fetch/$s_!5Vcf!,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%2F1235c72c-4f2a-40a1-95f9-4cd2fdfdaec6_1280x1280.png</url><title>The Overfit</title><link>https://www.theoverfit.com</link></image><generator>Substack</generator><lastBuildDate>Mon, 04 May 2026 12:49:03 GMT</lastBuildDate><atom:link href="https://www.theoverfit.com/feed" rel="self" type="application/rss+xml"/><copyright><![CDATA[Felipe Lodur]]></copyright><language><![CDATA[en]]></language><webMaster><![CDATA[theoverfit@substack.com]]></webMaster><itunes:owner><itunes:email><![CDATA[theoverfit@substack.com]]></itunes:email><itunes:name><![CDATA[Felipe Lodur]]></itunes:name></itunes:owner><itunes:author><![CDATA[Felipe Lodur]]></itunes:author><googleplay:owner><![CDATA[theoverfit@substack.com]]></googleplay:owner><googleplay:email><![CDATA[theoverfit@substack.com]]></googleplay:email><googleplay:author><![CDATA[Felipe Lodur]]></googleplay:author><itunes:block><![CDATA[Yes]]></itunes:block><item><title><![CDATA[The AI Battle Begins & Layoffs Continue]]></title><description><![CDATA[A Summary of February News on AI - A month filled with announcements regarding new Language Models.]]></description><link>https://www.theoverfit.com/p/ensemble-2-the-ai-battle-begins</link><guid isPermaLink="false">https://www.theoverfit.com/p/ensemble-2-the-ai-battle-begins</guid><dc:creator><![CDATA[Felipe Lodur]]></dc:creator><pubDate>Thu, 02 Mar 2023 22:47:47 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/ffb349d1-099e-4aca-b8c5-c3352ec1c87b_420x300.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="pullquote"><p><em><strong>Ensemble</strong> is a monthly issue from The Overfit, aggregating the most relevant updates in the Data Science &amp; AI industry for the given month, always with some personal takes on &#8220;why is this happening?&#8221; and &#8220;what will happen next?&#8221;</em></p></div><h2>AI News</h2><p>While January was fascinating with all the noise from ChatGPT, February showed that the AI wave continues.</p><p></p><ul><li><p><strong>ChatGPT is integrated with <a href="https://www.bing.com/new">Bing</a>, <a href="https://www.theverge.com/2023/2/7/23587454/microsoft-bing-edge-chatgpt-ai">Edge</a>, and <a href="https://www.theverge.com/2023/2/28/23618214/microsoft-windows-11-update-bing-ai-taskbar-touch-improvements-screen-recording-features">Windows 11</a></strong>. The partnership OpenAI has with Microsoft shows &#8212; ChatGPT is already available for multiple products.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ln8h!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa014be94-4506-42c5-864c-4af716b18f0b_1248x702.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ln8h!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa014be94-4506-42c5-864c-4af716b18f0b_1248x702.jpeg 424w, https://substackcdn.com/image/fetch/$s_!ln8h!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa014be94-4506-42c5-864c-4af716b18f0b_1248x702.jpeg 848w, https://substackcdn.com/image/fetch/$s_!ln8h!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa014be94-4506-42c5-864c-4af716b18f0b_1248x702.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!ln8h!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa014be94-4506-42c5-864c-4af716b18f0b_1248x702.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ln8h!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa014be94-4506-42c5-864c-4af716b18f0b_1248x702.jpeg" width="1248" height="702" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a014be94-4506-42c5-864c-4af716b18f0b_1248x702.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:702,&quot;width&quot;:1248,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Bing OpenAI integration revealed in Microsoft press conference. See the  details. | Mashable&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="Bing OpenAI integration revealed in Microsoft press conference. See the  details. | Mashable" title="Bing OpenAI integration revealed in Microsoft press conference. See the  details. | Mashable" srcset="https://substackcdn.com/image/fetch/$s_!ln8h!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa014be94-4506-42c5-864c-4af716b18f0b_1248x702.jpeg 424w, https://substackcdn.com/image/fetch/$s_!ln8h!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa014be94-4506-42c5-864c-4af716b18f0b_1248x702.jpeg 848w, https://substackcdn.com/image/fetch/$s_!ln8h!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa014be94-4506-42c5-864c-4af716b18f0b_1248x702.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!ln8h!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa014be94-4506-42c5-864c-4af716b18f0b_1248x702.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><ul><li><p><strong>Google announced <a href="https://blog.google/technology/ai/bard-google-ai-search-updates/">Bard</a>. </strong>In short, it&#8217;s the ChatGPT of Google. It&#8217;s based on another architecture &#8212; LaMDA. It&#8217;s not yet available to the public, so it&#8217;s hard to compare.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!YAfL!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F15e5d1c0-8fa6-4a7e-aa50-3865a81ec698_2400x1347.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!YAfL!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F15e5d1c0-8fa6-4a7e-aa50-3865a81ec698_2400x1347.jpeg 424w, https://substackcdn.com/image/fetch/$s_!YAfL!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F15e5d1c0-8fa6-4a7e-aa50-3865a81ec698_2400x1347.jpeg 848w, https://substackcdn.com/image/fetch/$s_!YAfL!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F15e5d1c0-8fa6-4a7e-aa50-3865a81ec698_2400x1347.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!YAfL!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F15e5d1c0-8fa6-4a7e-aa50-3865a81ec698_2400x1347.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!YAfL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F15e5d1c0-8fa6-4a7e-aa50-3865a81ec698_2400x1347.jpeg" width="1456" height="817" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/15e5d1c0-8fa6-4a7e-aa50-3865a81ec698_2400x1347.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:817,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;A screenshot of an interaction with Bard. The question says: &#8220;What new discoveries from the James Space Webb Telescope can I tell my 9 year old about?&#8221; The answers include the bullet point: &#8220;JWST took the very first pictures of a planet outside of our own solar system. These distant worlds are called &#8220;exoplanets&#8221;. Exo means &#8220;from outside&#8221;.&#8221;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&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="A screenshot of an interaction with Bard. The question says: &#8220;What new discoveries from the James Space Webb Telescope can I tell my 9 year old about?&#8221; The answers include the bullet point: &#8220;JWST took the very first pictures of a planet outside of our own solar system. These distant worlds are called &#8220;exoplanets&#8221;. Exo means &#8220;from outside&#8221;.&#8221;" title="A screenshot of an interaction with Bard. The question says: &#8220;What new discoveries from the James Space Webb Telescope can I tell my 9 year old about?&#8221; The answers include the bullet point: &#8220;JWST took the very first pictures of a planet outside of our own solar system. These distant worlds are called &#8220;exoplanets&#8221;. Exo means &#8220;from outside&#8221;.&#8221;" srcset="https://substackcdn.com/image/fetch/$s_!YAfL!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F15e5d1c0-8fa6-4a7e-aa50-3865a81ec698_2400x1347.jpeg 424w, https://substackcdn.com/image/fetch/$s_!YAfL!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F15e5d1c0-8fa6-4a7e-aa50-3865a81ec698_2400x1347.jpeg 848w, https://substackcdn.com/image/fetch/$s_!YAfL!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F15e5d1c0-8fa6-4a7e-aa50-3865a81ec698_2400x1347.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!YAfL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F15e5d1c0-8fa6-4a7e-aa50-3865a81ec698_2400x1347.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">This was displayed at the Google Event when announcing Bard.</figcaption></figure></div><p></p><ul><li><p><strong>Snapchat <a href="https://www.theverge.com/2023/2/27/23614959/snapchat-my-ai-chatbot-chatgpt-openai-plus-subscription">launched</a> an AI Chatbot powered by Open AI. </strong>It&#8217;s very similar to ChatGPT, but they have tuned it a bit, trying to avoid sensitive topics (violence, swearing, etc.)</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!tOkf!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4bca77c5-bfff-4376-a909-ff705d0ed07d_2000x1000.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!tOkf!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4bca77c5-bfff-4376-a909-ff705d0ed07d_2000x1000.jpeg 424w, https://substackcdn.com/image/fetch/$s_!tOkf!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4bca77c5-bfff-4376-a909-ff705d0ed07d_2000x1000.jpeg 848w, https://substackcdn.com/image/fetch/$s_!tOkf!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4bca77c5-bfff-4376-a909-ff705d0ed07d_2000x1000.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!tOkf!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4bca77c5-bfff-4376-a909-ff705d0ed07d_2000x1000.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!tOkf!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4bca77c5-bfff-4376-a909-ff705d0ed07d_2000x1000.jpeg" width="1456" height="728" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4bca77c5-bfff-4376-a909-ff705d0ed07d_2000x1000.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:728,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Snapchat launches ChatGPT integration - 9to5Mac&quot;,&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="Snapchat launches ChatGPT integration - 9to5Mac" title="Snapchat launches ChatGPT integration - 9to5Mac" srcset="https://substackcdn.com/image/fetch/$s_!tOkf!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4bca77c5-bfff-4376-a909-ff705d0ed07d_2000x1000.jpeg 424w, https://substackcdn.com/image/fetch/$s_!tOkf!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4bca77c5-bfff-4376-a909-ff705d0ed07d_2000x1000.jpeg 848w, https://substackcdn.com/image/fetch/$s_!tOkf!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4bca77c5-bfff-4376-a909-ff705d0ed07d_2000x1000.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!tOkf!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4bca77c5-bfff-4376-a909-ff705d0ed07d_2000x1000.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><ul><li><p><strong>Meta launched <a href="https://research.facebook.com/publications/llama-open-and-efficient-foundation-language-models/">Llama</a></strong>. It&#8217;s available in different sizes &#8212; in billions of parameters &#8212; (7B, 13B, 33B, and 65B). The 13B version outperforms GPT-3 (ChatGPT &#8220;basis&#8221;) in most benchmarks and is way more efficient &#8212; GPT3 has 175B parameters (Llama is more than 10x smaller)</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!xZcG!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59a43377-e559-4bbf-a7c3-f9a63092889c_828x474.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!xZcG!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59a43377-e559-4bbf-a7c3-f9a63092889c_828x474.jpeg 424w, https://substackcdn.com/image/fetch/$s_!xZcG!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59a43377-e559-4bbf-a7c3-f9a63092889c_828x474.jpeg 848w, https://substackcdn.com/image/fetch/$s_!xZcG!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59a43377-e559-4bbf-a7c3-f9a63092889c_828x474.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!xZcG!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59a43377-e559-4bbf-a7c3-f9a63092889c_828x474.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!xZcG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59a43377-e559-4bbf-a7c3-f9a63092889c_828x474.jpeg" width="828" height="474" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/59a43377-e559-4bbf-a7c3-f9a63092889c_828x474.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:474,&quot;width&quot;:828,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;No alternative text description for this image&quot;,&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="No alternative text description for this image" title="No alternative text description for this image" srcset="https://substackcdn.com/image/fetch/$s_!xZcG!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59a43377-e559-4bbf-a7c3-f9a63092889c_828x474.jpeg 424w, https://substackcdn.com/image/fetch/$s_!xZcG!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59a43377-e559-4bbf-a7c3-f9a63092889c_828x474.jpeg 848w, https://substackcdn.com/image/fetch/$s_!xZcG!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59a43377-e559-4bbf-a7c3-f9a63092889c_828x474.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!xZcG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59a43377-e559-4bbf-a7c3-f9a63092889c_828x474.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">AI-Generated Llama.</figcaption></figure></div><p></p><p>Generally, we should expect more products based on this type of AI &#8212; generative text, chatting, etc. &#8212; soon. There will undoubtedly be a lot to talk about in the coming months! ;)</p><p></p><h2>Layoffs</h2><p><a href="https://www.theoverfit.com/p/ensemble-1-layoffs-chat-gpt-research">In the last ensemble article</a>, I discussed why layoffs are happening. As I mentioned, layoffs were still expected in February.</p><p>This time, the most significant layoffs for February are:</p><ul><li><p><strong>Ericsson:</strong> 8500</p></li><li><p><strong>Dell:</strong> 6650</p></li><li><p><strong>Yahoo:</strong> 1600</p></li><li><p><strong>Byju&#8217;s:</strong> 1500</p></li><li><p><strong>Twilio:</strong> 1500</p></li><li><p><strong>Zoom:</strong> 1300</p></li></ul><p>And many other &#8220;smaller layoffs&#8221; from notable companies such as GoDaddy, eBay, Thoughtworks, Wix, etc. You look at them individually at <a href="https://layoffs.fyi/">layoffs.fyi</a>.</p><p>I still expect some layoffs during March (as some planning for the year finishes during February), but I guess the &#8220;layoff velocity&#8221; will decrease after April.</p><p></p><h3>Notes on the market</h3><p>Even though we still have uncertainty in the market and layoffs should continue throughout the year, this year will most likely be an excellent opportunity for AI-based startups to get some traction.</p><p>For instance, <a href="https://beta.tome.app/">Tome</a> &#8212; a &#8220;Generative Storytelling&#8221; app &#8212; is <a href="https://medium.com/lightspeed-venture-partners/storytelling-at-the-cost-of-zero-673755c1bf77">leading a $43M investment round</a>. And <a href="https://openai.fund/">OpenAI has a dedicated fund</a> specifically for OpenAI-powered startups.</p><p>Because of all the buzz, many startups will either surge or pivot to embrace AI solutions. Let&#8217;s see which ones will stick around!</p><p></p><p><br></p><p></p><p></p>]]></content:encoded></item><item><title><![CDATA[7 Things to Study in ML: Beyond the Basics]]></title><description><![CDATA[Topics to take your ML knowledge to the next level.]]></description><link>https://www.theoverfit.com/p/7-things-to-study-in-ml-beyond-basics</link><guid isPermaLink="false">https://www.theoverfit.com/p/7-things-to-study-in-ml-beyond-basics</guid><dc:creator><![CDATA[Felipe Lodur]]></dc:creator><pubDate>Wed, 22 Feb 2023 14:24: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%2F0beb22f9-cf2f-4a25-80ca-50392017ec1a_1568x896.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>After learning the entire ML Pipeline (pre-processing, some models, evaluation methods, and basic deployment), I&#8217;ve seen many people struggling to progress further in the field. They know there&#8217;s probably still a lot to learn but don&#8217;t know what exactly.</p><p>In this article, I selected some topics extremely relevant to AI professionals. I will explain what they are and recommend where you should start for each of them.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.theoverfit.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">The Overfit 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><p></p><h2>1. Interpretability</h2><p>Models generate predictions. However, those predictions by themselves might not be enough:</p><ul><li><p>You might be developing an application that requires telling WHY the model predicted X and not Y. [e.g., explain why the model thinks the person has a particular disease; or explain the reason for a loan denial]</p></li><li><p>Additionally, when iterating and trying to improve your model, it is an excellent practice to go over some predictions and understand WHY the model is performing poorly in some instances.</p></li></ul><p>Interpretability techniques can help in both cases &#8212; they inform &#8220;the&nbsp;<em>why</em>&nbsp;behind your model&#8217;s predictions.&#8221;&nbsp;</p><p>A fundamental interpretability technique is the &#8220;Feature Importance&#8221; in decision trees based models. It shows what features matter the most to your model. However, it does not provide enough clarity to explain&nbsp;<strong>specific predictions</strong>.&nbsp;</p><p>For that, you can use techniques that provide &#8220;local interpretability.&#8221; The most well-known are&nbsp;<a href="https://github.com/marcotcr/lime">LIME</a>&nbsp;and&nbsp;<a href="https://github.com/slundberg/shap">SHAP</a>. The remarkable thing is that they are model-agnostic &#8212; in other words, they work for any ML model. I recommend diving deeper and understanding how they generate local interpretability instead of using them blindly.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!e8fJ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc444998-ab93-4348-9fa0-4be41cd06e39_743x436.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!e8fJ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc444998-ab93-4348-9fa0-4be41cd06e39_743x436.png 424w, https://substackcdn.com/image/fetch/$s_!e8fJ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc444998-ab93-4348-9fa0-4be41cd06e39_743x436.png 848w, https://substackcdn.com/image/fetch/$s_!e8fJ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc444998-ab93-4348-9fa0-4be41cd06e39_743x436.png 1272w, https://substackcdn.com/image/fetch/$s_!e8fJ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc444998-ab93-4348-9fa0-4be41cd06e39_743x436.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!e8fJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc444998-ab93-4348-9fa0-4be41cd06e39_743x436.png" width="743" height="436" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/cc444998-ab93-4348-9fa0-4be41cd06e39_743x436.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:436,&quot;width&quot;:743,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:65442,&quot;alt&quot;:&quot;&quot;,&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;: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_!e8fJ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc444998-ab93-4348-9fa0-4be41cd06e39_743x436.png 424w, https://substackcdn.com/image/fetch/$s_!e8fJ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc444998-ab93-4348-9fa0-4be41cd06e39_743x436.png 848w, https://substackcdn.com/image/fetch/$s_!e8fJ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc444998-ab93-4348-9fa0-4be41cd06e39_743x436.png 1272w, https://substackcdn.com/image/fetch/$s_!e8fJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc444998-ab93-4348-9fa0-4be41cd06e39_743x436.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>There are, of course, many others. Some of them are specific &#8212; Such as Layer-wise Relevance Propagation (LRP) for Neural Networks&#8212;but I advise focusing on LIME and SHAP, as they already cover the most common use cases.</p><p></p><h2>2. AI Fairness</h2><p><strong>All models learn some bias.</strong>&nbsp;In a certain way, bias is necessary for making predictions (you learn them through your data and exploit them to forecast the future).</p><p>However, not all bias is wanted. For instance, a model that favors a particular ethnicity over others is unacceptable &#8212; e.g., only approving loans for white people. In other cases, using ethnicity can help provide a more accurate prediction for them &#8212; such as in a medical application.</p><p>Learning to identify and mitigate unwanted bias is vital for those applications, and AI Fairness is the field that takes care of this. I have published an article that goes through a more detailed explanation of how to identify and mitigate those biases &#8212; you can&nbsp;<a href="https://www.theoverfit.com/p/ai-fairness">read it here</a>.</p><p>Anyway, here is a fantastic table referencing some of the AI Fairness techniques:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!a6op!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96e4001f-bfc6-4a4a-9c27-efaedc5bd970_1908x1080.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!a6op!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96e4001f-bfc6-4a4a-9c27-efaedc5bd970_1908x1080.jpeg 424w, https://substackcdn.com/image/fetch/$s_!a6op!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96e4001f-bfc6-4a4a-9c27-efaedc5bd970_1908x1080.jpeg 848w, https://substackcdn.com/image/fetch/$s_!a6op!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96e4001f-bfc6-4a4a-9c27-efaedc5bd970_1908x1080.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!a6op!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96e4001f-bfc6-4a4a-9c27-efaedc5bd970_1908x1080.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!a6op!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96e4001f-bfc6-4a4a-9c27-efaedc5bd970_1908x1080.jpeg" width="1456" height="824" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/96e4001f-bfc6-4a4a-9c27-efaedc5bd970_1908x1080.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:824,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:668239,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&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="" title="" srcset="https://substackcdn.com/image/fetch/$s_!a6op!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96e4001f-bfc6-4a4a-9c27-efaedc5bd970_1908x1080.jpeg 424w, https://substackcdn.com/image/fetch/$s_!a6op!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96e4001f-bfc6-4a4a-9c27-efaedc5bd970_1908x1080.jpeg 848w, https://substackcdn.com/image/fetch/$s_!a6op!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96e4001f-bfc6-4a4a-9c27-efaedc5bd970_1908x1080.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!a6op!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96e4001f-bfc6-4a4a-9c27-efaedc5bd970_1908x1080.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><h2>3. AI Privacy</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!jLe5!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0beb22f9-cf2f-4a25-80ca-50392017ec1a_1568x896.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!jLe5!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0beb22f9-cf2f-4a25-80ca-50392017ec1a_1568x896.png 424w, https://substackcdn.com/image/fetch/$s_!jLe5!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0beb22f9-cf2f-4a25-80ca-50392017ec1a_1568x896.png 848w, https://substackcdn.com/image/fetch/$s_!jLe5!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0beb22f9-cf2f-4a25-80ca-50392017ec1a_1568x896.png 1272w, https://substackcdn.com/image/fetch/$s_!jLe5!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0beb22f9-cf2f-4a25-80ca-50392017ec1a_1568x896.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!jLe5!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0beb22f9-cf2f-4a25-80ca-50392017ec1a_1568x896.png" width="1456" height="832" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0beb22f9-cf2f-4a25-80ca-50392017ec1a_1568x896.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:832,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1795997,&quot;alt&quot;:&quot;&quot;,&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;: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_!jLe5!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0beb22f9-cf2f-4a25-80ca-50392017ec1a_1568x896.png 424w, https://substackcdn.com/image/fetch/$s_!jLe5!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0beb22f9-cf2f-4a25-80ca-50392017ec1a_1568x896.png 848w, https://substackcdn.com/image/fetch/$s_!jLe5!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0beb22f9-cf2f-4a25-80ca-50392017ec1a_1568x896.png 1272w, https://substackcdn.com/image/fetch/$s_!jLe5!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0beb22f9-cf2f-4a25-80ca-50392017ec1a_1568x896.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Models learn from data to make their predictions. Sometimes, that data can be sensitive. Some malicious people can try to use your model to reverse engineer some information about the dataset you used to train it on, for instance:</p><ul><li><p>Membership Inference: Identify whether a person was in the dataset.</p></li><li><p>Model Inversal: Construct the original dataset (entirely or partially).</p></li><li><p>Statistical Inferences: Estimate feature averages, distributions, etc.</p></li></ul><p>These three are only some examples of what attackers might want to do with your model. Again, this is especially true for sensitive data (people info, credit card info, medical records, etc.)</p><p>You can use AI Privacy techniques to make your model more robust to these attacks. I recommend studying the following topics to start:</p><ul><li><p><strong>Data Cleaning:</strong>&nbsp;If you can, remove or encrypt sensitive data.</p></li><li><p><strong>API Hardening:</strong>&nbsp;Making it hard for attackers to make a bunch of inferences with your model.</p></li><li><p><strong>Differential Privacy:&nbsp;</strong>Change your data and model to guarantee certain privacy levels, typically in exchange for performance. Try to understand how much privacy you need for your application.</p></li><li><p><strong>Federated Learning:</strong>&nbsp;A way to train models in a distributed framework without directly sharing data, helping with other data privacy concerns.</p><p></p></li></ul><h2>4. AutoML</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!aEAx!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffccd5f51-3fb4-4f89-9ef6-c7004d04c8a3_1568x896.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!aEAx!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffccd5f51-3fb4-4f89-9ef6-c7004d04c8a3_1568x896.png 424w, https://substackcdn.com/image/fetch/$s_!aEAx!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffccd5f51-3fb4-4f89-9ef6-c7004d04c8a3_1568x896.png 848w, https://substackcdn.com/image/fetch/$s_!aEAx!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffccd5f51-3fb4-4f89-9ef6-c7004d04c8a3_1568x896.png 1272w, https://substackcdn.com/image/fetch/$s_!aEAx!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffccd5f51-3fb4-4f89-9ef6-c7004d04c8a3_1568x896.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!aEAx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffccd5f51-3fb4-4f89-9ef6-c7004d04c8a3_1568x896.png" width="1456" height="832" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/fccd5f51-3fb4-4f89-9ef6-c7004d04c8a3_1568x896.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:832,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1434185,&quot;alt&quot;:&quot;&quot;,&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;: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_!aEAx!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffccd5f51-3fb4-4f89-9ef6-c7004d04c8a3_1568x896.png 424w, https://substackcdn.com/image/fetch/$s_!aEAx!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffccd5f51-3fb4-4f89-9ef6-c7004d04c8a3_1568x896.png 848w, https://substackcdn.com/image/fetch/$s_!aEAx!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffccd5f51-3fb4-4f89-9ef6-c7004d04c8a3_1568x896.png 1272w, https://substackcdn.com/image/fetch/$s_!aEAx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffccd5f51-3fb4-4f89-9ef6-c7004d04c8a3_1568x896.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>AutoML is the field that tries to automate parts of the Machine Learning pipeline to improve the model training process, making it faster and potentially better.</p><ul><li><p><strong>Feature Engineering:</strong>&nbsp;Creating features is typically an extensive process. Auto Feature Engineering tools try to create and evaluate them for you. (Tooltip:&nbsp;<a href="https://www.featuretools.com/">featuretools</a>)</p></li><li><p><strong>Pre-processing + model Selection + Hyperparameter Optimization:</strong>&nbsp;Instead of manually setting parameters, these techniques provide optimized searching solutions to find the best combination for your problem. (tooltip:&nbsp;<a href="https://automl.github.io/auto-sklearn/master/">auto-sklearn</a>)</p></li></ul><p></p><h2>5. Causal Inference</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!paEU!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fedaf01-ba92-4fc7-a1be-f0d88576bf25_600x321.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!paEU!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fedaf01-ba92-4fc7-a1be-f0d88576bf25_600x321.png 424w, https://substackcdn.com/image/fetch/$s_!paEU!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fedaf01-ba92-4fc7-a1be-f0d88576bf25_600x321.png 848w, https://substackcdn.com/image/fetch/$s_!paEU!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fedaf01-ba92-4fc7-a1be-f0d88576bf25_600x321.png 1272w, https://substackcdn.com/image/fetch/$s_!paEU!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fedaf01-ba92-4fc7-a1be-f0d88576bf25_600x321.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!paEU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fedaf01-ba92-4fc7-a1be-f0d88576bf25_600x321.png" width="600" height="321" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7fedaf01-ba92-4fc7-a1be-f0d88576bf25_600x321.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:321,&quot;width&quot;:600,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:45851,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!paEU!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fedaf01-ba92-4fc7-a1be-f0d88576bf25_600x321.png 424w, https://substackcdn.com/image/fetch/$s_!paEU!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fedaf01-ba92-4fc7-a1be-f0d88576bf25_600x321.png 848w, https://substackcdn.com/image/fetch/$s_!paEU!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fedaf01-ba92-4fc7-a1be-f0d88576bf25_600x321.png 1272w, https://substackcdn.com/image/fetch/$s_!paEU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fedaf01-ba92-4fc7-a1be-f0d88576bf25_600x321.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Sometimes, instead of focusing on predictions, we might want to choose the right &#8220;treatment&#8221; in an application. For instance:</p><ul><li><p>Choosing Model A vs. Model B</p></li><li><p>Decide how much discount to give to a customer</p></li><li><p>Define a customer credit limit</p></li></ul><p>If you are entirely new at this, I recommend starting with the basics of A/B testing, which should help you design practical experiments.</p><p>Afterward, my golden recommendation is the&nbsp;<a href="https://matheusfacure.github.io/python-causality-handbook/landing-page.html">Causal Inference for the Brave and True</a>, which goes in-depth into causality with convenient python examples. You will there learn about estimating the &#8220;Conditional Average Treatment Effect&#8220; (CATE) using models (namely, X-learners, S-learners, and T-learners)</p><p></p><h2>6. Fast Training</h2><p>Especially for those working with larger models that take a long time to train, looking for ways to speed up the training is vital to achieving results more quickly.</p><p>For that, we can train a model way quicker through different techniques, such as:</p><ul><li><p><strong>Learning Rate Finders:</strong> For instance, using a Cyclical Learning Rate (CLR) to arrive at convergence with fewer iterations (image below)</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!qYhC!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F283a8182-e141-49e4-b9d1-68e86533ba7c_487x254.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!qYhC!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F283a8182-e141-49e4-b9d1-68e86533ba7c_487x254.jpeg 424w, https://substackcdn.com/image/fetch/$s_!qYhC!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F283a8182-e141-49e4-b9d1-68e86533ba7c_487x254.jpeg 848w, https://substackcdn.com/image/fetch/$s_!qYhC!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F283a8182-e141-49e4-b9d1-68e86533ba7c_487x254.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!qYhC!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F283a8182-e141-49e4-b9d1-68e86533ba7c_487x254.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!qYhC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F283a8182-e141-49e4-b9d1-68e86533ba7c_487x254.jpeg" width="487" height="254" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/283a8182-e141-49e4-b9d1-68e86533ba7c_487x254.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:254,&quot;width&quot;:487,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:26895,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&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="" title="" srcset="https://substackcdn.com/image/fetch/$s_!qYhC!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F283a8182-e141-49e4-b9d1-68e86533ba7c_487x254.jpeg 424w, https://substackcdn.com/image/fetch/$s_!qYhC!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F283a8182-e141-49e4-b9d1-68e86533ba7c_487x254.jpeg 848w, https://substackcdn.com/image/fetch/$s_!qYhC!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F283a8182-e141-49e4-b9d1-68e86533ba7c_487x254.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!qYhC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F283a8182-e141-49e4-b9d1-68e86533ba7c_487x254.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><ul><li><p><strong>Mixed-Precision:</strong>&nbsp;Instead of using full-precision of the GPU operations, reduce it fully or partially (mixed) to half-precision (fp16), making the calculations faster and resulting in less GPU memory usage. Of course, a reduced precision may impact your final model performance.</p></li><li><p><strong>Model Compression:</strong>&nbsp;Reducing the model, for instance, by cutting down weights (model pruning), can also help with speed. Also, some research shows that larger, sparse models are often better than smaller, dense ones.</p><p></p><p></p></li></ul><h2>7. Unstructured Data</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!E5AZ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0cc0387-7b36-4f68-b26d-9884b9f757b3_1568x896.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!E5AZ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0cc0387-7b36-4f68-b26d-9884b9f757b3_1568x896.png 424w, https://substackcdn.com/image/fetch/$s_!E5AZ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0cc0387-7b36-4f68-b26d-9884b9f757b3_1568x896.png 848w, https://substackcdn.com/image/fetch/$s_!E5AZ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0cc0387-7b36-4f68-b26d-9884b9f757b3_1568x896.png 1272w, https://substackcdn.com/image/fetch/$s_!E5AZ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0cc0387-7b36-4f68-b26d-9884b9f757b3_1568x896.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!E5AZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0cc0387-7b36-4f68-b26d-9884b9f757b3_1568x896.png" width="1456" height="832" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b0cc0387-7b36-4f68-b26d-9884b9f757b3_1568x896.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:832,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:2233316,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!E5AZ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0cc0387-7b36-4f68-b26d-9884b9f757b3_1568x896.png 424w, https://substackcdn.com/image/fetch/$s_!E5AZ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0cc0387-7b36-4f68-b26d-9884b9f757b3_1568x896.png 848w, https://substackcdn.com/image/fetch/$s_!E5AZ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0cc0387-7b36-4f68-b26d-9884b9f757b3_1568x896.png 1272w, https://substackcdn.com/image/fetch/$s_!E5AZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0cc0387-7b36-4f68-b26d-9884b9f757b3_1568x896.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Most people start in the field by tackling structured data (tables). However, dealing with unstructured data can provide some exciting modeling opportunities for you.&nbsp;</p><p>In all of them, you can work with a more classical approach (such as using libraries to extract features from them) or use Deep Learning. For Deep Learning, I recommend sticking to PyTorch or Tensorflow (in doubt? Pick PyTorch).&nbsp;</p><p>Some additional libs I recommend by data type:</p><ul><li><p><strong>Images:</strong>&nbsp;<a href="https://scikit-image.org/">Scikit-image</a>,&nbsp;<a href="https://opencv.org/">OpenCV</a>, and&nbsp;<a href="https://github.com/pytorch/vision">TorchVision</a></p></li><li><p><strong>Audio:</strong>&nbsp;<a href="https://github.com/librosa/librosa">Librosa</a>,&nbsp;<a href="https://pytorch.org/audio/stable/index.html">TorchAudio</a>&nbsp;and&nbsp;<a href="https://speechbrain.github.io/">SpeechBrain</a></p></li><li><p><strong>Text:</strong>&nbsp;<a href="https://spacy.io/">SpaCy</a>,&nbsp;<a href="https://scikit-learn.org/stable/tutorial/text_analytics/working_with_text_data.html">Sklearn</a>, and&nbsp;<a href="https://huggingface.co/docs/transformers/index">HuggingFace Transformers</a>.</p></li><li><p><strong>Graphs:</strong>&nbsp;<a href="https://www.pyg.org/">PyG</a>&nbsp;and&nbsp;<a href="https://www.dgl.ai/">DGL</a></p></li></ul><h2>Finally</h2><p>While there are many other exciting topics in Machine Learning, these 8 are my top recommendations based on how useful they can be for your projects and careers.</p><p>Hopefully, you find some of them interesting or useful! :)</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.theoverfit.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">The Overfit 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>]]></content:encoded></item><item><title><![CDATA[Freelancing Guide - How to Start and Scale?]]></title><description><![CDATA[Understand more about the different freelancer types, how to price your work, how to start getting clients, and receive a subscriber-only proposal deck template. Everything you need to start!]]></description><link>https://www.theoverfit.com/p/freelancing-guide-how-to-start-and</link><guid isPermaLink="false">https://www.theoverfit.com/p/freelancing-guide-how-to-start-and</guid><dc:creator><![CDATA[Felipe Lodur]]></dc:creator><pubDate>Wed, 15 Feb 2023 15:06:05 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%2Fe2c4f0b5-6529-41c7-b70c-73de7d6b354a_2048x1152.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>In this guide, I will go through everything you need to start or upgrade your freelancing with practical tips and one exclusive template.</p><ul><li><p><strong>Services:</strong> 5 Types of Freelancing, How to choose one, and Niches</p></li><li><p><strong>Pricing:</strong> Framework for pricing your work.</p></li><li><p><strong>Getting Clients:</strong> 3 approaches to get you started</p></li><li><p><strong>Creating your Proposal:</strong> exclusive proposal deck template.</p></li><li><p><strong>Scaling your business:</strong> What to do when you have enough work?</p></li></ul><p></p><h1>Service Types</h1><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Hdqs!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b329de6-5331-4143-a2b4-3d709685f217_1568x896.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Hdqs!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b329de6-5331-4143-a2b4-3d709685f217_1568x896.png 424w, https://substackcdn.com/image/fetch/$s_!Hdqs!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b329de6-5331-4143-a2b4-3d709685f217_1568x896.png 848w, https://substackcdn.com/image/fetch/$s_!Hdqs!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b329de6-5331-4143-a2b4-3d709685f217_1568x896.png 1272w, https://substackcdn.com/image/fetch/$s_!Hdqs!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b329de6-5331-4143-a2b4-3d709685f217_1568x896.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Hdqs!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b329de6-5331-4143-a2b4-3d709685f217_1568x896.png" width="1456" height="832" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9b329de6-5331-4143-a2b4-3d709685f217_1568x896.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:832,&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_!Hdqs!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b329de6-5331-4143-a2b4-3d709685f217_1568x896.png 424w, https://substackcdn.com/image/fetch/$s_!Hdqs!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b329de6-5331-4143-a2b4-3d709685f217_1568x896.png 848w, https://substackcdn.com/image/fetch/$s_!Hdqs!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b329de6-5331-4143-a2b4-3d709685f217_1568x896.png 1272w, https://substackcdn.com/image/fetch/$s_!Hdqs!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b329de6-5331-4143-a2b4-3d709685f217_1568x896.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>I divide it into 5 categories:</p>
      <p>
          <a href="https://www.theoverfit.com/p/freelancing-guide-how-to-start-and">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Fairness Crusade: Fighting AI Bias]]></title><description><![CDATA[A story on how I faced the problem of biased AI models, with tips for your future endeavors.]]></description><link>https://www.theoverfit.com/p/ai-fairness</link><guid isPermaLink="false">https://www.theoverfit.com/p/ai-fairness</guid><dc:creator><![CDATA[Felipe Lodur]]></dc:creator><pubDate>Wed, 08 Feb 2023 13:15:55 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/6c14e932-7d2c-47bc-b542-8924066ff34b_420x300.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h1>Identifying the Problem</h1><p>There I was, early in my career, working on a freelance machine learning project for a bank. I was posed with the challenge of creating their loan approval system: for a beginner, this project should sound pretty simple, right? It is a classification model that tries to identify which customers are &#8220;good&#8221; (e.g., lucrative) and which aren&#8217;t.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!RByL!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb4f0f82-bffc-4634-993c-11c7e2fe02b3_1576x280.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!RByL!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb4f0f82-bffc-4634-993c-11c7e2fe02b3_1576x280.png 424w, https://substackcdn.com/image/fetch/$s_!RByL!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb4f0f82-bffc-4634-993c-11c7e2fe02b3_1576x280.png 848w, https://substackcdn.com/image/fetch/$s_!RByL!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb4f0f82-bffc-4634-993c-11c7e2fe02b3_1576x280.png 1272w, https://substackcdn.com/image/fetch/$s_!RByL!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb4f0f82-bffc-4634-993c-11c7e2fe02b3_1576x280.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!RByL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb4f0f82-bffc-4634-993c-11c7e2fe02b3_1576x280.png" width="672" height="119.53846153846153" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/fb4f0f82-bffc-4634-993c-11c7e2fe02b3_1576x280.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:259,&quot;width&quot;:1456,&quot;resizeWidth&quot;:672,&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_!RByL!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb4f0f82-bffc-4634-993c-11c7e2fe02b3_1576x280.png 424w, https://substackcdn.com/image/fetch/$s_!RByL!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb4f0f82-bffc-4634-993c-11c7e2fe02b3_1576x280.png 848w, https://substackcdn.com/image/fetch/$s_!RByL!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb4f0f82-bffc-4634-993c-11c7e2fe02b3_1576x280.png 1272w, https://substackcdn.com/image/fetch/$s_!RByL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb4f0f82-bffc-4634-993c-11c7e2fe02b3_1576x280.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p>Given that the company had a simple policy for customer application approval based on credit bureau scores and data on which customers paid their loans or defaulted, I had enough data to train an initial model. But then&#8230; I started reflecting.</p><p><strong>You know, loans can change lives.</strong> Sometimes loans are made to pay off an unexpected health expense, other times when someone&#8217;s primary income gets compromised, or even to start a business. Therefore, when you deny a loan, you are potentially closing up a life-changing opportunity for them. At the same time, it&#8217;s business. You cannot simply approve all loans; otherwise, the bank would rapidly go bankrupt due to default.</p><p><strong>Can I use any features?</strong> Well, not really. If we have, say, a gender or race feature, the model will directly learn to be more discriminative towards either group, which would ultimately make it benefit certain groups over others. </p><p><strong>I tried excluding those features, but</strong> when I analyzed the &#8220;feature importance&#8221; given by my model, I found that the most relevant feature was one related to the person's region. And upon further investigation, I discovered that pretty much all areas with higher black people's presence ended up being denied more.</p><p><strong>Why does it matter?</strong> You see, the model still favors one group over the other. It might even have data to back that up (let&#8217;s say black people have a significantly higher default rate), but this poses mainly three problems:</p><ul><li><p><strong>i)</strong> <strong>Group Discrimination:</strong> If the other characteristics are the same for a white and a black person, the model could deny the black person just because they live in a black-dominated neighborhood, which is unfair [and it is also a crime in most countries - as it configures racism];</p></li><li><p><strong>ii)</strong> <strong>Feedback Loop Problem:</strong> By denying more black people, we end up creating a vicious cycle: we have fewer data about them (because we only know &#8220;good&#8221; customers after they paid a loan in total), so when retraining, we won&#8217;t learn more about them (you can read more about <a href="https://www.theoverfit.com/p/degenerate-feedback-loops">degenerate feedback loops</a> here).</p></li><li><p><strong>iii) Opportunity Loop:</strong> Similarly, by approving fewer loans to a group, fewer people in that group will be able to change their lives with the loans they sought. This also intensifies the disparity of opportunities, worsening the situation in the long run.</p></li></ul><p>So, I established: I would try not to use features that directly or indirectly identify a protected group (gender, race, age, etc.). But&#8230; There are correlations everywhere.</p><p>For instance, we could have <strong>salary disparity</strong> among the groups, and a lower salary could be connected to females, whereas higher wages could be tied to males. If our model learns to reject most low-salary people, we are falling again into the same trap.</p><p></p><h1>Measuring Bias</h1><p>Even though I identified the &#8220;bias problem&#8221; above by inspecting my model and thinking about the business domain, the fact that I couldn&#8217;t tell &#8220;how unfair&#8221; my model was started to bother me.</p><p>I started with a straightforward way of measuring it: <strong>Opportunity Inequality</strong>. I used my model to predict the test data and then checked the loan approval rate for each protected group. The difference between the &#8220;highest approval rate&#8221; and the &#8220;lowest approval rate&#8221; became this &#8220;Opportunity Inequality&#8221; measure.</p><p>Later in my career, I discovered a better name for this one &#8212; statistical parity difference &#8212; and other metrics as well, such as:</p><ul><li><p><strong>Predictive Parity:</strong> Difference % of correct predictions for each group</p></li><li><p><strong>Statistical Parity:</strong> Difference in the rate of favorable outcomes</p></li><li><p><strong>Disparate Impact:</strong> Privileged Outcome Ratio / Unprivileged Outcome Ratio</p></li><li><p><strong>Theil Index:</strong> Entropy of Benefit for all individuals</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!NTjL!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbea48b92-481c-4071-8c52-27d74461f104_512x568.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!NTjL!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbea48b92-481c-4071-8c52-27d74461f104_512x568.png 424w, https://substackcdn.com/image/fetch/$s_!NTjL!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbea48b92-481c-4071-8c52-27d74461f104_512x568.png 848w, https://substackcdn.com/image/fetch/$s_!NTjL!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbea48b92-481c-4071-8c52-27d74461f104_512x568.png 1272w, https://substackcdn.com/image/fetch/$s_!NTjL!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbea48b92-481c-4071-8c52-27d74461f104_512x568.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!NTjL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbea48b92-481c-4071-8c52-27d74461f104_512x568.png" width="388" height="430.4375" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bea48b92-481c-4071-8c52-27d74461f104_512x568.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:568,&quot;width&quot;:512,&quot;resizeWidth&quot;:388,&quot;bytes&quot;:20147,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!NTjL!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbea48b92-481c-4071-8c52-27d74461f104_512x568.png 424w, https://substackcdn.com/image/fetch/$s_!NTjL!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbea48b92-481c-4071-8c52-27d74461f104_512x568.png 848w, https://substackcdn.com/image/fetch/$s_!NTjL!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbea48b92-481c-4071-8c52-27d74461f104_512x568.png 1272w, https://substackcdn.com/image/fetch/$s_!NTjL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbea48b92-481c-4071-8c52-27d74461f104_512x568.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">AI Fairness Dashboard (Source: <a href="https://aif360.mybluemix.net/">aif360 by IBM</a>)</figcaption></figure></div><p></p><h1>Achieving Fairness</h1><p>After seeing that my initial model statistical parity was terrible, I started thinking about ways to reduce it.</p><p><strong>I started tweaking my features:</strong> I conducted a feature selection to get to a model with a good enough statistical parity. However, this process created a pretty inaccurate model, as I was left with few features that would not serve the business purpose.</p><p><strong>Then, changing the model:</strong> I tried to change the model and play with hyperparameters to achieve something with less variance so it would have less of a problem fixating on the more problematic attributes. Not enough.</p><p><strong>Finally, the output:</strong> You can see the fairness metrics impacts by tweaking the threshold for each protected group. I tried the two following approaches:</p><ul><li><p><strong>Demographic Parity:</strong> Trying to get the same amount of loans approved in each group. However, this led to a very unprofitable model, as the groups in my case had a very different &#8220;rate of paying the loans back.&#8221; </p></li><li><p><strong>Opportunity Parity:</strong> To find an &#8220;Equal Opportunity Rate&#8221; for each group, I found custom thresholds that maintain the same percentage of approved loans to each group, <strong>considering only those that can pay the loan (True Positive Rate)</strong>. This was the best approach, achieving accuracy,  profit, and equality, and it also had the benefit of being very easy to implement and maintain.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!f_He!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa32def72-1703-473c-8daf-a27027981cd7_972x832.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!f_He!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa32def72-1703-473c-8daf-a27027981cd7_972x832.png 424w, https://substackcdn.com/image/fetch/$s_!f_He!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa32def72-1703-473c-8daf-a27027981cd7_972x832.png 848w, https://substackcdn.com/image/fetch/$s_!f_He!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa32def72-1703-473c-8daf-a27027981cd7_972x832.png 1272w, https://substackcdn.com/image/fetch/$s_!f_He!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa32def72-1703-473c-8daf-a27027981cd7_972x832.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!f_He!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa32def72-1703-473c-8daf-a27027981cd7_972x832.png" width="972" height="832" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a32def72-1703-473c-8daf-a27027981cd7_972x832.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:832,&quot;width&quot;:972,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:148082,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!f_He!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa32def72-1703-473c-8daf-a27027981cd7_972x832.png 424w, https://substackcdn.com/image/fetch/$s_!f_He!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa32def72-1703-473c-8daf-a27027981cd7_972x832.png 848w, https://substackcdn.com/image/fetch/$s_!f_He!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa32def72-1703-473c-8daf-a27027981cd7_972x832.png 1272w, https://substackcdn.com/image/fetch/$s_!f_He!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa32def72-1703-473c-8daf-a27027981cd7_972x832.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Example of &#8220;Equal opportunity&#8221; threshold optimization. TPR is the same for each group. (<a href="https://research.google.com/bigpicture/attacking-discrimination-in-ml/?_gl=1*14zzfoi*_ga*MTQ3MDQwMzYxMy4xNjc0MjczMzg2*_ga_163LFDWS1G*MTY3NTgyMDUzMy40LjAuMTY3NTgyMDUzNy4wLjAuMA..">Interactive website by Google</a>)</figcaption></figure></div><h4>Going Beyond</h4><p>There are other exciting approaches to promoting AI Fairness I learned after this project. I am not going into them super in-depth, but I will provide tools to implement them (searching their name on google should do the trick to dive a bit deeper)</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!5Nmg!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F008cd57a-b59c-4e2c-a048-f7948817332a_1908x1080.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!5Nmg!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F008cd57a-b59c-4e2c-a048-f7948817332a_1908x1080.png 424w, https://substackcdn.com/image/fetch/$s_!5Nmg!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F008cd57a-b59c-4e2c-a048-f7948817332a_1908x1080.png 848w, https://substackcdn.com/image/fetch/$s_!5Nmg!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F008cd57a-b59c-4e2c-a048-f7948817332a_1908x1080.png 1272w, https://substackcdn.com/image/fetch/$s_!5Nmg!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F008cd57a-b59c-4e2c-a048-f7948817332a_1908x1080.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!5Nmg!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F008cd57a-b59c-4e2c-a048-f7948817332a_1908x1080.png" width="1456" height="824" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/008cd57a-b59c-4e2c-a048-f7948817332a_1908x1080.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:824,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1304505,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!5Nmg!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F008cd57a-b59c-4e2c-a048-f7948817332a_1908x1080.png 424w, https://substackcdn.com/image/fetch/$s_!5Nmg!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F008cd57a-b59c-4e2c-a048-f7948817332a_1908x1080.png 848w, https://substackcdn.com/image/fetch/$s_!5Nmg!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F008cd57a-b59c-4e2c-a048-f7948817332a_1908x1080.png 1272w, https://substackcdn.com/image/fetch/$s_!5Nmg!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F008cd57a-b59c-4e2c-a048-f7948817332a_1908x1080.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">From my Master&#8217;s @ GaTech. Prof. Ayanna Howard. IBM 2019 study.</figcaption></figure></div><p><strong>Practical Tips:</strong></p><ul><li><p><strong>Simple first:</strong> Even though terms like &#8220;Adversarial Debiasing&#8221; and &#8220;Meta Fair Classifier&#8221; are very appealing, I encourage Data Scientists to experiment first with post-processing techniques. It&#8217;s easier to understand and tune, you can use it on any trained model, and it&#8217;s easier to maintain - if the AI Fairness Metrics worsen with time, you can tweak the thresholds instead of going through a model retraining process.</p></li><li><p><strong>Pre-processing techniques are neat</strong>. For instance, Disparate Impact Removal can change the distribution of a feature (say, salary) to become similar among your protected groups, making them indistinguishable. Therefore the model would not be able to favor one group over the other. <strong>However</strong>, you should also consider that if you tweak the data representations, <strong>your model&#8217;s interpretability will decrease</strong>, especially if you run this process on many features for different protected groups. Only go with them if this is not a concern for your application.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!wHk7!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e493616-5652-4b84-ba75-ba0f87624d6c_800x240.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!wHk7!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e493616-5652-4b84-ba75-ba0f87624d6c_800x240.png 424w, https://substackcdn.com/image/fetch/$s_!wHk7!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e493616-5652-4b84-ba75-ba0f87624d6c_800x240.png 848w, https://substackcdn.com/image/fetch/$s_!wHk7!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e493616-5652-4b84-ba75-ba0f87624d6c_800x240.png 1272w, https://substackcdn.com/image/fetch/$s_!wHk7!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e493616-5652-4b84-ba75-ba0f87624d6c_800x240.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!wHk7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e493616-5652-4b84-ba75-ba0f87624d6c_800x240.png" width="606" height="181.8" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1e493616-5652-4b84-ba75-ba0f87624d6c_800x240.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:240,&quot;width&quot;:800,&quot;resizeWidth&quot;:606,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&#26426;&#22120;&#23398;&#20064;&#24120;&#29992;&#27169;&#22411;:&#20915;&#31574;&#26641;_fairmodels&#65306;&#35753;&#25105;&#20204;&#19982;&#26377;&#20559;&#35265;&#30340;&#26426;&#22120;&#23398;&#20064;&#27169;&#22411;&#20316;&#26007;&#20105;_weixin_26746401&#30340;&#21338;&#23458;-CSDN&#21338;&#23458;&quot;,&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="&#26426;&#22120;&#23398;&#20064;&#24120;&#29992;&#27169;&#22411;:&#20915;&#31574;&#26641;_fairmodels&#65306;&#35753;&#25105;&#20204;&#19982;&#26377;&#20559;&#35265;&#30340;&#26426;&#22120;&#23398;&#20064;&#27169;&#22411;&#20316;&#26007;&#20105;_weixin_26746401&#30340;&#21338;&#23458;-CSDN&#21338;&#23458;" title="&#26426;&#22120;&#23398;&#20064;&#24120;&#29992;&#27169;&#22411;:&#20915;&#31574;&#26641;_fairmodels&#65306;&#35753;&#25105;&#20204;&#19982;&#26377;&#20559;&#35265;&#30340;&#26426;&#22120;&#23398;&#20064;&#27169;&#22411;&#20316;&#26007;&#20105;_weixin_26746401&#30340;&#21338;&#23458;-CSDN&#21338;&#23458;" srcset="https://substackcdn.com/image/fetch/$s_!wHk7!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e493616-5652-4b84-ba75-ba0f87624d6c_800x240.png 424w, https://substackcdn.com/image/fetch/$s_!wHk7!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e493616-5652-4b84-ba75-ba0f87624d6c_800x240.png 848w, https://substackcdn.com/image/fetch/$s_!wHk7!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e493616-5652-4b84-ba75-ba0f87624d6c_800x240.png 1272w, https://substackcdn.com/image/fetch/$s_!wHk7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e493616-5652-4b84-ba75-ba0f87624d6c_800x240.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a><figcaption class="image-caption">Pre-processing &#8212; Disparate Impact Removal (Source: <a href="https://blog.csdn.net/weixin_26746401/article/details/108260035">blog</a>)</figcaption></figure></div><ul><li><p><strong>Identify the Root Cause:</strong> Sometimes, your bias comes from your &#8220;label.&#8221; For instance, if you have a classifier for &#8220;good candidate&#8221; vs. &#8220;bad candidate&#8221; based on approved candidates in interviews, you might carry the interviewers' bias. So, if historically, you favor one group over the others, the model will learn that trend too. In this case, even though the techniques presented here can help, it would be better to address the root cause &#8212; the bias the interviewers have.</p></li></ul><p></p><h1>Tools</h1><p>Alright. No one wants to implement those Fairness algorithms from scratch. I will list my favorite fairness tools here:</p><ul><li><p><strong><a href="https://aif360.readthedocs.io/en/stable/">aif360</a></strong>: Developed by IBM, it has the most used AI Fairness metrics and mitigation algorithms, both available in Python and R.</p></li><li><p><a href="https://github.com/microsoft/responsible-ai-toolbox">Responsible AI Toolbox</a>: developed by Microsoft, it has tools to identify, diagnose and mitigate fairness issues.</p></li><li><p><a href="https://github.com/fairlearn/fairlearn">Fairlearn</a>: Another project I used (scikit-fairness) merged with them. Their documentation has excellent explanations, and it also has metrics and mitigation techniques.</p></li><li><p><a href="https://github.com/tensorflow/fairness-indicators">Tensorflow Fairness Indicators</a>: If you are developing deep learning models with TensorFlow, this tool can easily integrate to provide your fairness metrics.</p></li><li><p><strong>Interpretability tools:</strong> such as <a href="https://github.com/slundberg/shap">SHAP</a>-values and <a href="https://github.com/marcotcr/lime">LIME</a>, can show which features are most relevant in your models, which can help in identifying potential fairness problems. I&#8217;ll dive deeper into interpretability in a future article.</p></li></ul><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.theoverfit.com/subscribe?&quot;,&quot;text&quot;:&quot;Inscrever-se agora&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.theoverfit.com/subscribe?"><span>Inscrever-se agora</span></a></p><p></p><h1>Conclusion</h1><p>I had the opportunity to face this challenge early on and then faced it again in different scenarios. Apart from the specific AI Fairness techniques, the most important thing is to remember that <strong>all we want is to ensure that the model does not carry undesirable bias</strong>. </p><p>Many businesses don&#8217;t care about this, but if you are a data scientist, I highly recommend you introduce this topic to your peers and measure the fairness of current models of your company to highlight whether there is a possible problem. Even if the businesses don&#8217;t mind, many will at least fear a backlash from regulators in their industry or the general public calling the company &#8220;discriminatory.&#8221;</p><p>Nevertheless, the approaches should depend highly on what you apply them to. For instance, if a Face Identification system struggles to identify one race over the other, you should look at the &#8220;Prediction Parity.&#8221; Instead of using the techniques I presented here, you could come up with something that works for this problem &#8212; such as adding more examples of the group with less accuracy to your training data.</p><p>In other cases, &#8220;fairness&#8221; might not make that much sense. Suppose you developed a disease-detecting model that uses the person's gender and age as features. In this case, there is no problem in using those features, as we are not favoring one group over the other; we are simply adding contextual information that improves the model for everyone (the biology of each impacts the disease-likelihood).</p><p>Many AI systems can drastically impact people&#8217;s lives. Please do your best to create them responsibly.</p><p>If you enjoyed it, subscribe. In future articles, I will cover other aspects of &#8220;Responsible AI&#8221; (such as privacy and security).</p><p></p><p></p><p></p>]]></content:encoded></item><item><title><![CDATA[ChatGPT: A Palatable Introduction]]></title><description><![CDATA[A Tasty Treat of Tech: ChatGPT, OpenAI and our future.]]></description><link>https://www.theoverfit.com/p/chatgpt-overview</link><guid isPermaLink="false">https://www.theoverfit.com/p/chatgpt-overview</guid><dc:creator><![CDATA[Felipe Lodur]]></dc:creator><pubDate>Wed, 01 Feb 2023 04:09:36 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/607ad2f8-1724-4c5b-a48e-5a5e9f1895af_420x300.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>Table of Contents</strong></p><ul><li><p><a href="https://www.theoverfit.com/i/99698593/the-beginning">The Beginning</a> (before ChatGPT)</p></li><li><p><a href="https://www.theoverfit.com/i/99698593/the-first-gpt">The First GPT</a> (understand its predecessors)</p></li><li><p><a href="https://www.theoverfit.com/i/99698593/finally-chatgpt">Finally, ChatGPT</a> (what are its intricacies?)</p></li><li><p><a href="https://www.theoverfit.com/i/99698593/limitations-and-applications">Limitations and Applications</a> (with examples)</p></li><li><p><a href="https://www.theoverfit.com/i/99698593/google-meta-and-microsoft">Google, Meta &amp; Microsoft</a> (are they in fear?)</p></li><li><p><a href="https://www.theoverfit.com/i/99698593/the-new-ai-startup-wave">The New AI Startup Wave</a> (what&#8217;s coming next?)</p></li><li><p><a href="https://www.theoverfit.com/i/99698593/will-ai-replace-all-jobs">Will AI replace all jobs?</a> (the future of work)</p></li><li><p><a href="https://www.theoverfit.com/i/99698593/conclusion">Conclusion</a> (written by ChatGPT)</p></li></ul><h1>The Beginning</h1><p><strong>Back in 2017</strong>, some researchers at google were studying how to empower machine learning models with the ability to learn context. Their efforts resulted in an incredible paper named &#8220;<a href="https://arxiv.org/abs/1706.03762">Attention is All You Need</a>,&#8221; in which they use this &#8220;attention mechanism&#8221; to describe the architecture we know as &#8220;Transformers.&#8221;</p><p><strong>In short</strong>, this work enabled neural networks to focus on specific parts of the input data while &#8216;ignoring&#8217; others. Humans tend to filter information to focus on what interests us (and not to be overwhelmed); this is pretty much what this architecture replicates.</p><p>Since then, many AI models have been created based on the Transformers architecture, especially in Natural Language Processing (noticeably for text data). All models from here on mentioned are also based on Transformers (including ChatGPT).</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Cls-!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c275869-ba5e-472e-a66c-da061adbfe84_1792x496.svg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Cls-!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c275869-ba5e-472e-a66c-da061adbfe84_1792x496.svg 424w, https://substackcdn.com/image/fetch/$s_!Cls-!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c275869-ba5e-472e-a66c-da061adbfe84_1792x496.svg 848w, https://substackcdn.com/image/fetch/$s_!Cls-!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c275869-ba5e-472e-a66c-da061adbfe84_1792x496.svg 1272w, https://substackcdn.com/image/fetch/$s_!Cls-!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c275869-ba5e-472e-a66c-da061adbfe84_1792x496.svg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Cls-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c275869-ba5e-472e-a66c-da061adbfe84_1792x496.svg" width="1456" height="403" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0c275869-ba5e-472e-a66c-da061adbfe84_1792x496.svg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:403,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;A brief chronology of Transformers models.&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 brief chronology of Transformers models." title="A brief chronology of Transformers models." srcset="https://substackcdn.com/image/fetch/$s_!Cls-!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c275869-ba5e-472e-a66c-da061adbfe84_1792x496.svg 424w, https://substackcdn.com/image/fetch/$s_!Cls-!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c275869-ba5e-472e-a66c-da061adbfe84_1792x496.svg 848w, https://substackcdn.com/image/fetch/$s_!Cls-!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c275869-ba5e-472e-a66c-da061adbfe84_1792x496.svg 1272w, https://substackcdn.com/image/fetch/$s_!Cls-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c275869-ba5e-472e-a66c-da061adbfe84_1792x496.svg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Transformer Models. (Source: <a href="https://huggingface.co/course/chapter1/4?fw=pt">HuggingFace</a>)</figcaption></figure></div><p> </p><h1>The First GPT</h1><p>As you can see in the image above, it was a long ride. Before 2018, most models were trained for specific tasks (such as question answering, sentiment classification, etc.). </p><p>This changed with the &#8220;<a href="https://cdn.openai.com/research-covers/language-unsupervised/language_understanding_paper.pdf">first GPT</a>&#8221; introduced by OpenAI, which proposed a <strong>G</strong>enerative <strong>P</strong>re-training <strong>T</strong>ransformer (that&#8217;s why &#8220;GPT&#8221;) process: the model should first learn from &#8220;any text&#8221; (without a task in mind), to only then get fine-tuned to a specific task.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Sigg!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2a82538-24b7-4f70-b877-974689f564d0_1558x520.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Sigg!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2a82538-24b7-4f70-b877-974689f564d0_1558x520.png 424w, https://substackcdn.com/image/fetch/$s_!Sigg!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2a82538-24b7-4f70-b877-974689f564d0_1558x520.png 848w, https://substackcdn.com/image/fetch/$s_!Sigg!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2a82538-24b7-4f70-b877-974689f564d0_1558x520.png 1272w, https://substackcdn.com/image/fetch/$s_!Sigg!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2a82538-24b7-4f70-b877-974689f564d0_1558x520.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Sigg!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2a82538-24b7-4f70-b877-974689f564d0_1558x520.png" width="700" height="233.65384615384616" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a2a82538-24b7-4f70-b877-974689f564d0_1558x520.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:486,&quot;width&quot;:1456,&quot;resizeWidth&quot;:700,&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_!Sigg!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2a82538-24b7-4f70-b877-974689f564d0_1558x520.png 424w, https://substackcdn.com/image/fetch/$s_!Sigg!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2a82538-24b7-4f70-b877-974689f564d0_1558x520.png 848w, https://substackcdn.com/image/fetch/$s_!Sigg!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2a82538-24b7-4f70-b877-974689f564d0_1558x520.png 1272w, https://substackcdn.com/image/fetch/$s_!Sigg!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2a82538-24b7-4f70-b877-974689f564d0_1558x520.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a><figcaption class="image-caption">Simplified flow of the Generative Pre-Training Process (Souce: The Overfit)</figcaption></figure></div><p>Now that a model could learn by using &#8220;unlabeled data,&#8221; we could feed massive datasets during pre-training. This approach resulted in the model needing fewer examples during the fine-tuning step to learn a specific task than predecessors. </p><p></p><h1>Finally, ChatGPT</h1><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!55kw!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b0df65d-9cba-47e3-96ff-d98fa5536834_600x390.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!55kw!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b0df65d-9cba-47e3-96ff-d98fa5536834_600x390.jpeg 424w, https://substackcdn.com/image/fetch/$s_!55kw!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b0df65d-9cba-47e3-96ff-d98fa5536834_600x390.jpeg 848w, https://substackcdn.com/image/fetch/$s_!55kw!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b0df65d-9cba-47e3-96ff-d98fa5536834_600x390.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!55kw!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b0df65d-9cba-47e3-96ff-d98fa5536834_600x390.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!55kw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b0df65d-9cba-47e3-96ff-d98fa5536834_600x390.jpeg" width="600" height="390" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3b0df65d-9cba-47e3-96ff-d98fa5536834_600x390.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:390,&quot;width&quot;:600,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;ChatGPT: entenda como funciona o chatbot 'sabe-tudo' da OpenAI | Internet |  TechTudo&quot;,&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="ChatGPT: entenda como funciona o chatbot 'sabe-tudo' da OpenAI | Internet |  TechTudo" title="ChatGPT: entenda como funciona o chatbot 'sabe-tudo' da OpenAI | Internet |  TechTudo" srcset="https://substackcdn.com/image/fetch/$s_!55kw!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b0df65d-9cba-47e3-96ff-d98fa5536834_600x390.jpeg 424w, https://substackcdn.com/image/fetch/$s_!55kw!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b0df65d-9cba-47e3-96ff-d98fa5536834_600x390.jpeg 848w, https://substackcdn.com/image/fetch/$s_!55kw!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b0df65d-9cba-47e3-96ff-d98fa5536834_600x390.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!55kw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b0df65d-9cba-47e3-96ff-d98fa5536834_600x390.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Even though many other models were introduced after the first GPT, most of the basis remained the same. However, in each iteration, they started to increase the model architecture (which makes it harder to train &#8212; more examples, more costly)</p><ul><li><p>GPT-1 had 117 million params, trained on ~5GB dataset, est. U$500 training</p></li><li><p>GPT-2 had 1.2 billion params, trained on ~40GB dataset est. U$43k training</p></li><li><p>GPT-3 had 175 billion params, trained on ~45TB dataset, est. U$4.6M training</p></li></ul><p>GPT-3 is the latest &#8220;family&#8221; of models from OpenAI, and ChatGPT is simply a variant of this GPT-3 fine-tuned on the &#8220;dialogue&#8221; task (chatting). </p><p>Ta-dah! This is the history of ChatGPT. Hopefully, it is clear that, even though the media is blowing up with news about ChatGPT, it resulted from a continual effort to learn how to train larger models more effectively. </p><p>All these big models are also known as &#8220;Large Language Models&#8221; (LLMs).</p><p>But hold on! I will get to its applications and limitations.</p><p></p><div class="pullquote"><p><strong>Quick disclaimer:</strong> There WERE model architecture and training changes in each version, and I will not mention them for simplicity. Nevertheless, those  changes are irrelevant to most of us to differentiate the models now.</p></div><p></p><h1>Limitations and Applications</h1><p>I started using ChatGPT when it launched because I already had an invite (I previously used GPT-3 and DALL-E). My main tip is to provide specific prompts to receive unique answers. Otherwise, results can look generic.</p><p>For instance, instead of &#8220;Ideas of Data Science articles,&#8221; scoping it down to &#8220;Ideas of Data Science Articles for the General Public, focusing on tools, in a funny-style.&#8221; provides less-generic results.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Y48s!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae0adbd1-76d4-458e-920a-3af0197fa9ed_774x318.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Y48s!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae0adbd1-76d4-458e-920a-3af0197fa9ed_774x318.png 424w, https://substackcdn.com/image/fetch/$s_!Y48s!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae0adbd1-76d4-458e-920a-3af0197fa9ed_774x318.png 848w, https://substackcdn.com/image/fetch/$s_!Y48s!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae0adbd1-76d4-458e-920a-3af0197fa9ed_774x318.png 1272w, https://substackcdn.com/image/fetch/$s_!Y48s!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae0adbd1-76d4-458e-920a-3af0197fa9ed_774x318.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Y48s!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae0adbd1-76d4-458e-920a-3af0197fa9ed_774x318.png" width="774" height="318" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ae0adbd1-76d4-458e-920a-3af0197fa9ed_774x318.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:318,&quot;width&quot;:774,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:80038,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Y48s!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae0adbd1-76d4-458e-920a-3af0197fa9ed_774x318.png 424w, https://substackcdn.com/image/fetch/$s_!Y48s!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae0adbd1-76d4-458e-920a-3af0197fa9ed_774x318.png 848w, https://substackcdn.com/image/fetch/$s_!Y48s!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae0adbd1-76d4-458e-920a-3af0197fa9ed_774x318.png 1272w, https://substackcdn.com/image/fetch/$s_!Y48s!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae0adbd1-76d4-458e-920a-3af0197fa9ed_774x318.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Prompt Comparison in ChatGPT</figcaption></figure></div><h4><strong>Limitations</strong></h4><ul><li><p><strong>Frozen in Time:</strong> After the model is trained, it can only refer to the knowledge obtained with the training dataset. Therefore, new information that can appear (e.g., news on the internet) will be alien to it. So it does not provide some utility that other more basic virtual assistants do.</p></li><li><p><strong>Dialogue-limited Context:</strong> Although you can refer to what was previously mentioned in the chat, it cannot consider other contextual information (previous searches, location, response time, etc.)</p></li><li><p><strong>Correctness:</strong> Because it&#8217;s a language model, it generates text based on the probability of word co-occurrences given the prompts. In the end, it is not trying to provide the correct info, so it would instead give a &#8220;convincing but incorrect&#8221; answer over a not convincing but accurate answer. This is why correction like the one below happens.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ucPK!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F24bfaa4a-531e-4e3d-8883-56ab27533a7d_792x317.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ucPK!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F24bfaa4a-531e-4e3d-8883-56ab27533a7d_792x317.png 424w, https://substackcdn.com/image/fetch/$s_!ucPK!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F24bfaa4a-531e-4e3d-8883-56ab27533a7d_792x317.png 848w, https://substackcdn.com/image/fetch/$s_!ucPK!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F24bfaa4a-531e-4e3d-8883-56ab27533a7d_792x317.png 1272w, https://substackcdn.com/image/fetch/$s_!ucPK!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F24bfaa4a-531e-4e3d-8883-56ab27533a7d_792x317.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ucPK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F24bfaa4a-531e-4e3d-8883-56ab27533a7d_792x317.png" width="560" height="224.14141414141415" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/24bfaa4a-531e-4e3d-8883-56ab27533a7d_792x317.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:317,&quot;width&quot;:792,&quot;resizeWidth&quot;:560,&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_!ucPK!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F24bfaa4a-531e-4e3d-8883-56ab27533a7d_792x317.png 424w, https://substackcdn.com/image/fetch/$s_!ucPK!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F24bfaa4a-531e-4e3d-8883-56ab27533a7d_792x317.png 848w, https://substackcdn.com/image/fetch/$s_!ucPK!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F24bfaa4a-531e-4e3d-8883-56ab27533a7d_792x317.png 1272w, https://substackcdn.com/image/fetch/$s_!ucPK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F24bfaa4a-531e-4e3d-8883-56ab27533a7d_792x317.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div></li></ul><p></p><h4><strong>My favorite Applications</strong></h4><ul><li><p><strong>Brainstorming:</strong> ChatGPT can apply general frameworks to provide insightful examples if you get specific about what you want. (e.g., list ideas for a youtube video title regarding X)</p></li><li><p><strong>Summarization:</strong> Either to summarize a topic or a concept, ChatGPT can give good answers to things such as &#8220;Explain Quantum Physics like I am 5 years old&#8221;. Still, you should be careful as sometimes the explanations are incorrect (as explained above) &#8212; double-check them.</p></li><li><p><strong>Boilerplate:</strong> It can provide an excellent boilerplate code. Generally, it still has many issues spitting out incomplete or incorrect code, so I would not recommend a &#8220;copy and paste&#8221; approach. But it can save time by giving you the overall structure.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!PPWo!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91bf74a7-35e5-4933-8c96-6e77e56231b7_601x838.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!PPWo!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91bf74a7-35e5-4933-8c96-6e77e56231b7_601x838.png 424w, https://substackcdn.com/image/fetch/$s_!PPWo!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91bf74a7-35e5-4933-8c96-6e77e56231b7_601x838.png 848w, https://substackcdn.com/image/fetch/$s_!PPWo!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91bf74a7-35e5-4933-8c96-6e77e56231b7_601x838.png 1272w, https://substackcdn.com/image/fetch/$s_!PPWo!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91bf74a7-35e5-4933-8c96-6e77e56231b7_601x838.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!PPWo!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91bf74a7-35e5-4933-8c96-6e77e56231b7_601x838.png" width="601" height="838" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/91bf74a7-35e5-4933-8c96-6e77e56231b7_601x838.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:838,&quot;width&quot;:601,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:70523,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!PPWo!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91bf74a7-35e5-4933-8c96-6e77e56231b7_601x838.png 424w, https://substackcdn.com/image/fetch/$s_!PPWo!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91bf74a7-35e5-4933-8c96-6e77e56231b7_601x838.png 848w, https://substackcdn.com/image/fetch/$s_!PPWo!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91bf74a7-35e5-4933-8c96-6e77e56231b7_601x838.png 1272w, https://substackcdn.com/image/fetch/$s_!PPWo!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91bf74a7-35e5-4933-8c96-6e77e56231b7_601x838.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p></p><h1>Google, Meta &amp; Microsoft</h1><p>Let me correct the public perception that only OpenAI is behind this and that every other company is lost. First, much of the research basis comes from other AI Labs, and secondly, they have even released similar products:</p><ul><li><p><a href="https://blog.google/technology/ai/lamda/">LaMDA</a> by Google</p></li><li><p><a href="https://blenderbot.ai/">Blenderbot</a> by Meta</p></li><li><p>And Microsoft has a long-term <a href="https://blogs.microsoft.com/blog/2023/01/23/microsoftandopenaiextendpartnership/">partnership with OpenAI</a>.</p></li></ul><p>Notably, Big Techs are part of this revolution. Google is the one that started the foundation for Transformers back in 2017. Meta is the one that created PyTorch, the framework OpenAI and others use to build these LLMs. So, we shouldn&#8217;t disregard their contributions.</p><p>At the same time, it is undeniable that ChatGPT's strategy worked to grab a ton of media attention. In contrast, LaMBDA and Blenderbot were considered &#8220;more boring&#8221; when released, which is possibly correlated with those companies trying to be conservative when publishing a new AI that people could use in malicious ways (Google and Meta already have sort of image issues regarding data privacy and so on, so they take this seriously)</p><p>If we look at ChatGPT, when it launched, it was straightforward to try to &#8220;list potential websites to exploit&#8221; and &#8220;write a code to exploit a vulnerability, X.&#8221; Now they are already correcting this issue, trying to avoid some of those malicious prompts.</p><p>ChatGPT made everyone realize that this tech is valuable and should be part of our future. I am excited to see what these companies will release this year, and I will cover each of them as they release in this Newsletter.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.theoverfit.com/subscribe?&quot;,&quot;text&quot;:&quot;Inscrever-se agora&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.theoverfit.com/subscribe?"><span>Inscrever-se agora</span></a></p><p></p><h1>The New AI Startup Wave </h1><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!sRzn!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc142f68b-d082-4180-b7c4-154f6343be6a_2884x2164.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!sRzn!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc142f68b-d082-4180-b7c4-154f6343be6a_2884x2164.png 424w, https://substackcdn.com/image/fetch/$s_!sRzn!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc142f68b-d082-4180-b7c4-154f6343be6a_2884x2164.png 848w, https://substackcdn.com/image/fetch/$s_!sRzn!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc142f68b-d082-4180-b7c4-154f6343be6a_2884x2164.png 1272w, https://substackcdn.com/image/fetch/$s_!sRzn!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc142f68b-d082-4180-b7c4-154f6343be6a_2884x2164.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!sRzn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc142f68b-d082-4180-b7c4-154f6343be6a_2884x2164.png" width="1456" height="1093" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c142f68b-d082-4180-b7c4-154f6343be6a_2884x2164.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1093,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;AI 100: The most promising artificial intelligence startups of 2022 - CB  Insights Research&quot;,&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="AI 100: The most promising artificial intelligence startups of 2022 - CB  Insights Research" title="AI 100: The most promising artificial intelligence startups of 2022 - CB  Insights Research" srcset="https://substackcdn.com/image/fetch/$s_!sRzn!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc142f68b-d082-4180-b7c4-154f6343be6a_2884x2164.png 424w, https://substackcdn.com/image/fetch/$s_!sRzn!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc142f68b-d082-4180-b7c4-154f6343be6a_2884x2164.png 848w, https://substackcdn.com/image/fetch/$s_!sRzn!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc142f68b-d082-4180-b7c4-154f6343be6a_2884x2164.png 1272w, https://substackcdn.com/image/fetch/$s_!sRzn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc142f68b-d082-4180-b7c4-154f6343be6a_2884x2164.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">100 Most promising AI Startups in 2022 according to <a href="https://www.cbinsights.com/research/report/artificial-intelligence-top-startups-2022/">CBINSIGHTS</a>.</figcaption></figure></div><p>OpenAI launched the &#8220;<a href="https://openai.fund/about">OpenAI Startup Fund</a>,&#8221; in which they have allocated $100M to invest in AI-based startups, supporting them with their released tech. So far, they have invested in the following companies:</p><ul><li><p><a href="https://www.descript.com/">Descript</a>: Using AI for video editing &#8212; as simple as editing a text document. </p></li><li><p><a href="https://harvey.ai/">Harvey</a>: AI for Legal Workflows (research, drafting, analysis, comms, etc.) </p></li><li><p><a href="https://get.mem.ai/">Mem</a>: Self-organizing workspace, connecting notes, meetings, and more.</p></li><li><p><a href="https://www.speak.com/">Speak</a>: AI tutor to teach languages (pronunciation, grammar, vocabulary, etc.)</p></li></ul><p>Of course, many other AI-focused startups are out there, and I expect many more to surge this year and the following.</p><p>Even for companies not focused on AI, I can see many pivoting to make it a focus, and it will look like a race of &#8220;who will be the AI leader in each field?&#8221; (e.g., video editing, music generation, art, etc.)</p><p></p><h1>Will AI replace all jobs?</h1><p>As I&#8217;ve demonstrated in this article, AI still has a long way to go to provide near-perfect output that would justify replacing someone. ChatGPT is heavily dependent on prompt design (how you formulate the question) and currently can only output text, not actions (to run a generated code, for instance, you would need to set the environment up yourself). Therefore, it is far away from being an end-to-end tool.</p><p>Nevertheless, some of those issues will be solved with time. Will it then replace our jobs? I don&#8217;t think so. But it can for sure change the way we work. For instance, most straightforward parts could be automatically generated instead of developers writing code from scratch. Then the developer would only need to tune the more complex functions. Another example would be a financial analyst using these technologies to create code that automates part of his workflow. </p><p>The possibilities are endless, but I believe in a world where it will enhance our capabilities, not make them useless.</p><p>Below is my response to: &#8220;<strong>could ChatGPT and Midjourney replace the average UI/UX designer?&#8221;</strong></p><div class="twitter-embed" data-attrs="{&quot;url&quot;:&quot;https://twitter.com/felipelodur/status/1618648543459409922?ref_src=twsrc%5Etfw\&quot;>January&quot;,&quot;full_text&quot;:&quot;<span class=\&quot;tweet-fake-link\&quot;>@phteocos</span> My take: those tools can make many tasks easier for non-specialists, creating more horizontal professionals. Instead of focusing just on UI/UX, the push would be stronger toward \&quot;digital product specialists\&quot;, using those tools to empower their work (code, design, planning)&quot;,&quot;username&quot;:&quot;felipelodur&quot;,&quot;name&quot;:&quot;Felipe Lodur&quot;,&quot;profile_image_url&quot;:&quot;&quot;,&quot;date&quot;:&quot;Thu Jan 26 16:34:20 +0000 2023&quot;,&quot;photos&quot;:[],&quot;quoted_tweet&quot;:{},&quot;reply_count&quot;:0,&quot;retweet_count&quot;:0,&quot;like_count&quot;:1,&quot;impression_count&quot;:0,&quot;expanded_url&quot;:{},&quot;video_url&quot;:null,&quot;belowTheFold&quot;:true}" data-component-name="Twitter2ToDOM"></div><p>And I think that is true for most professionals. We will replace less creative and repetitive tasks with AI capabilities, whether writing boilerplate code, scheduling a haircut, or driving a car.</p><p></p><h1>Conclusion</h1><p>If you want to play with ChatGPT, you can access <a href="https://chat.openai.com/">chat.openai.com</a> to create an account. The free version works very well, and the paid includes better availability, faster responses, and access to new features first. I would only recommend subscribing after using the free version for a while and identifying it as a vital part of your workflow.</p><p>Finally, I asked ChatGPT to write my outro:</p><blockquote><p>"In conclusion, ChatGPT is a technological marvel that will have you asking questions left and right, just to see what clever responses it will come up with next. So go ahead, strike up a conversation with ChatGPT and watch as it wows you with its wit and wisdom. Who needs human friends when you have a language model, right? &#129315; And if you want to stay up to date with the latest developments in AI and other tech advancements, don't forget to subscribe to The Overfit Newsletter! &#128231;"</p></blockquote>]]></content:encoded></item><item><title><![CDATA[Layoffs, ChatGPT, Research Picks, AI Summit]]></title><description><![CDATA[Why are layoffs happening? What is going on with ChatGPT? In this issue, I cover the most prominent topics in the tech and AI field in January 2023.]]></description><link>https://www.theoverfit.com/p/ensemble-1-layoffs-chat-gpt-research</link><guid isPermaLink="false">https://www.theoverfit.com/p/ensemble-1-layoffs-chat-gpt-research</guid><dc:creator><![CDATA[Felipe Lodur]]></dc:creator><pubDate>Wed, 25 Jan 2023 16:02:23 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/6f3171ae-7c9e-4378-8655-9720a1295312_420x300.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="pullquote"><p><em><strong>Ensemble</strong> is a monthly issue from The Overfit, aggregating the most relevant updates in the Data Science &amp; AI industry for the given month, always with some personal takes on &#8220;why is this happening?&#8221; and &#8220;what will happen next?&#8221;</em></p></div><h2>Layoffs</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!87nP!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a9ec9f2-6315-4d69-b9c8-c052054858e9_895x332.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!87nP!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a9ec9f2-6315-4d69-b9c8-c052054858e9_895x332.png 424w, https://substackcdn.com/image/fetch/$s_!87nP!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a9ec9f2-6315-4d69-b9c8-c052054858e9_895x332.png 848w, https://substackcdn.com/image/fetch/$s_!87nP!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a9ec9f2-6315-4d69-b9c8-c052054858e9_895x332.png 1272w, https://substackcdn.com/image/fetch/$s_!87nP!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a9ec9f2-6315-4d69-b9c8-c052054858e9_895x332.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!87nP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a9ec9f2-6315-4d69-b9c8-c052054858e9_895x332.png" width="895" height="332" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6a9ec9f2-6315-4d69-b9c8-c052054858e9_895x332.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:332,&quot;width&quot;:895,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:24321,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!87nP!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a9ec9f2-6315-4d69-b9c8-c052054858e9_895x332.png 424w, https://substackcdn.com/image/fetch/$s_!87nP!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a9ec9f2-6315-4d69-b9c8-c052054858e9_895x332.png 848w, https://substackcdn.com/image/fetch/$s_!87nP!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a9ec9f2-6315-4d69-b9c8-c052054858e9_895x332.png 1272w, https://substackcdn.com/image/fetch/$s_!87nP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a9ec9f2-6315-4d69-b9c8-c052054858e9_895x332.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption"># of Employees affected by Layoffs  (Source: <a href="https://layoffs.fyi/">Layoffs.fyi</a>)</figcaption></figure></div><p>Last year, the tech industry had some notable layoffs. Many people thought the layoff waves would stop already, but January came hard with many big layoffs:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!pADD!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F12a18044-0ec8-4ad1-8197-32683c3cab07_1080x1350.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!pADD!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F12a18044-0ec8-4ad1-8197-32683c3cab07_1080x1350.png 424w, https://substackcdn.com/image/fetch/$s_!pADD!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F12a18044-0ec8-4ad1-8197-32683c3cab07_1080x1350.png 848w, https://substackcdn.com/image/fetch/$s_!pADD!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F12a18044-0ec8-4ad1-8197-32683c3cab07_1080x1350.png 1272w, https://substackcdn.com/image/fetch/$s_!pADD!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F12a18044-0ec8-4ad1-8197-32683c3cab07_1080x1350.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!pADD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F12a18044-0ec8-4ad1-8197-32683c3cab07_1080x1350.png" width="362" height="452.5" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/12a18044-0ec8-4ad1-8197-32683c3cab07_1080x1350.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1350,&quot;width&quot;:1080,&quot;resizeWidth&quot;:362,&quot;bytes&quot;:197680,&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;: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_!pADD!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F12a18044-0ec8-4ad1-8197-32683c3cab07_1080x1350.png 424w, https://substackcdn.com/image/fetch/$s_!pADD!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F12a18044-0ec8-4ad1-8197-32683c3cab07_1080x1350.png 848w, https://substackcdn.com/image/fetch/$s_!pADD!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F12a18044-0ec8-4ad1-8197-32683c3cab07_1080x1350.png 1272w, https://substackcdn.com/image/fetch/$s_!pADD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F12a18044-0ec8-4ad1-8197-32683c3cab07_1080x1350.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Aggregation of most significant layoffs happening January 2023</figcaption></figure></div><p></p><p><strong>Why are layoffs happening? My personal view:</strong></p><ul><li><p><strong>Tough past year:</strong> 2022 was the worst year for the U.S. stock market since the 2008 crisis. You can see in the image below a visualization of 2022 market changes. Except for the energy and healthcare sectors, every other industry took a big hit. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ZIzU!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c85074f-ce20-4c1c-bba1-02910b2250a4_1200x668.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ZIzU!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c85074f-ce20-4c1c-bba1-02910b2250a4_1200x668.png 424w, https://substackcdn.com/image/fetch/$s_!ZIzU!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c85074f-ce20-4c1c-bba1-02910b2250a4_1200x668.png 848w, https://substackcdn.com/image/fetch/$s_!ZIzU!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c85074f-ce20-4c1c-bba1-02910b2250a4_1200x668.png 1272w, https://substackcdn.com/image/fetch/$s_!ZIzU!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c85074f-ce20-4c1c-bba1-02910b2250a4_1200x668.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ZIzU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c85074f-ce20-4c1c-bba1-02910b2250a4_1200x668.png" width="1200" height="668" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6c85074f-ce20-4c1c-bba1-02910b2250a4_1200x668.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:668,&quot;width&quot;:1200,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:712685,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ZIzU!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c85074f-ce20-4c1c-bba1-02910b2250a4_1200x668.png 424w, https://substackcdn.com/image/fetch/$s_!ZIzU!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c85074f-ce20-4c1c-bba1-02910b2250a4_1200x668.png 848w, https://substackcdn.com/image/fetch/$s_!ZIzU!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c85074f-ce20-4c1c-bba1-02910b2250a4_1200x668.png 1272w, https://substackcdn.com/image/fetch/$s_!ZIzU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c85074f-ce20-4c1c-bba1-02910b2250a4_1200x668.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">2022 US Market (Source: <a href="https://www.visualcapitalist.com/best-and-worst-performing-us-stock-market-sectors-2022/">Visual Capitalist</a>)</figcaption></figure></div><p></p></li><li><p><strong>Uncertainty:</strong> Historically, high inflation + FED increasing interest rates result in recessions, which is why many economists believe one will happen in 2023. With that, companies and investors try to be more conservative, which makes getting funding more challenging (for growth projects &#8212; both in a startup and in larger companies), reducing growth expectations for the following year. On top of all that, we have political issues that we cannot predict when they will end, such as the Ukraine-Russia conflict. </p><p></p></li><li><p><strong>Predictions:</strong> Given the tough past year, uncertainty, and less accessible funding, companies are compelled to make conservative estimations for 2023 by their shareholders. This requires companies to adjust their headcounts to maintain desired profit-to-cost / profit-to-staff ratios, avoiding a more significant impact in the case of an economic downturn, which finally results in layoffs, hiring freezes, or at least employee growth reduction.</p><p></p></li><li><p><strong>Herd mentality:</strong> Last but not least, professor Jeffrey Pfeffer attributes the recent layoffs as a &#8220;social contagion&#8221; (<a href="https://news.stanford.edu/2022/12/05/explains-recent-tech-layoffs-worried/">source</a>). As companies see others doing it, they feel compelled to follow. In my view, it combines this &#8220;mentality&#8221; with everything mentioned above, as the &#8220;uncertainty&#8221; for the next year has some logic and emotion behind it &#8212; behavioral economics in action.</p><p></p></li></ul><p><strong>Microsoft Example:</strong> </p><ul><li><p><strong>Why Microsoft is considered odd:</strong> Microsoft is one company that surprised many with its layoff. The company is currently at an all-time profit high, and its <strong>revenue distribution</strong> is better than other big tech companies (such as Meta, with 97% of revenue coming from ads), with products such as Azure (31.3%), Office (23.7%), Windows (13.8%), etc.</p></li><li><p><strong>Priority Hypothesis:</strong> In the layoff e-mail, Satya Nadella (Microsoft CEO) said they would &#8220;continue to hire in key strategic areas.&#8221; This indicates that they might shift priorities during 2023, shutting down some initiatives that will no longer require employees while focusing on others.</p></li><li><p><strong>Overestimation Hypothesis:</strong> Let&#8217;s look at employee growth at Microsoft: 9.92% in 2019, 13.19% in 2020, 11.04% in 2021, and 22.1% in 2022 (note the spike). Whereas, in gross profit growth, Microsoft had: 16.89% in 2019, 19.52% in 2020, and 17.06% in 2021. This indicates that they expected more growth during 2022 and decided to make more conservative estimates for the next year, given the market uncertainty and potential business priority changes, as mentioned before.</p></li></ul><p>(even though there might be a priority change, the overestimation hypothesis is less farfetched for me, given the solidity of Microsoft&#8217;s business &#8212; closing one small project or another would not make such a significant difference in HC)</p><p></p><p><strong>Despite all this,</strong> out of the laid-off people, "72 percent have found new jobs within three months. Even more surprising, a little over half of them have landed roles that pay more than what they were earning in the jobs they lost" (<a href="https://www.inc.com/jessica-stillman/dont-feel-too-bad-for-laid-off-tech-workers-more-than-half-end-up-earning-more-in-their-next-job.html">source</a>)</p><p></p><p><strong>Will this continue?</strong> I expect layoffs to continue, especially during February (as it matches the budgeting cycle for some companies). We will likely only recover from this scenario after the market uncertainty declines significantly and companies can get more confident in their growth.</p><p></p><h2>ChatGPT</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ST49!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1093818b-2c69-4644-8fa1-47d1e03ed2f5_1200x602.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ST49!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1093818b-2c69-4644-8fa1-47d1e03ed2f5_1200x602.png 424w, https://substackcdn.com/image/fetch/$s_!ST49!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1093818b-2c69-4644-8fa1-47d1e03ed2f5_1200x602.png 848w, https://substackcdn.com/image/fetch/$s_!ST49!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1093818b-2c69-4644-8fa1-47d1e03ed2f5_1200x602.png 1272w, https://substackcdn.com/image/fetch/$s_!ST49!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1093818b-2c69-4644-8fa1-47d1e03ed2f5_1200x602.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ST49!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1093818b-2c69-4644-8fa1-47d1e03ed2f5_1200x602.png" width="1200" height="602" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1093818b-2c69-4644-8fa1-47d1e03ed2f5_1200x602.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:602,&quot;width&quot;:1200,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;ChatGPT &#8211; Wikip&#233;dia, a enciclop&#233;dia livre&quot;,&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="ChatGPT &#8211; Wikip&#233;dia, a enciclop&#233;dia livre" title="ChatGPT &#8211; Wikip&#233;dia, a enciclop&#233;dia livre" srcset="https://substackcdn.com/image/fetch/$s_!ST49!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1093818b-2c69-4644-8fa1-47d1e03ed2f5_1200x602.png 424w, https://substackcdn.com/image/fetch/$s_!ST49!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1093818b-2c69-4644-8fa1-47d1e03ed2f5_1200x602.png 848w, https://substackcdn.com/image/fetch/$s_!ST49!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1093818b-2c69-4644-8fa1-47d1e03ed2f5_1200x602.png 1272w, https://substackcdn.com/image/fetch/$s_!ST49!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1093818b-2c69-4644-8fa1-47d1e03ed2f5_1200x602.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Screenshot of ChatGPT interface (You can access it <a href="https://chat.openai.com/">here</a>)</figcaption></figure></div><p><strong>What is it?</strong> ChatGPT is a large language model that is trained to generate human-like text. It can be used for a variety of natural language processing tasks such as language translation, text summarization, and question answering. It is trained using a variant of the GPT (Generative Pre-training Transformer) architecture and is fine-tuned for specific tasks using additional training data. </p><p><em>(ChatGPT generated the above description)</em></p><p>This technology, released by OpenAI, caught a lot of attention &#8212; <strong>one million users within a week of its launch &#8212; </strong>because it provides excellent responses to many prompts, and it made <a href="https://www.theverge.com/2023/1/20/23563851/google-search-ai-chatbot-demo-chatgpt">the public pressure Google</a> to show advances to their search engine in similar ways. </p><p>Still, there are many limitations to ChatGPT. For instance, it will agree when given a misleading prompt:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ucPK!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F24bfaa4a-531e-4e3d-8883-56ab27533a7d_792x317.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ucPK!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F24bfaa4a-531e-4e3d-8883-56ab27533a7d_792x317.png 424w, https://substackcdn.com/image/fetch/$s_!ucPK!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F24bfaa4a-531e-4e3d-8883-56ab27533a7d_792x317.png 848w, https://substackcdn.com/image/fetch/$s_!ucPK!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F24bfaa4a-531e-4e3d-8883-56ab27533a7d_792x317.png 1272w, https://substackcdn.com/image/fetch/$s_!ucPK!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F24bfaa4a-531e-4e3d-8883-56ab27533a7d_792x317.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ucPK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F24bfaa4a-531e-4e3d-8883-56ab27533a7d_792x317.png" width="792" height="317" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/24bfaa4a-531e-4e3d-8883-56ab27533a7d_792x317.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:317,&quot;width&quot;:792,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:17655,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ucPK!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F24bfaa4a-531e-4e3d-8883-56ab27533a7d_792x317.png 424w, https://substackcdn.com/image/fetch/$s_!ucPK!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F24bfaa4a-531e-4e3d-8883-56ab27533a7d_792x317.png 848w, https://substackcdn.com/image/fetch/$s_!ucPK!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F24bfaa4a-531e-4e3d-8883-56ab27533a7d_792x317.png 1272w, https://substackcdn.com/image/fetch/$s_!ucPK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F24bfaa4a-531e-4e3d-8883-56ab27533a7d_792x317.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>In the example below, I asked it to generate code to monitor concept drift, and it generated some code that &#8220;makes sense&#8221;; However, i) it does not follow &#8220;best practices&#8221; for detecting concept drift; ii) some critical parts are left out, such as the &#8220;handle_drift&#8221; function; iii) It is not functional, as the threshold variable was never declared (is it global?). </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Ydvx!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f63b518-7fcc-40c9-9130-72faea2b7dd3_552x819.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Ydvx!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f63b518-7fcc-40c9-9130-72faea2b7dd3_552x819.png 424w, https://substackcdn.com/image/fetch/$s_!Ydvx!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f63b518-7fcc-40c9-9130-72faea2b7dd3_552x819.png 848w, https://substackcdn.com/image/fetch/$s_!Ydvx!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f63b518-7fcc-40c9-9130-72faea2b7dd3_552x819.png 1272w, https://substackcdn.com/image/fetch/$s_!Ydvx!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f63b518-7fcc-40c9-9130-72faea2b7dd3_552x819.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Ydvx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f63b518-7fcc-40c9-9130-72faea2b7dd3_552x819.png" width="552" height="819" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5f63b518-7fcc-40c9-9130-72faea2b7dd3_552x819.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:819,&quot;width&quot;:552,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:58666,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Ydvx!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f63b518-7fcc-40c9-9130-72faea2b7dd3_552x819.png 424w, https://substackcdn.com/image/fetch/$s_!Ydvx!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f63b518-7fcc-40c9-9130-72faea2b7dd3_552x819.png 848w, https://substackcdn.com/image/fetch/$s_!Ydvx!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f63b518-7fcc-40c9-9130-72faea2b7dd3_552x819.png 1272w, https://substackcdn.com/image/fetch/$s_!Ydvx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f63b518-7fcc-40c9-9130-72faea2b7dd3_552x819.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption"></figcaption></figure></div><p>Still, with more guidance and some tweaks, it can generate useful code (at least to serve as a quick start), especially for more straightforward, well-defined tasks.</p><p></p><p>Finally, OpenAI announced the transition from 100% free to a freemium business model, in which you pay $42 a month for higher availability, response speed, and access to new features.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Llzi!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fec34d7d8-f478-42b1-9214-f4ef1f37f6e7_400x197.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Llzi!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fec34d7d8-f478-42b1-9214-f4ef1f37f6e7_400x197.png 424w, https://substackcdn.com/image/fetch/$s_!Llzi!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fec34d7d8-f478-42b1-9214-f4ef1f37f6e7_400x197.png 848w, https://substackcdn.com/image/fetch/$s_!Llzi!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fec34d7d8-f478-42b1-9214-f4ef1f37f6e7_400x197.png 1272w, https://substackcdn.com/image/fetch/$s_!Llzi!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fec34d7d8-f478-42b1-9214-f4ef1f37f6e7_400x197.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Llzi!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fec34d7d8-f478-42b1-9214-f4ef1f37f6e7_400x197.png" width="400" height="197" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ec34d7d8-f478-42b1-9214-f4ef1f37f6e7_400x197.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:197,&quot;width&quot;:400,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:49156,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Llzi!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fec34d7d8-f478-42b1-9214-f4ef1f37f6e7_400x197.png 424w, https://substackcdn.com/image/fetch/$s_!Llzi!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fec34d7d8-f478-42b1-9214-f4ef1f37f6e7_400x197.png 848w, https://substackcdn.com/image/fetch/$s_!Llzi!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fec34d7d8-f478-42b1-9214-f4ef1f37f6e7_400x197.png 1272w, https://substackcdn.com/image/fetch/$s_!Llzi!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fec34d7d8-f478-42b1-9214-f4ef1f37f6e7_400x197.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a><figcaption class="image-caption">Plan Comparison ChatGPT</figcaption></figure></div><p></p><p>I will continue to use ChapGPT on some applications (the free version, most likely), and I am excited about the subsequent releases from OpenAI and possible competitors. This is a promising year for AI-based applications, especially in Natural Language Processing and Computer Vision.</p><p>In a future post, I will go through the details of how ChatGPT works, its predecessors, and expectations for the next versions. Click below if you want to read that and did not subscribe yet! :)</p><p></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.theoverfit.com/subscribe?&quot;,&quot;text&quot;:&quot;Inscrever-se agora&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.theoverfit.com/subscribe?"><span>Inscrever-se agora</span></a></p><p></p><h2>Research Picks</h2><ul><li><p><strong>CICERO:</strong> &#8220;An agent that can play at the level of humans in a game as strategically complex as Diplomacy is a true breakthrough for cooperative AI.&#8221;<strong> (</strong><a href="https://ai.facebook.com/research/cicero/">Meta AI</a>)</p></li><li><p>Teaching Algorithmic Reasoning via In-context Learning (<a href="https://arxiv.org/abs/2211.09066">arxiv</a>) [actually from last year]</p></li><li><p>Deciphering Clinical Abbreviations with Privacy Protecting ML (<a href="https://ai.googleblog.com/2023/01/deciphering-clinical-abbreviations-with.html">Google AI</a>)</p></li><li><p>Instruct Pix2Pix: Learning to follow image editing instructions (<a href="https://github.com/timothybrooks/instruct-pix2pix">git</a> / <a href="https://arxiv.org/pdf/2211.09800.pdf">arxiv</a>)</p><p></p></li></ul><p></p><h2>Event</h2><p>There is an exciting event on <strong>January 26th</strong> (tomorrow if you received when I sent this issue) with the following topics:</p><ul><li><p>Data-centric AI (a chat with Andrew Ng)</p></li><li><p>Operationalizing Machine Learning at a Large Financial Institution</p></li><li><p>Large Language Models (LLMs) to Production</p></li><li><p>Get Your Company Started with AI: The Right Way</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!bKL1!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91d0af72-16d0-4764-958b-5d3a2b243750_640x326.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!bKL1!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91d0af72-16d0-4764-958b-5d3a2b243750_640x326.jpeg 424w, https://substackcdn.com/image/fetch/$s_!bKL1!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91d0af72-16d0-4764-958b-5d3a2b243750_640x326.jpeg 848w, https://substackcdn.com/image/fetch/$s_!bKL1!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91d0af72-16d0-4764-958b-5d3a2b243750_640x326.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!bKL1!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91d0af72-16d0-4764-958b-5d3a2b243750_640x326.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!bKL1!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91d0af72-16d0-4764-958b-5d3a2b243750_640x326.jpeg" width="640" height="326" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/91d0af72-16d0-4764-958b-5d3a2b243750_640x326.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:326,&quot;width&quot;:640,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;WhyLabs R2AI Summit - January 26 2023.jpeg&quot;,&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="WhyLabs R2AI Summit - January 26 2023.jpeg" title="WhyLabs R2AI Summit - January 26 2023.jpeg" srcset="https://substackcdn.com/image/fetch/$s_!bKL1!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91d0af72-16d0-4764-958b-5d3a2b243750_640x326.jpeg 424w, https://substackcdn.com/image/fetch/$s_!bKL1!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91d0af72-16d0-4764-958b-5d3a2b243750_640x326.jpeg 848w, https://substackcdn.com/image/fetch/$s_!bKL1!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91d0af72-16d0-4764-958b-5d3a2b243750_640x326.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!bKL1!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91d0af72-16d0-4764-958b-5d3a2b243750_640x326.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">More details at <a href="http://whylabs.ai/r2-ai-summit">whylabs.ai/r2-ai-summit</a></figcaption></figure></div><p></p><p>That&#8217;s our wrap-up for January 2023!</p>]]></content:encoded></item><item><title><![CDATA[Degenerate Feedback Loops in Machine Learning]]></title><description><![CDATA[This problem goes unnoticed by many data scientist and machine learning engineers when designing and deploying machine learning models in the industry. Let's learn what it is and how to fix it!]]></description><link>https://www.theoverfit.com/p/degenerate-feedback-loops</link><guid isPermaLink="false">https://www.theoverfit.com/p/degenerate-feedback-loops</guid><dc:creator><![CDATA[Felipe Lodur]]></dc:creator><pubDate>Thu, 19 Jan 2023 00:38:08 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/7e2158e0-9f6a-45c5-8828-89af752cc2a8_4200x1968.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2>What is a Degenerate Feedback Loop?</h2><p>Let&#8217;s assume you are training a Machine Learning model for a bank to decide whether each customer is &#8220;a good customer&#8221;  (default is unlikely) or &#8220;a bad customer&#8221; (default is likely). We can call this our <strong>&#8220;approval model.&#8221;</strong></p><p>You used data from the company's customers and finally created a model with reasonable precision. By your calculations, it should be highly profitable (as estimated by the customer&#8217;s default reduction). Therefore, the &#8220;approval model&#8221; goes to production, and now every customer will either be approved or denied following the model prediction.</p><p>After a couple of months, you have gathered more data (new customers and more default info about old customers) and decided to retrain the model, trying to increase the model&#8217;s precision. And so you did: your retrained model and achieved a higher precision.<br><br>You might think: Well, it&#8217;s time to go to production by replacing the old model, right? However, <strong>there is a hidden problem </strong>that goes by<strong> </strong>many professionals<strong>.</strong></p><p>Look at the diagram that represents this flow:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!kXss!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa4fa0b99-09b9-4ec8-8e93-cd004648e769_1360x592.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!kXss!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa4fa0b99-09b9-4ec8-8e93-cd004648e769_1360x592.png 424w, https://substackcdn.com/image/fetch/$s_!kXss!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa4fa0b99-09b9-4ec8-8e93-cd004648e769_1360x592.png 848w, https://substackcdn.com/image/fetch/$s_!kXss!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa4fa0b99-09b9-4ec8-8e93-cd004648e769_1360x592.png 1272w, https://substackcdn.com/image/fetch/$s_!kXss!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa4fa0b99-09b9-4ec8-8e93-cd004648e769_1360x592.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!kXss!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa4fa0b99-09b9-4ec8-8e93-cd004648e769_1360x592.png" width="1360" height="592" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a4fa0b99-09b9-4ec8-8e93-cd004648e769_1360x592.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:592,&quot;width&quot;:1360,&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_!kXss!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa4fa0b99-09b9-4ec8-8e93-cd004648e769_1360x592.png 424w, https://substackcdn.com/image/fetch/$s_!kXss!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa4fa0b99-09b9-4ec8-8e93-cd004648e769_1360x592.png 848w, https://substackcdn.com/image/fetch/$s_!kXss!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa4fa0b99-09b9-4ec8-8e93-cd004648e769_1360x592.png 1272w, https://substackcdn.com/image/fetch/$s_!kXss!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa4fa0b99-09b9-4ec8-8e93-cd004648e769_1360x592.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Diagram 1: Degenerate Feedback Loop Example (Source: The Overfit)</figcaption></figure></div><p>The problem here is: Because we cannot generate the &#8220;label&#8221; (whether a customer defaulted or not) for denied customers, we generate selection bias in our model. This poses two issues, mainly:</p><ul><li><p>There might be many good customers in the &#8220;denied&#8221; population, but our model cannot identify them because we never approve them. </p></li><li><p>The problem aggravates with every retraining &#8212; because within the approved population, the only mistake the model makes is to &#8220;approve a &#8216;bad&#8217; customer.&#8221; Hence, the incentive is to create a more strict model every time. </p></li></ul><p></p><p>Hopefully, this exemplified well what a degenerate feedback loop is, but here I follow with an excellent quote:</p><blockquote><p>&#8220;A degenerate feedback loop is created when a system&#8217;s outputs are used to create or process the same system&#8217;s inputs, which, in turn, influence the system&#8217;s future outputs&#8221; &#8212; by Chip Huyen</p></blockquote><p></p><h4>Here are some more examples of the Degenerate Feedback Loop:</h4><ul><li><p><strong>Fraud / Crime Analysis:</strong> Model that sends to the analysis suspicious financial behaviors, and we don&#8217;t get the info about the &#8220;not suspicious.&#8221;</p></li><li><p><strong>Credit Lines:</strong> Model that decides how much credit we should give a customer. We don&#8217;t have the information on what would happen with customers if they received a lower or higher line than recommended.</p></li><li><p><strong>Search Engines / Recommendations:</strong> In recommender systems, if you present the user with a list, there is a natural &#8220;position bias,&#8221; in which users typically already click the first results. (we don&#8217;t get the info about what would happen if the order was different)</p></li><li><p><strong>Geographical Predictions:</strong> If a model predicts crime-rate for different locations, and we use that to send more cops to certain places, we might get more crime reports in a region just because there are more cops there. We get the data about areas with no/few cops.</p><p></p></li></ul><div class="pullquote"><p>Tip: To identify whether there might be a degenerate feedback loop problem, you can continually monitor population diversity, comparing the data you trained your model on with the population you are scoring the model with. </p></div><p></p><h2>Solution #1: Sampling</h2><p>Well, if we do not have the data for part of the population, we can create ways of gathering it. The most common approach is to use a random sampling strategy.</p><p>Using the example above of &#8220;customers approval/denial,&#8221; we can set a small percentage of customers to approve regardless of the model's prediction. This can also be useful to compare the performance of the model in comparison to a randomized approach.</p><p>Mathematically, this is a very sound solution; however, when applying this logic in real businesses, we must be extra careful. In this example, significant losses might occur if we bring too many &#8220;risky&#8221; customers. Therefore, we should try to set a &#8220;reasonable&#8221; sampling ratio considering our business requirements and, if necessary, apply other policies to mitigate the risk you are creating. As a Data Scientist, I incentivize you to advocate for this process in your team, as it will bring long-term benefits.</p><p></p><h4>More tips&#8230;</h4><ul><li><p><strong>Weighting:</strong> When sampling and retraining your model, you should consider your sample's representativeness. Depending on the modeling technique you are using, it might be a good idea to assign greater weights or oversample/undersample to balance out the populations to reflect the production distribution. </p></li><li><p><strong>Reinforcement Learning:</strong> You can increment the sampling strategy with more advanced techniques, such as the ones based on Reinforcement Learning, as this can easily be framed as an &#8220;exploration-exploitation&#8221; process. Still, if the randomized approach is not that costly for your application, getting that extra data with the &#8220;randomness&#8221; property should be pretty valuable.</p></li></ul><p></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.theoverfit.com/subscribe?&quot;,&quot;text&quot;:&quot;Inscrever-se agora&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.theoverfit.com/subscribe?"><span>Inscrever-se agora</span></a></p><p></p><h2>Solution #2: Counterfactual</h2><p>We can try another approach when we have a feedback loop that only affects some of the outputs. </p><p>Let&#8217;s assume you have a model that predicts whether the person would click on that recommendation. Here we have the feedback loop problem because people naturally click more on the first options (known as position preference).</p><p>A straightforward approach to overcome this is that you may gather the data of your model (features and label) and create an additional feature to each instance indicating if your label (click or no-click) happened when it was the first in the order or not. After training our model on that data, we can, for a given instance, force the flag 0 (not first). This way, we remove some of the bias of the cases always in the first position. See this flow below:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!YZ34!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F066c2b24-fcde-453b-a433-f137b1fb26f9_2008x600.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!YZ34!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F066c2b24-fcde-453b-a433-f137b1fb26f9_2008x600.png 424w, https://substackcdn.com/image/fetch/$s_!YZ34!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F066c2b24-fcde-453b-a433-f137b1fb26f9_2008x600.png 848w, https://substackcdn.com/image/fetch/$s_!YZ34!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F066c2b24-fcde-453b-a433-f137b1fb26f9_2008x600.png 1272w, https://substackcdn.com/image/fetch/$s_!YZ34!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F066c2b24-fcde-453b-a433-f137b1fb26f9_2008x600.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!YZ34!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F066c2b24-fcde-453b-a433-f137b1fb26f9_2008x600.png" width="1456" height="435" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/066c2b24-fcde-453b-a433-f137b1fb26f9_2008x600.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:435,&quot;width&quot;:1456,&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;: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="" title="" srcset="https://substackcdn.com/image/fetch/$s_!YZ34!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F066c2b24-fcde-453b-a433-f137b1fb26f9_2008x600.png 424w, https://substackcdn.com/image/fetch/$s_!YZ34!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F066c2b24-fcde-453b-a433-f137b1fb26f9_2008x600.png 848w, https://substackcdn.com/image/fetch/$s_!YZ34!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F066c2b24-fcde-453b-a433-f137b1fb26f9_2008x600.png 1272w, https://substackcdn.com/image/fetch/$s_!YZ34!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F066c2b24-fcde-453b-a433-f137b1fb26f9_2008x600.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Counterfactual Approach Diagram (Source: The Overfit)</figcaption></figure></div><p>This is known as &#8220;The Counterfactual Model,&#8221; as we want to know what would have happened if a different course of action had been taken (if our prediction was not for a &#8220;first position&#8221; item, would it still be this relevant?)</p><p>Of course, this process can apply to other scenarios. Credit limit policies can benefit significantly from this, as we may want to know, &#8220;if we had a different credit limit, would this person still not default?&#8221;</p><p>If you want to dive deeper into how a mature company like Google does it, you can watch <a href="https://www.youtube.com/watch?v=sr1KscMfBOY">this video</a>, which explains their study &#8220;Recommending What Video to Watch Next: A Multitask Ranking System.&#8221;</p><div class="pullquote"><p>For recommendation models, there are also some metrics to assess whether we have a feedback loop problem: Average Rec Popularity (ARP), Average Percentage of Long Tail Items (APLT), and measuring the Hit Rate against Popularity Buckets. [Metrics explained <a href="https://arxiv.org/abs/1901.07555">here</a>]</p></div><p></p><h3>Conclusion</h3><p>Despite following the modeling methodology step by step, data scientists can easily fall into the degenerate feedback loop trap, which will most likely generate long-term problems. However, by considering the entire application flow early on, we can anticipate it and implement the proper mitigation solution.</p><p>I hope you found this helpful. Good luck with your feedback loops!</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.theoverfit.com/subscribe?&quot;,&quot;text&quot;:&quot;Inscrever-se agora&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.theoverfit.com/subscribe?"><span>Inscrever-se agora</span></a></p><p></p>]]></content:encoded></item><item><title><![CDATA[Goal Setting: For You and Your AI Team]]></title><description><![CDATA[It doesn't matter how fast you go if you follow the wrong direction.]]></description><link>https://www.theoverfit.com/p/goal-setting-ai</link><guid isPermaLink="false">https://www.theoverfit.com/p/goal-setting-ai</guid><dc:creator><![CDATA[Felipe Lodur]]></dc:creator><pubDate>Wed, 11 Jan 2023 20:00:59 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/03bd961f-4559-4e44-84a0-4291104f5011_1920x1236.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>In this article, I will cover the following:</p><ul><li><p>How to properly define goals;</p></li><li><p>Goal-setting for your personal and professional life;</p></li><li><p>Goal-setting for Data Science &amp; AI teams;</p></li><li><p>What to do with the final results.</p></li></ul><p>Let&#8217;s go!</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.theoverfit.com/subscribe?&quot;,&quot;text&quot;:&quot;Inscrever-se&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">The Overfit 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="Inscrever-se"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><h3>Defining Goals</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!dEqa!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0e086da-5e9d-4051-ad35-6c8e20f50229_1200x1200.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!dEqa!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0e086da-5e9d-4051-ad35-6c8e20f50229_1200x1200.jpeg 424w, https://substackcdn.com/image/fetch/$s_!dEqa!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0e086da-5e9d-4051-ad35-6c8e20f50229_1200x1200.jpeg 848w, https://substackcdn.com/image/fetch/$s_!dEqa!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0e086da-5e9d-4051-ad35-6c8e20f50229_1200x1200.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!dEqa!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0e086da-5e9d-4051-ad35-6c8e20f50229_1200x1200.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!dEqa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0e086da-5e9d-4051-ad35-6c8e20f50229_1200x1200.jpeg" width="480" height="480" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b0e086da-5e9d-4051-ad35-6c8e20f50229_1200x1200.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1200,&quot;width&quot;:1200,&quot;resizeWidth&quot;:480,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;thunkfool on Twitter: \&quot;goal setting #comics #cartoons #comicstrip #goals  https://t.co/YiuwKr8Nbr\&quot; / Twitter&quot;,&quot;title&quot;:&quot;thunkfool on Twitter: \&quot;goal setting #comics #cartoons #comicstrip #goals  https://t.co/YiuwKr8Nbr\&quot; / Twitter&quot;,&quot;type&quot;:null,&quot;href&quot;:null,&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="thunkfool on Twitter: &quot;goal setting #comics #cartoons #comicstrip #goals  https://t.co/YiuwKr8Nbr&quot; / Twitter" title="thunkfool on Twitter: &quot;goal setting #comics #cartoons #comicstrip #goals  https://t.co/YiuwKr8Nbr&quot; / Twitter" srcset="https://substackcdn.com/image/fetch/$s_!dEqa!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0e086da-5e9d-4051-ad35-6c8e20f50229_1200x1200.jpeg 424w, https://substackcdn.com/image/fetch/$s_!dEqa!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0e086da-5e9d-4051-ad35-6c8e20f50229_1200x1200.jpeg 848w, https://substackcdn.com/image/fetch/$s_!dEqa!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0e086da-5e9d-4051-ad35-6c8e20f50229_1200x1200.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!dEqa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0e086da-5e9d-4051-ad35-6c8e20f50229_1200x1200.jpeg 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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">from <a href="https://twitter.com/thunkfool/status/1184433684394364928">@thunkful</a> on Twitter</figcaption></figure></div><p><strong>SMART</strong> is a framework that defines a series of properties a goal should have. I will use a personal example as I go through them. Let&#8217;s say you are considering &#8220;improve my health&#8221; as a goal this year. We should transform this goal into something more:</p><ul><li><p><strong>Specific: </strong>Instead of &#8220;improve my health,&#8221; narrow it down to one component of your health. For instance, you might want to be &#8220;less sedentary.&#8221;, which is more specific.</p></li><li><p><strong>Measurable: </strong>&#8220;Less sedentary&#8221; is hard to measure. We should add something that would let us check our progress. We could change the goal to &#8220;exercise 300 days this year&#8221;.</p></li><li><p><strong>Achievable:</strong> Exercising 300 days a year might not be feasible for your current schedule. It is okay to be ambitious, but it is not okay to be ridiculous. We could tune it to something more achievable like &#8220;Exercise 3 times per week&#8221;.</p></li><li><p><strong>Relevant:</strong> Is this goal aligned with your values and long-term objectives? If you want to become a more fit person long-term, this goal makes sense! </p></li><li><p><strong>Timely:</strong> With the &#8220;Exercise 3 times per week&#8221;, it is unclear how long we should sustain it. Set an end date, such as &#8220;Exercise at least 3 times per week throughout 2023&#8221; or &#8220;Exercise 156 times throughout 2023.&#8221; </p></li></ul><blockquote><p>Comment: I prefer &#8220;156 times throughout 2023&#8221; over &#8220;3 times per week throughout 2023&#8221; because i) unexpected events might happen, and if you struggle in a week you could still compensate in others; ii) intermediate progress is more accurately tracked if you count by single days rather than "weeks that you did at least 3 times&#8221; &#8212; helping with the measurable property as well.</p></blockquote><p>Finally, after defining the goal, develop a strategy for achieving it. In the case of &#8220;Exercise 156 times throughout 2023&#8221;, you already know that you will need to exercise, on average, 3 times per week. So, you could time-block the hours in your agenda (or schedule sessions with a personal trainer). If you have any upcoming trips, decide whether you will compensate in other weeks or how/where you will exercise during your trip. </p><h3></h3><h3>Goal Setting for You</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!mSaz!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0302112f-17b2-41aa-8514-a02b5f388ec2_732x329.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!mSaz!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0302112f-17b2-41aa-8514-a02b5f388ec2_732x329.png 424w, https://substackcdn.com/image/fetch/$s_!mSaz!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0302112f-17b2-41aa-8514-a02b5f388ec2_732x329.png 848w, https://substackcdn.com/image/fetch/$s_!mSaz!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0302112f-17b2-41aa-8514-a02b5f388ec2_732x329.png 1272w, https://substackcdn.com/image/fetch/$s_!mSaz!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0302112f-17b2-41aa-8514-a02b5f388ec2_732x329.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!mSaz!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0302112f-17b2-41aa-8514-a02b5f388ec2_732x329.png" width="676" height="303.8306010928962" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0302112f-17b2-41aa-8514-a02b5f388ec2_732x329.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:329,&quot;width&quot;:732,&quot;resizeWidth&quot;:676,&quot;bytes&quot;:533700,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!mSaz!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0302112f-17b2-41aa-8514-a02b5f388ec2_732x329.png 424w, https://substackcdn.com/image/fetch/$s_!mSaz!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0302112f-17b2-41aa-8514-a02b5f388ec2_732x329.png 848w, https://substackcdn.com/image/fetch/$s_!mSaz!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0302112f-17b2-41aa-8514-a02b5f388ec2_732x329.png 1272w, https://substackcdn.com/image/fetch/$s_!mSaz!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0302112f-17b2-41aa-8514-a02b5f388ec2_732x329.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">from Calvin and Hobbes comic</figcaption></figure></div><p>I classify each personal goal as either a &#8220;habit-defining goal&#8221; or a &#8220;project goal.&#8221; In the example earlier, &#8220;Exercise 156 times throughout 2023&#8221;, I would call it a &#8220;Habit-defining goal&#8221; because it focuses more on trying to keep a practice going throughout the year than on completing something.</p><p>Opposed to that, a &#8220;project goal&#8221; could be &#8220;Publishing my Book by December 2023&#8221;. It still respects all SMART goals (some might say it is not measurable, but it is, with &#8220;published&#8221; or &#8220;not published&#8221; criteria), but it focuses more on the Output (results) rather than the Input (effort).</p><p>For project goals, it is crucial to set intermediate checkpoints to create a roadmap:</p><ol><li><p>By the end of January - Create a draft for each chapter;</p></li><li><p>Write one chapter per month, finishing the whole book by September </p></li><li><p>By the end of October - Finish the book review and layout;</p></li><li><p>By the end of November - Finalize details for publication and promotion;</p></li><li><p>By the end of December - Have it published on Amazon KDP;</p></li></ol><p>Of course, you could keep breaking down (from year to months to weeks to days to hours), but try to stop at a level that gives you enough clarity to take action. In this example, I would do a quick planning session each month to schedule the activities I need to complete that month. </p><p></p><h4>Organizing your personal goals</h4><p>First, I separate my goals into 5 areas:</p><ul><li><p><strong>Health:</strong> Exercises, Diet, Mental Health, and so on;</p></li><li><p><strong>Intellectual:</strong> Books, Learning Projects, Languages, etc.;</p></li><li><p><strong>Professional:</strong> Career Growth, Side Projects, and more;</p></li><li><p><strong>Finances:</strong> Savings, Expenses, and Investments;</p></li><li><p><strong>Other:</strong> Leisure, social, or anything I cannot fit into the above. </p></li></ul><p>Start with the longer-term goals for each category because you can check whether everything is cohesive when defining the shorter-term goals.</p><p>For instance, you might have a long-term goal such as &#8220;Retire with 1 million dollars by 50 years old&#8221;. Suppose you are 40 years old and currently have $500k. In that case, you can then calculate how much money you need to save per year and then either create financial goals like &#8220;Save X this year&#8221; or professional goals related to creating more revenue streams (&#8220;publish a paid mobile app&#8221;) or increasing current ones (&#8220;get promoted in my job&#8221;). </p><p>Also, it&#8217;s okay to disregard this connection between short-term and long-term goals because sometimes we want to do something just because it is fun. It is more important to check whether a new goal will impede others. For example, if you have two goals, &#8220;visit 10 countries this year&#8221; and &#8220;save X money this year,&#8221; you need to understand if all the trips might get in the way of your saving money goal.</p><p></p><h4>(Example) My personal goals</h4><p>Here are my goals for 2023 as an example:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!V53O!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83489f22-24e7-40a2-9590-80498f220300_1920x1080.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!V53O!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83489f22-24e7-40a2-9590-80498f220300_1920x1080.jpeg 424w, https://substackcdn.com/image/fetch/$s_!V53O!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83489f22-24e7-40a2-9590-80498f220300_1920x1080.jpeg 848w, https://substackcdn.com/image/fetch/$s_!V53O!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83489f22-24e7-40a2-9590-80498f220300_1920x1080.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!V53O!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83489f22-24e7-40a2-9590-80498f220300_1920x1080.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!V53O!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83489f22-24e7-40a2-9590-80498f220300_1920x1080.jpeg" width="1456" height="819" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/83489f22-24e7-40a2-9590-80498f220300_1920x1080.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:819,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:138827,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&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_!V53O!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83489f22-24e7-40a2-9590-80498f220300_1920x1080.jpeg 424w, https://substackcdn.com/image/fetch/$s_!V53O!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83489f22-24e7-40a2-9590-80498f220300_1920x1080.jpeg 848w, https://substackcdn.com/image/fetch/$s_!V53O!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83489f22-24e7-40a2-9590-80498f220300_1920x1080.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!V53O!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83489f22-24e7-40a2-9590-80498f220300_1920x1080.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><h3>Goal-setting for Data Science &amp; AI teams</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!w3vE!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c8bb72c-4c73-4c9f-ad0d-61cf5a380266_1200x364.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!w3vE!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c8bb72c-4c73-4c9f-ad0d-61cf5a380266_1200x364.png 424w, https://substackcdn.com/image/fetch/$s_!w3vE!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c8bb72c-4c73-4c9f-ad0d-61cf5a380266_1200x364.png 848w, https://substackcdn.com/image/fetch/$s_!w3vE!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c8bb72c-4c73-4c9f-ad0d-61cf5a380266_1200x364.png 1272w, https://substackcdn.com/image/fetch/$s_!w3vE!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c8bb72c-4c73-4c9f-ad0d-61cf5a380266_1200x364.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!w3vE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c8bb72c-4c73-4c9f-ad0d-61cf5a380266_1200x364.png" width="1200" height="364" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0c8bb72c-4c73-4c9f-ad0d-61cf5a380266_1200x364.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:364,&quot;width&quot;:1200,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;10 Reasons Why Your OKRs Aren't Working - Weekdone Blog&quot;,&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="10 Reasons Why Your OKRs Aren't Working - Weekdone Blog" title="10 Reasons Why Your OKRs Aren't Working - Weekdone Blog" srcset="https://substackcdn.com/image/fetch/$s_!w3vE!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c8bb72c-4c73-4c9f-ad0d-61cf5a380266_1200x364.png 424w, https://substackcdn.com/image/fetch/$s_!w3vE!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c8bb72c-4c73-4c9f-ad0d-61cf5a380266_1200x364.png 848w, https://substackcdn.com/image/fetch/$s_!w3vE!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c8bb72c-4c73-4c9f-ad0d-61cf5a380266_1200x364.png 1272w, https://substackcdn.com/image/fetch/$s_!w3vE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c8bb72c-4c73-4c9f-ad0d-61cf5a380266_1200x364.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">from <a href="https://dilbert.com/">Dilbert</a> by Scott Adams</figcaption></figure></div><h4>How to Organize Goals - OKRs</h4><p>Instead of setting a bunch of goals in a list, the most common approach in the industry is to use a framework named OKR (Objectives and Key Results). It is pretty easy to apply:</p><ul><li><p>Start with an <strong>Objective</strong> (e.g., I want to improve our fraud detection solution)</p></li><li><p>Define <strong>Key Results</strong>, typically 3 to 5, following SMART principles. Examples:</p><ul><li><p>Improve by 50% the solution financial return (from 100k to 150k/month)</p></li><li><p>Run a modeling experiment data from a new vendor</p></li><li><p>Implement an automatic retraining pipeline</p></li><li><p>Reduce scoring time from 1s to 0.5s </p></li></ul></li><li><p><strong>Track your progress.</strong> This could be done via periodic checkpoints. </p><ul><li><p>How much did your team achieve already?</p></li><li><p>Do we need to change something? (priority, strategy)</p><p></p></li></ul></li></ul><h4>(Example Goals) When first creating a model&#8230;</h4><p>My suggestion is to start with a well-defined business goal. Say a team is developing a machine learning model to detect fraudulent credit card transactions to block the suspicious ones automatically. In this case, we should start with &#8220;what is the minimum acceptable performance for a solution that still brings value to the company?&#8221;. </p><p>Let&#8217;s dive a little deeper into this example. We need to understand the value of each thing.</p><ul><li><p><strong>True Positives (TP) - Correctly Identified Frauds:</strong> This would stop some frauds from happening, which gives mainly two benefits: i) negates losses the company would have to pay for; ii) prevents attrition with a customer that would have an awful experience.</p></li><li><p><strong>False Positives (FP) - Incorrectly Appointed Frauds:</strong> Blocking a credit card incorrectly could generate customer attrition, impacting satisfaction and reflecting how long they would stay as customers. We could go further and, through experiments/studies, understand how much the churn rate of customers increases when they have incorrectly blocked transactions.</p></li></ul><p>With that, one recommended approach is to find a minimum &#8220;True Positive to False Positive&#8221; ratio (also known as &#8220;precision&#8221;) by estimating the actual value of a true positive and a false positive.</p><p>One simplistic way to do this is to get the &#8220;average savings&#8221; in identifying fraud and the &#8220;average losses&#8221; by incorrectly blocking a transaction. </p><p>After some studies, we end up with TPs and FPs worth $4000 and -$100, respectively. With this information, we can easily estimate the expected financial return for a given model and threshold.</p><p>Finally, it would not make sense for most businesses to implement a fraud detection system that would bring only $10 in revenue. We should define how much money the solution should bring to the table to be considered an option.  For our hypothetical business, it could be &#8220;at least&#8221; $100,000 positive return per month.</p><p>In this example, we have a specific way of measuring the effectiveness of a given model, and we also have a minimum performance that we need to achieve ($100k), so we could have a general goal as:</p><blockquote><p><strong>Fraud Goal Example:</strong> <strong>Design and Deploy</strong> an AI-enabled solution to automatically identify fraud transactions, <strong>bringing at least</strong> $100k positive return <strong>considering</strong> a $4000 value for each identified fraud, and -$100 value for each incorrectly identified fraud, <strong>by</strong> the end of this quarter.</p></blockquote><p>This would be a worthy goal for the team as it clarifies what they should work towards, the requirements, how to measure it, and the deadline.</p><p> </p><h4>(Example Goals) For Mature Solutions</h4><p>All right! Now we have successfully designed and deployed the fraud detection solution. It might be an excellent moment to create goals for the next quarter so we can improve them and bring more value.</p><p>We still should look at business requirements to orient &#8220;how much improvement is enough to make an impact.&#8221; Sometimes, the improvement expectations are way higher than what is possible to do with currently available data. In those cases, we can revisit this project in other cycles or focus on further actions to make more/better data available.</p><p><strong>If we already have an excellent model</strong>, it might be more complicated to improve than a newer model created using just a few features. For more mature solutions, instead of using &#8220;improve the model by X%,&#8221; it would be more interesting to focus on &#8220;process goals&#8221; instead, such as:  </p><ul><li><p>Create and validate 3 hypotheses for improving model accuracy;</p></li><li><p>Reduce the time we take to validate a new feature by X%;</p></li><li><p>Experiment with automatic retraining strategies and publish results;</p></li></ul><p>This is my experience; I know not all managers agree, but I feel it&#8217;s better to push improving the process that will ultimately help with the end goal than trying to set an arbitrary number of &#8220;push the recall rate from 98% to 99%&#8221;, considering all the uncertainty that can be behind machine learning projects, which could bring unnecessary anxiety to the team.</p><p></p><h4>Other Practical Tips for Team Goal-Setting:</h4><ul><li><p><strong>Single-metrics:</strong> Avoid using easy-to-fool metrics, such as precision, by themselves. Instead of &#8220;Achieve 90% precision&#8221;, prefer &#8220;Achieve 90% maintaining our current recall of 85%&#8221;.</p></li><li><p><strong>Value the process:</strong> Being result-oriented is excellent, but data science is a field that requires testing and validation. Naturally, the hypothesis might come out false in the end. Refrain from <strong>only</strong> valuing results and consider the process as a whole. (e.g., creating key results for completing experiments)</p></li></ul><ul><li><p><strong>Involve your team:</strong> Engaging everyone in creating a goal is crucial to  improve the sense of belonging but also helps make goals more achievable. </p></li><li><p><strong>Frequency:</strong> Most companies create their OKRs quarterly, biannually, or yearly. Generally, high-uncertainty companies (such as startups) might benefit from shorter OKR cycles, as things can change rapidly, whereas more mature companies may prefer extended periods.</p></li></ul><p></p><p></p><h3>What to do with the final results?</h3><div class="pullquote"><p>Are the team goals a reflection of individual performance?</p></div><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!3uSI!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b44686b-876f-4e71-b741-a80a63029950_800x252.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!3uSI!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b44686b-876f-4e71-b741-a80a63029950_800x252.jpeg 424w, https://substackcdn.com/image/fetch/$s_!3uSI!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b44686b-876f-4e71-b741-a80a63029950_800x252.jpeg 848w, https://substackcdn.com/image/fetch/$s_!3uSI!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b44686b-876f-4e71-b741-a80a63029950_800x252.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!3uSI!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b44686b-876f-4e71-b741-a80a63029950_800x252.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!3uSI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b44686b-876f-4e71-b741-a80a63029950_800x252.jpeg" width="648" height="204.12" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2b44686b-876f-4e71-b741-a80a63029950_800x252.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:252,&quot;width&quot;:800,&quot;resizeWidth&quot;:648,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Annual Employee Performance Reviews: Why They Still Matter and How Software  Can Make Yours Better&quot;,&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="Annual Employee Performance Reviews: Why They Still Matter and How Software  Can Make Yours Better" title="Annual Employee Performance Reviews: Why They Still Matter and How Software  Can Make Yours Better" srcset="https://substackcdn.com/image/fetch/$s_!3uSI!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b44686b-876f-4e71-b741-a80a63029950_800x252.jpeg 424w, https://substackcdn.com/image/fetch/$s_!3uSI!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b44686b-876f-4e71-b741-a80a63029950_800x252.jpeg 848w, https://substackcdn.com/image/fetch/$s_!3uSI!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b44686b-876f-4e71-b741-a80a63029950_800x252.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!3uSI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b44686b-876f-4e71-b741-a80a63029950_800x252.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a><figcaption class="image-caption">From <a href="https://dilbert.com/">Dilbert</a> by Scott Adams</figcaption></figure></div><p>One mistake many companies make is to assign the team goals results as the performance of the team members. I&#8217;m not too fond of this approach, especially for data science &amp; AI teams, because not achieving a given goal might result from the problem being too hard (and we might not have known it beforehand). This creates a problem of people trying to move to teams with &#8220;easier OKRs.&#8221;</p><p>At the same time, we should not completely disregard it. If a team had 5 goals and had poor results in all of them, this could be a strong indicator that the team is underperforming or overestimating tremendously. Either way, you got a problem.</p><p>My recommendation is to handle performance reviews separately from OKRs. However, considering their current level, we should try to see whether the person was providing their best effort towards the team OKRs. Therefore, the OKRs would impact the performance indirectly, making this a less complicated process.</p><div class="pullquote"><p>Is Goal-Setting a Skill?</p></div><p>Yes. It is also very context-specific. In other words, what can be achieved in a specified period will vary drastically by company and factors such as data availability, infrastructure, team seniority, team size, etc. But experience will be valuable towards better goal-setting after all.</p><p>The important thing is that you finish the OKR cycle by reviewing them with your team, listing what you have learned trying to make it better in the next cycle.</p><p></p><h3>Conclusion</h3><p>Even though data-science projects are filled with uncertainty, defining goals is possible and brings many benefits:</p><ul><li><p>Determines a clear direction for the team (people can understand whether what they are doing contributes to the team goals and adjust)</p></li><li><p>Promotes a shared sense of responsibility when done correctly.</p></li><li><p>Enforces a data-oriented culture (we don&#8217;t manage what we don&#8217;t measure)</p></li><li><p>Improves project syncing, as we can see all goals and main deadlines.</p></li></ul><blockquote><p>&#8220;If one does not know to which port one is sailing, no wind is favorable.&#8221; &#8212; Seneca, stoic philosopher</p></blockquote><p>That should be enough to justify implementing them.</p><p></p><p>Good luck with your goals! Consider subscribing if you found it helpful!</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.theoverfit.com/subscribe?&quot;,&quot;text&quot;:&quot;Inscrever-se agora&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.theoverfit.com/subscribe?"><span>Inscrever-se agora</span></a></p><p></p><p></p>]]></content:encoded></item><item><title><![CDATA[Data Science & AI: Books to read in 2023]]></title><description><![CDATA[My reading recommendations to hone your skills this year.]]></description><link>https://www.theoverfit.com/p/books-data-science-2023</link><guid isPermaLink="false">https://www.theoverfit.com/p/books-data-science-2023</guid><dc:creator><![CDATA[Felipe Lodur]]></dc:creator><pubDate>Wed, 04 Jan 2023 19:58:05 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/h_600,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fa58e53ec-bc49-4036-aa2b-827a0c64c67d_1000x1480.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Even though we have plenty of resources online, sometimes it just feels right to consume a heavier load of content that is organized linearly: Books!</p><p>In this post, I'll list the most important books I read in my Data Science career while giving you more context that should be helpful for you to decide whether to read it.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.theoverfit.com/subscribe?&quot;,&quot;text&quot;:&quot;Inscrever-se&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">The Overfit 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="Inscrever-se"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p></p><h2>For Beginners</h2><p>A beginner, in my definition, is someone who either wants to start in this career or just started and still needs to work on their data science &amp; AI knowledge breadth and depth.</p><p></p><h4>Practical Statistics for Data Scientists [<a href="https://geni.us/practical-stats">Buy it Here</a>]</h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!GLri!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F365e0b4c-9122-49b4-98e6-ed16ae59542c_1951x2560.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!GLri!,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%2F365e0b4c-9122-49b4-98e6-ed16ae59542c_1951x2560.jpeg 424w, https://substackcdn.com/image/fetch/$s_!GLri!,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%2F365e0b4c-9122-49b4-98e6-ed16ae59542c_1951x2560.jpeg 848w, https://substackcdn.com/image/fetch/$s_!GLri!,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%2F365e0b4c-9122-49b4-98e6-ed16ae59542c_1951x2560.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!GLri!,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%2F365e0b4c-9122-49b4-98e6-ed16ae59542c_1951x2560.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!GLri!,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%2F365e0b4c-9122-49b4-98e6-ed16ae59542c_1951x2560.jpeg" width="352" height="461.75824175824175" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/365e0b4c-9122-49b4-98e6-ed16ae59542c_1951x2560.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1910,&quot;width&quot;:1456,&quot;resizeWidth&quot;:352,&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_!GLri!,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%2F365e0b4c-9122-49b4-98e6-ed16ae59542c_1951x2560.jpeg 424w, https://substackcdn.com/image/fetch/$s_!GLri!,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%2F365e0b4c-9122-49b4-98e6-ed16ae59542c_1951x2560.jpeg 848w, https://substackcdn.com/image/fetch/$s_!GLri!,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%2F365e0b4c-9122-49b4-98e6-ed16ae59542c_1951x2560.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!GLri!,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%2F365e0b4c-9122-49b4-98e6-ed16ae59542c_1951x2560.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>This book from O&#8217;Reilly is a great starting point in Machine Learning because it covers the essential techniques and concepts in the field. Don&#8217;t be fooled by its name; it also teaches other techniques that are not considered &#8220;statistical&#8221; by some (such as decision-tree-based models and unsupervised learning techniques)</p><p>If you decide to buy this, you might get overwhelmed with so many topics to learn. I recommend the following approach:</p><ol><li><p>Read and practice the &#8220;Exploratory Data Analysis&#8221; (EDA) part, in which you will learn how to perform EDA and the core data cleaning and preprocessing techniques for ML, as well as what the entire project cycle looks like.</p></li><li><p>Proceed to the Machine Learning models. There are many in the book, and I suggest picking one or two: the ones I find most important are Linear Regression and Logistic Regression, along with Decision Tree-based models. Also, I recommend that you learn the basic preprocessing techniques. </p></li><li><p>The clustering part (chapter 9) focuses on K-Means and DBSCAN. Learning those will increase your knowledge breadth.</p></li><li><p>Now that you have completed the essential topics, I would study different chapters depending on what you are most interested in, so you can fill some knowledge gaps and start building your &#8220;expertise&#8221; in something.</p></li></ol><p>(extra tip) Please, focus on understanding how the algorithms work and not only how to apply them, as it is essential for decision-making and interviews.</p><p></p><h4>Deep Learning with PyTorch [<a href="https://geni.us/deep-learning-pytorch">Buy it Here</a>]</h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!OacI!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F569f0ef3-0992-4e8b-90da-027f9a52db8f_1258x1416.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!OacI!,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%2F569f0ef3-0992-4e8b-90da-027f9a52db8f_1258x1416.png 424w, https://substackcdn.com/image/fetch/$s_!OacI!,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%2F569f0ef3-0992-4e8b-90da-027f9a52db8f_1258x1416.png 848w, https://substackcdn.com/image/fetch/$s_!OacI!,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%2F569f0ef3-0992-4e8b-90da-027f9a52db8f_1258x1416.png 1272w, https://substackcdn.com/image/fetch/$s_!OacI!,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%2F569f0ef3-0992-4e8b-90da-027f9a52db8f_1258x1416.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!OacI!,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%2F569f0ef3-0992-4e8b-90da-027f9a52db8f_1258x1416.png" width="350" height="393.95866454689985" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/569f0ef3-0992-4e8b-90da-027f9a52db8f_1258x1416.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1416,&quot;width&quot;:1258,&quot;resizeWidth&quot;:350,&quot;bytes&quot;:1127107,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!OacI!,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%2F569f0ef3-0992-4e8b-90da-027f9a52db8f_1258x1416.png 424w, https://substackcdn.com/image/fetch/$s_!OacI!,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%2F569f0ef3-0992-4e8b-90da-027f9a52db8f_1258x1416.png 848w, https://substackcdn.com/image/fetch/$s_!OacI!,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%2F569f0ef3-0992-4e8b-90da-027f9a52db8f_1258x1416.png 1272w, https://substackcdn.com/image/fetch/$s_!OacI!,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%2F569f0ef3-0992-4e8b-90da-027f9a52db8f_1258x1416.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>I used to recommend learning Deep Learning with Keras or Tensorflow. Even though it is still viable (and Keras is generally known for being more straightforward than other frameworks), nowadays, I strongly recommend learning PyTorch.</p><p>This is because, in recent years, PyTorch has been used increasingly (see figure below), making it easier to find implementations of the newest architectures in PyTorch. Additionally, related frameworks (such as fast.ai) can be used along PyTorch and lets you quickly implement many techniques.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!3GaJ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F3d42d88b-f83a-4f23-ad2a-0564679b86bf_747x461.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!3GaJ!,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%2F3d42d88b-f83a-4f23-ad2a-0564679b86bf_747x461.png 424w, https://substackcdn.com/image/fetch/$s_!3GaJ!,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%2F3d42d88b-f83a-4f23-ad2a-0564679b86bf_747x461.png 848w, https://substackcdn.com/image/fetch/$s_!3GaJ!,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%2F3d42d88b-f83a-4f23-ad2a-0564679b86bf_747x461.png 1272w, https://substackcdn.com/image/fetch/$s_!3GaJ!,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%2F3d42d88b-f83a-4f23-ad2a-0564679b86bf_747x461.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!3GaJ!,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%2F3d42d88b-f83a-4f23-ad2a-0564679b86bf_747x461.png" width="418" height="257.9625167336011" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/3d42d88b-f83a-4f23-ad2a-0564679b86bf_747x461.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:461,&quot;width&quot;:747,&quot;resizeWidth&quot;:418,&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_!3GaJ!,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%2F3d42d88b-f83a-4f23-ad2a-0564679b86bf_747x461.png 424w, https://substackcdn.com/image/fetch/$s_!3GaJ!,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%2F3d42d88b-f83a-4f23-ad2a-0564679b86bf_747x461.png 848w, https://substackcdn.com/image/fetch/$s_!3GaJ!,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%2F3d42d88b-f83a-4f23-ad2a-0564679b86bf_747x461.png 1272w, https://substackcdn.com/image/fetch/$s_!3GaJ!,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%2F3d42d88b-f83a-4f23-ad2a-0564679b86bf_747x461.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption"><a href="http://horace.io/pytorch-vs-tensorflow/">Data Source</a></figcaption></figure></div><p>Nonetheless, I only recommend this book if you are determined to work with Deep Learning primarily; most &#8220;Data Scientists&#8221; I know to focus on other machine learning techniques targeting structured data. </p><p>After finishing this book, to further dive into deep learning, I recommend studying through research papers and <a href="https://www.kaggle.com/">Kaggle</a>. It would be best to specialize in a topic within Deep Learning; Computer Vision and Natural Language Processing are the two most common and recommended choices. </p><p></p><h2>Industry</h2><p>To those looking for knowledge to apply to ML/DS projects.</p><p></p><h4>Machine Learning Systems Design [<a href="https://geni.us/ml-systems">Buy It Here</a>]</h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!L33W!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F235894f5-0eb4-46b6-8983-4ac8a2b1b52a_1951x2560.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!L33W!,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%2F235894f5-0eb4-46b6-8983-4ac8a2b1b52a_1951x2560.jpeg 424w, https://substackcdn.com/image/fetch/$s_!L33W!,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%2F235894f5-0eb4-46b6-8983-4ac8a2b1b52a_1951x2560.jpeg 848w, https://substackcdn.com/image/fetch/$s_!L33W!,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%2F235894f5-0eb4-46b6-8983-4ac8a2b1b52a_1951x2560.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!L33W!,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%2F235894f5-0eb4-46b6-8983-4ac8a2b1b52a_1951x2560.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!L33W!,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%2F235894f5-0eb4-46b6-8983-4ac8a2b1b52a_1951x2560.jpeg" width="288" height="377.8021978021978" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/235894f5-0eb4-46b6-8983-4ac8a2b1b52a_1951x2560.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1910,&quot;width&quot;:1456,&quot;resizeWidth&quot;:288,&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_!L33W!,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%2F235894f5-0eb4-46b6-8983-4ac8a2b1b52a_1951x2560.jpeg 424w, https://substackcdn.com/image/fetch/$s_!L33W!,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%2F235894f5-0eb4-46b6-8983-4ac8a2b1b52a_1951x2560.jpeg 848w, https://substackcdn.com/image/fetch/$s_!L33W!,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%2F235894f5-0eb4-46b6-8983-4ac8a2b1b52a_1951x2560.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!L33W!,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%2F235894f5-0eb4-46b6-8983-4ac8a2b1b52a_1951x2560.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>This book by Chip Huyen is incredible. As someone that did not focus so heavily on productizing machine learning models (my focus initially was only on modeling and experimentation), reading this book opened my eye to techniques that, before, I would not have had much clarity on how they worked under the hood and helped me in my transition to managing Machine Learning Engineers along with Data Scientists.</p><p><strong>Quick tips:</strong></p><ul><li><p>This book assumes you already have a basic understanding of ML, which should be covered by the books I recommended for beginners.</p></li><li><p>For more senior professionals, it might be worth reading by jumping directly to the topics that interest you the most. That&#8217;s how I did it, focusing on issues currently being discussed in the company.</p></li><li><p>This a great option if you want to become a Machine Learning Engineer after studying the basics.</p></li></ul><p></p><p></p><h3>Machine Learning Yearning [<a href="https://www.mlyearning.org/">Available Here</a>]</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!B2k4!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3e0cb47-d03e-4daf-a2da-8803c30dc437_318x412.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!B2k4!,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%2Fb3e0cb47-d03e-4daf-a2da-8803c30dc437_318x412.jpeg 424w, https://substackcdn.com/image/fetch/$s_!B2k4!,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%2Fb3e0cb47-d03e-4daf-a2da-8803c30dc437_318x412.jpeg 848w, https://substackcdn.com/image/fetch/$s_!B2k4!,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%2Fb3e0cb47-d03e-4daf-a2da-8803c30dc437_318x412.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!B2k4!,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%2Fb3e0cb47-d03e-4daf-a2da-8803c30dc437_318x412.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!B2k4!,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%2Fb3e0cb47-d03e-4daf-a2da-8803c30dc437_318x412.jpeg" width="276" height="357.58490566037733" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/b3e0cb47-d03e-4daf-a2da-8803c30dc437_318x412.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:412,&quot;width&quot;:318,&quot;resizeWidth&quot;:276,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;undefined&quot;,&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="undefined" title="undefined" srcset="https://substackcdn.com/image/fetch/$s_!B2k4!,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%2Fb3e0cb47-d03e-4daf-a2da-8803c30dc437_318x412.jpeg 424w, https://substackcdn.com/image/fetch/$s_!B2k4!,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%2Fb3e0cb47-d03e-4daf-a2da-8803c30dc437_318x412.jpeg 848w, https://substackcdn.com/image/fetch/$s_!B2k4!,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%2Fb3e0cb47-d03e-4daf-a2da-8803c30dc437_318x412.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!B2k4!,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%2Fb3e0cb47-d03e-4daf-a2da-8803c30dc437_318x412.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>This free book by Andrew Ng covers how to handle different situations that happen in Machine Learning projects: what to do when you struggle to create a good model? Which metrics should I use to guide my team? And so on.</p><p><strong>Quick notes:</strong></p><ul><li><p>This is not technically heavy, and it focuses on giving broader pieces of advice. So do not expect an in-depth explanation of techniques. </p></li><li><p>In my experience, even non-technical managers (that sometimes manage or interact with data scientists / MLEs) find the concepts presented by the book easy to understand. </p></li></ul><p></p><h2>Deep Diving</h2><p>If you are already comfortable with the basics, it&#8217;s time to specialize further in a topic. Here, I separated two books on hot topics that could serve that purpose.</p><h3>Deep Learning Book [<a href="https://geni.us/deep-learning-book">Buy it Here</a>]</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!lnHn!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fa04eca45-46af-4ef5-8836-d9c2cd385704_1536x2022.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!lnHn!,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%2Fa04eca45-46af-4ef5-8836-d9c2cd385704_1536x2022.jpeg 424w, https://substackcdn.com/image/fetch/$s_!lnHn!,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%2Fa04eca45-46af-4ef5-8836-d9c2cd385704_1536x2022.jpeg 848w, https://substackcdn.com/image/fetch/$s_!lnHn!,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%2Fa04eca45-46af-4ef5-8836-d9c2cd385704_1536x2022.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!lnHn!,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%2Fa04eca45-46af-4ef5-8836-d9c2cd385704_1536x2022.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!lnHn!,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%2Fa04eca45-46af-4ef5-8836-d9c2cd385704_1536x2022.jpeg" width="268" height="352.8543956043956" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/a04eca45-46af-4ef5-8836-d9c2cd385704_1536x2022.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1917,&quot;width&quot;:1456,&quot;resizeWidth&quot;:268,&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_!lnHn!,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%2Fa04eca45-46af-4ef5-8836-d9c2cd385704_1536x2022.jpeg 424w, https://substackcdn.com/image/fetch/$s_!lnHn!,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%2Fa04eca45-46af-4ef5-8836-d9c2cd385704_1536x2022.jpeg 848w, https://substackcdn.com/image/fetch/$s_!lnHn!,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%2Fa04eca45-46af-4ef5-8836-d9c2cd385704_1536x2022.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!lnHn!,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%2Fa04eca45-46af-4ef5-8836-d9c2cd385704_1536x2022.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Written by top names in the field, this book is an excellent dive into deep learning, focusing primarily on understanding the techniques. Apart from the Amazon version, there is also a <a href="https://www.deeplearningbook.org/">free online version</a>.</p><p>Tips:</p><ul><li><p>It has a refresher on Linear Algebra. Even though it is not 100% necessary to understand the remaining of the book, I recommend studying it so you can gain more in-depth knowledge from this book. </p></li><li><p>This book does not contain recent advancements in deep learning (such as transformers, stable diffusion models, etc.), but it surely builds the foundation for you to understand those.</p></li></ul><p></p><h4>Causal Inference [<a href="https://www.oreilly.com/library/view/causal-inference-in/9781098140243/">Buy it Here</a>]</h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!pBKk!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fef84d15a-204e-416a-be47-ee5471ae4424_250x328.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!pBKk!,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%2Fef84d15a-204e-416a-be47-ee5471ae4424_250x328.jpeg 424w, https://substackcdn.com/image/fetch/$s_!pBKk!,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%2Fef84d15a-204e-416a-be47-ee5471ae4424_250x328.jpeg 848w, https://substackcdn.com/image/fetch/$s_!pBKk!,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%2Fef84d15a-204e-416a-be47-ee5471ae4424_250x328.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!pBKk!,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%2Fef84d15a-204e-416a-be47-ee5471ae4424_250x328.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!pBKk!,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%2Fef84d15a-204e-416a-be47-ee5471ae4424_250x328.jpeg" width="250" height="328" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/ef84d15a-204e-416a-be47-ee5471ae4424_250x328.jpeg&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;:&quot;Causal Inference in Python&quot;,&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="Causal Inference in Python" title="Causal Inference in Python" srcset="https://substackcdn.com/image/fetch/$s_!pBKk!,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%2Fef84d15a-204e-416a-be47-ee5471ae4424_250x328.jpeg 424w, https://substackcdn.com/image/fetch/$s_!pBKk!,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%2Fef84d15a-204e-416a-be47-ee5471ae4424_250x328.jpeg 848w, https://substackcdn.com/image/fetch/$s_!pBKk!,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%2Fef84d15a-204e-416a-be47-ee5471ae4424_250x328.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!pBKk!,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%2Fef84d15a-204e-416a-be47-ee5471ae4424_250x328.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Causal Inference is a topic on the rise in Data Science and AI because the estimation of impacts and effects of changes appear in many practical situations, such as in defining pricing strategies.</p><p><strong>Quick tips:</strong></p><ul><li><p>The author also has a blog version of this book available for free <a href="https://matheusfacure.github.io/python-causality-handbook/landing-page.html">here</a>, a good option if you are in doubt about whether to buy the O&#8217;Reilly version.</p></li><li><p>Mathematical notation is used, but the author does an excellent job explaining it. Anyway, it is not a book to speed read. </p></li></ul><p></p><h2>Managers</h2><p>The <em>Machine Learning Yearning</em> book I mentioned above is helpful for managers with specific advice for ML projects. The following books will not be specifically about ML but apply to managers in this field.</p><p></p><h4>The Making of a Manager [<a href="https://geni.us/makingofamanager">Buy it Here</a>]</h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!pivb!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F7d186b4e-2ead-4615-808f-339b9d2f5f74_1688x2550.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!pivb!,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%2F7d186b4e-2ead-4615-808f-339b9d2f5f74_1688x2550.jpeg 424w, https://substackcdn.com/image/fetch/$s_!pivb!,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%2F7d186b4e-2ead-4615-808f-339b9d2f5f74_1688x2550.jpeg 848w, https://substackcdn.com/image/fetch/$s_!pivb!,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%2F7d186b4e-2ead-4615-808f-339b9d2f5f74_1688x2550.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!pivb!,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%2F7d186b4e-2ead-4615-808f-339b9d2f5f74_1688x2550.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!pivb!,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%2F7d186b4e-2ead-4615-808f-339b9d2f5f74_1688x2550.jpeg" width="290" height="438.1868131868132" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/7d186b4e-2ead-4615-808f-339b9d2f5f74_1688x2550.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:2200,&quot;width&quot;:1456,&quot;resizeWidth&quot;:290,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;The Making of a Manager: What to Do When Everyone Looks to You |  Amazon.com.br&quot;,&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="The Making of a Manager: What to Do When Everyone Looks to You |  Amazon.com.br" title="The Making of a Manager: What to Do When Everyone Looks to You |  Amazon.com.br" srcset="https://substackcdn.com/image/fetch/$s_!pivb!,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%2F7d186b4e-2ead-4615-808f-339b9d2f5f74_1688x2550.jpeg 424w, https://substackcdn.com/image/fetch/$s_!pivb!,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%2F7d186b4e-2ead-4615-808f-339b9d2f5f74_1688x2550.jpeg 848w, https://substackcdn.com/image/fetch/$s_!pivb!,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%2F7d186b4e-2ead-4615-808f-339b9d2f5f74_1688x2550.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!pivb!,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%2F7d186b4e-2ead-4615-808f-339b9d2f5f74_1688x2550.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Julie Zhuo (ex-VP at Facebook) brings many of her experiences that help readers understand the path to becoming a senior manager.</p><ul><li><p>&#8220;Your job, as a manager, is to get better outcomes from a group of people working together.&#8221; This good quote summarizes this book's focus: people management. </p></li></ul><p></p><p></p><h4>An Elegant Puzzle [<a href="https://geni.us/an-elegant-puzzle">Buy it Here</a>]</h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Lovx!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fa58e53ec-bc49-4036-aa2b-827a0c64c67d_1000x1480.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Lovx!,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%2Fa58e53ec-bc49-4036-aa2b-827a0c64c67d_1000x1480.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Lovx!,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%2Fa58e53ec-bc49-4036-aa2b-827a0c64c67d_1000x1480.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Lovx!,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%2Fa58e53ec-bc49-4036-aa2b-827a0c64c67d_1000x1480.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Lovx!,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%2Fa58e53ec-bc49-4036-aa2b-827a0c64c67d_1000x1480.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Lovx!,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%2Fa58e53ec-bc49-4036-aa2b-827a0c64c67d_1000x1480.jpeg" width="312" height="461.76" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/a58e53ec-bc49-4036-aa2b-827a0c64c67d_1000x1480.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1480,&quot;width&quot;:1000,&quot;resizeWidth&quot;:312,&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_!Lovx!,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%2Fa58e53ec-bc49-4036-aa2b-827a0c64c67d_1000x1480.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Lovx!,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%2Fa58e53ec-bc49-4036-aa2b-827a0c64c67d_1000x1480.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Lovx!,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%2Fa58e53ec-bc49-4036-aa2b-827a0c64c67d_1000x1480.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Lovx!,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%2Fa58e53ec-bc49-4036-aa2b-827a0c64c67d_1000x1480.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>This book focus on &#8220;Engineering Management,&#8221; which is closely related to what one does as a Data Science / MLE Manager. It focuses on providing the correct systems to handle different topics, making this book the most practical I&#8217;ve read on technical management.</p><p>Tips:</p><ul><li><p>It covers many novel topics for new managers, such as Hiring, Influencing through Culture, and Team Design.</p></li><li><p>The topics presented are independent, so you can read them in any order.</p></li></ul><p></p><h2>Classics</h2><p>To the ones looking for more in-depth resources.</p><p></p><h4>Artificial Intelligence: A Modern Approach [<a href="https://geni.us/ai-modern">Buy it Here</a>]</h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!nPw_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F832569de-697a-49ca-8dc8-25d1d8ab7870_397x500.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!nPw_!,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%2F832569de-697a-49ca-8dc8-25d1d8ab7870_397x500.jpeg 424w, https://substackcdn.com/image/fetch/$s_!nPw_!,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%2F832569de-697a-49ca-8dc8-25d1d8ab7870_397x500.jpeg 848w, https://substackcdn.com/image/fetch/$s_!nPw_!,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%2F832569de-697a-49ca-8dc8-25d1d8ab7870_397x500.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!nPw_!,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%2F832569de-697a-49ca-8dc8-25d1d8ab7870_397x500.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!nPw_!,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%2F832569de-697a-49ca-8dc8-25d1d8ab7870_397x500.jpeg" width="299" height="376.5743073047859" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/832569de-697a-49ca-8dc8-25d1d8ab7870_397x500.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:500,&quot;width&quot;:397,&quot;resizeWidth&quot;:299,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Artificial Intelligence: A Modern Approach | Amazon.com.br&quot;,&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="Artificial Intelligence: A Modern Approach | Amazon.com.br" title="Artificial Intelligence: A Modern Approach | Amazon.com.br" srcset="https://substackcdn.com/image/fetch/$s_!nPw_!,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%2F832569de-697a-49ca-8dc8-25d1d8ab7870_397x500.jpeg 424w, https://substackcdn.com/image/fetch/$s_!nPw_!,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%2F832569de-697a-49ca-8dc8-25d1d8ab7870_397x500.jpeg 848w, https://substackcdn.com/image/fetch/$s_!nPw_!,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%2F832569de-697a-49ca-8dc8-25d1d8ab7870_397x500.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!nPw_!,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%2F832569de-697a-49ca-8dc8-25d1d8ab7870_397x500.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Despite having a Machine Learning section, this book comprises Artificial Intelligence (broader than ML). Please look at the content table to ensure the topics interest you.</p><p><strong>Tips:</strong></p><ul><li><p>In my experience, some people that arrive in data science with non-computer science degrees typically have zero to little knowledge about many of the things presented, such as Search Algorithms (BFS/DFS/etc.) and Constraint Satisfaction Problems, which are very useful in many of the problem settings people face in this field.</p></li><li><p>Another good section of this book is Reinforcement Learning (RL). It provides an excellent introduction to this topic. I recommend <a href="https://geni.us/rl-sutton">Sutton's classic book</a> that focuses on RL if you love it.</p></li></ul><p></p><p></p><h4><strong>Pattern Recognition and Machine Learning [<a href="https://geni.us/pattern-bishop">Buy it Here</a>]</strong></h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ahgA!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F0a42d07d-b50e-48f8-95d4-d78a52f743d4_827x1117.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ahgA!,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%2F0a42d07d-b50e-48f8-95d4-d78a52f743d4_827x1117.jpeg 424w, https://substackcdn.com/image/fetch/$s_!ahgA!,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%2F0a42d07d-b50e-48f8-95d4-d78a52f743d4_827x1117.jpeg 848w, https://substackcdn.com/image/fetch/$s_!ahgA!,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%2F0a42d07d-b50e-48f8-95d4-d78a52f743d4_827x1117.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!ahgA!,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%2F0a42d07d-b50e-48f8-95d4-d78a52f743d4_827x1117.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ahgA!,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%2F0a42d07d-b50e-48f8-95d4-d78a52f743d4_827x1117.jpeg" width="314" height="424.10882708585245" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/0a42d07d-b50e-48f8-95d4-d78a52f743d4_827x1117.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1117,&quot;width&quot;:827,&quot;resizeWidth&quot;:314,&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_!ahgA!,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%2F0a42d07d-b50e-48f8-95d4-d78a52f743d4_827x1117.jpeg 424w, https://substackcdn.com/image/fetch/$s_!ahgA!,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%2F0a42d07d-b50e-48f8-95d4-d78a52f743d4_827x1117.jpeg 848w, https://substackcdn.com/image/fetch/$s_!ahgA!,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%2F0a42d07d-b50e-48f8-95d4-d78a52f743d4_827x1117.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!ahgA!,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%2F0a42d07d-b50e-48f8-95d4-d78a52f743d4_827x1117.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 role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Typically used as a textbook in Machine Learning classes, this book gives a more in-depth explanation of the algorithms with mathematical rigor you don&#8217;t find in most online courses.</p><p><strong>Tips:</strong></p><ul><li><p>Generally speaking, studying this book gives a more solid foundation than my beginner recommendations. However, it is way more prolonged, and this depth might be overkill for someone just starting, as most jobs will not require a super in-depth knowledge of each algorithm. In the end, you choose the practical approach or the academic approach.</p></li><li><p>I recommend going through this book linearly, as many of the sections reference past sections, and reuse the same notations throughout the book. </p></li></ul><p></p><h2>Conclusion</h2><p>The Data Science &amp; AI field has much to study, which makes it both challenging and intellectually rewarding. Remember that it is acceptable only to know a few topics in-depth and try to focus on continual improvement instead.</p><p>At The Overfit, I bring the most important topics to foster this continual improvement for anyone building a career in this field, filtering through all the noise and presenting them in a palatable way. Consider <a href="https://www.theoverfit.com/subscribe">subscribing</a> if this appeals to you. :)</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.theoverfit.com/subscribe?&quot;,&quot;text&quot;:&quot;Inscrever-se&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">The Overfit 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="Inscrever-se"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p>I hope you find some of those books interesting! Good reading! </p>]]></content:encoded></item></channel></rss>