<?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[Suren's Substack]]></title><description><![CDATA[My personal Substack]]></description><link>https://sourenakhanzadeh.substack.com</link><image><url>https://substackcdn.com/image/fetch/$s_!jEMo!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb91a3a8-9a69-46c6-9441-04be52a4b1f2_144x144.png</url><title>Suren&apos;s Substack</title><link>https://sourenakhanzadeh.substack.com</link></image><generator>Substack</generator><lastBuildDate>Wed, 22 Jul 2026 04:06:50 GMT</lastBuildDate><atom:link href="https://sourenakhanzadeh.substack.com/feed" rel="self" type="application/rss+xml"/><copyright><![CDATA[Suren]]></copyright><language><![CDATA[en]]></language><webMaster><![CDATA[sourenakhanzadeh@substack.com]]></webMaster><itunes:owner><itunes:email><![CDATA[sourenakhanzadeh@substack.com]]></itunes:email><itunes:name><![CDATA[Sourena Khanzadeh]]></itunes:name></itunes:owner><itunes:author><![CDATA[Sourena Khanzadeh]]></itunes:author><googleplay:owner><![CDATA[sourenakhanzadeh@substack.com]]></googleplay:owner><googleplay:email><![CDATA[sourenakhanzadeh@substack.com]]></googleplay:email><googleplay:author><![CDATA[Sourena Khanzadeh]]></googleplay:author><itunes:block><![CDATA[Yes]]></itunes:block><item><title><![CDATA[Linear Algebra for AI Researcher]]></title><description><![CDATA[Part IV: Linear Transformation]]></description><link>https://sourenakhanzadeh.substack.com/p/linear-algebra-for-ai-researcher-66a</link><guid isPermaLink="false">https://sourenakhanzadeh.substack.com/p/linear-algebra-for-ai-researcher-66a</guid><dc:creator><![CDATA[Sourena Khanzadeh]]></dc:creator><pubDate>Mon, 08 Jun 2026 01:17:34 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/aeeb9893-ec54-4f77-8356-8ae0fe1747f7_1536x1024.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>A linear transformation is a rule that takes an input vector and produces an output vector while preserving the structure of vector spaces. In particular, a transformation <em>T</em> is linear when it satisfies:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;T(\\vec{x}+\\vec{y}) = T(\\vec{x}) + T(\\vec{y})\n\\quad \\text{and} \\quad\nT(c\\vec{x}) = cT(\\vec{x}).&quot;,&quot;id&quot;:&quot;XZBXXFGLCK&quot;}" data-component-name="LatexBlockToDOM"></div><p>The first condition says that transforming a sum is the same as transforming each vector first and then adding. The second condition says that scaling before transforming is the same as transforming first and then scaling.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://sourenakhanzadeh.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading Suren's Substack! Subscribe for free to receive new posts and support my work.</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>In finite-dimensional spaces, linear transformations are represented by matrices. For example, let</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;A = \\begin{pmatrix}\n2 &amp; 1 \\\\\n0 &amp; 1\n\\end{pmatrix},\n\\qquad\n\\vec{x} = \\begin{pmatrix} x \\\\ y \\end{pmatrix}.&quot;,&quot;id&quot;:&quot;YJKCWMZMNV&quot;}" data-component-name="LatexBlockToDOM"></div><p>Then the transformation <em>T(x) = Ax</em> is</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;T(\\vec{x})\n= \\begin{pmatrix}\n2 &amp; 1 \\\\\n0 &amp; 1\n\\end{pmatrix}\n\\begin{pmatrix} x \\\\ y \\end{pmatrix}\n= \\begin{pmatrix} 2x+y \\\\ y \\end{pmatrix}.&quot;,&quot;id&quot;:&quot;EGOEJDSFQW&quot;}" data-component-name="LatexBlockToDOM"></div><p>This transformation keeps the $y$-coordinate fixed but changes the $x$-coordinate, so it acts like a horizontal shear combined with stretching.</p><p>For a concrete example,</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;A\\begin{pmatrix} 1 \\\\ 2 \\end{pmatrix}\n= \\begin{pmatrix}\n2 &amp; 1 \\\\\n0 &amp; 1\n\\end{pmatrix}\n\\begin{pmatrix} 1 \\\\ 2 \\end{pmatrix}\n= \\begin{pmatrix} 4 \\\\ 2 \\end{pmatrix}.&quot;,&quot;id&quot;:&quot;ZKOAAXGEPD&quot;}" data-component-name="LatexBlockToDOM"></div><p>Geometrically, a matrix tells us where the standard basis vectors go:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\\vec{e}_1 = \\begin{pmatrix} 1 \\\\ 0 \\end{pmatrix},\n\\qquad\n\\vec{e}_2 = \\begin{pmatrix} 0 \\\\ 1 \\end{pmatrix}.&quot;,&quot;id&quot;:&quot;ILBIAQUCHK&quot;}" data-component-name="LatexBlockToDOM"></div><p>For the matrix <em>A</em> above,</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;A\\vec{e}_1 = \\begin{pmatrix} 2 \\\\ 0 \\end{pmatrix},\n\\qquad\nA\\vec{e}_2 = \\begin{pmatrix} 1 \\\\ 1 \\end{pmatrix}.&quot;,&quot;id&quot;:&quot;LFMCDGTVUC&quot;}" data-component-name="LatexBlockToDOM"></div><p>Once we know where <em>e_1</em> and <em>e_2</em> go, we know how every vector in the plane is transformed.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Ua_N!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feb5f68d3-c798-4cc7-ac94-1cb3d7977900_616x292.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Ua_N!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feb5f68d3-c798-4cc7-ac94-1cb3d7977900_616x292.png 424w, https://substackcdn.com/image/fetch/$s_!Ua_N!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feb5f68d3-c798-4cc7-ac94-1cb3d7977900_616x292.png 848w, https://substackcdn.com/image/fetch/$s_!Ua_N!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feb5f68d3-c798-4cc7-ac94-1cb3d7977900_616x292.png 1272w, https://substackcdn.com/image/fetch/$s_!Ua_N!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feb5f68d3-c798-4cc7-ac94-1cb3d7977900_616x292.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Ua_N!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feb5f68d3-c798-4cc7-ac94-1cb3d7977900_616x292.png" width="616" height="292" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/eb5f68d3-c798-4cc7-ac94-1cb3d7977900_616x292.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:292,&quot;width&quot;:616,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:32256,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://sourenakhanzadeh.substack.com/i/201081659?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feb5f68d3-c798-4cc7-ac94-1cb3d7977900_616x292.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Ua_N!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feb5f68d3-c798-4cc7-ac94-1cb3d7977900_616x292.png 424w, https://substackcdn.com/image/fetch/$s_!Ua_N!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feb5f68d3-c798-4cc7-ac94-1cb3d7977900_616x292.png 848w, https://substackcdn.com/image/fetch/$s_!Ua_N!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feb5f68d3-c798-4cc7-ac94-1cb3d7977900_616x292.png 1272w, https://substackcdn.com/image/fetch/$s_!Ua_N!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feb5f68d3-c798-4cc7-ac94-1cb3d7977900_616x292.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><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://sourenakhanzadeh.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading Suren's Substack! Subscribe for free to receive new posts and support my work.</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[Linear Algebra for AI Research]]></title><description><![CDATA[Part III: Norms and Distances]]></description><link>https://sourenakhanzadeh.substack.com/p/linear-algebra-for-ai-research-c6d</link><guid isPermaLink="false">https://sourenakhanzadeh.substack.com/p/linear-algebra-for-ai-research-c6d</guid><dc:creator><![CDATA[Sourena Khanzadeh]]></dc:creator><pubDate>Mon, 08 Jun 2026 01:01:28 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/3bba7be3-621c-4ac5-a2f5-f40754570338_1672x941.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>The journey so far brought us from matrices and tensors to norms and distances. Norms and distances are used to measure how far apart two vectors are from each other and to measure the size of the vector. The most common norm is the euclidian norm:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\\|\\vec{x}\\|_2\n= \\sqrt{x_1^2 + x_2^2 + \\cdots + x_n^2}.&quot;,&quot;id&quot;:&quot;CUERWOASBR&quot;}" data-component-name="LatexBlockToDOM"></div><p>For example:</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://sourenakhanzadeh.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading Suren's Substack! Subscribe for free to receive new posts and support my work.</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><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\\vec{x} = \\begin{pmatrix} 3 \\\\ 4 \\end{pmatrix},\n&quot;,&quot;id&quot;:&quot;FGOTROWIUV&quot;}" data-component-name="LatexBlockToDOM"></div><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\\|\\vec{x}\\|_2 = \\sqrt{3^2 + 4^2} = \\sqrt{25} = 5.&quot;,&quot;id&quot;:&quot;MWIEJBPLTB&quot;}" data-component-name="LatexBlockToDOM"></div><p>Other useful norms are the <em>L1</em> and <em>L infinite:</em></p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\\|\\vec{x}\\|_1 = |x_1| + |x_2| + \\cdots + |x_n|,\n\\qquad\n\\|\\vec{x}\\|_\\infty = \\max_i |x_i|.&quot;,&quot;id&quot;:&quot;TJSHAJGIVA&quot;}" data-component-name="LatexBlockToDOM"></div><p>for example:<br></p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\\vec{x} = \\begin{pmatrix} 3 \\\\ -4 \\\\ 2 \\end{pmatrix}&quot;,&quot;id&quot;:&quot;EONLDSAHKN&quot;}" data-component-name="LatexBlockToDOM"></div><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\\|\\vec{x}\\|_1 = |3| + |-4| + |2| = 9,\n\\qquad\n\\|\\vec{x}\\|_\\infty = 4.&quot;,&quot;id&quot;:&quot;BMUUIVPRXY&quot;}" data-component-name="LatexBlockToDOM"></div><p>The distance between two vectors is the norm of their difference:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;d(\\vec{x},\\vec{y}) = \\|\\vec{x}-\\vec{y}\\|.\n&quot;,&quot;id&quot;:&quot;AMWMVFNWCW&quot;}" data-component-name="LatexBlockToDOM"></div><p>using the Euclidian norm we have:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;d_2(\\vec{x},\\vec{y})\n= \\sqrt{(x_1-y_1)^2 + (x_2-y_2)^2 + \\cdots + (x_n-y_n)^2}.&quot;,&quot;id&quot;:&quot;EGTRPEEQMI&quot;}" data-component-name="LatexBlockToDOM"></div><p>Geometrically the norm is the length of the vector from the origin and while the distance is how far apart the vectors are from each other.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!uvxj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a576e61-d134-4c9d-b4ee-e8bab32b4918_580x306.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!uvxj!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a576e61-d134-4c9d-b4ee-e8bab32b4918_580x306.png 424w, https://substackcdn.com/image/fetch/$s_!uvxj!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a576e61-d134-4c9d-b4ee-e8bab32b4918_580x306.png 848w, https://substackcdn.com/image/fetch/$s_!uvxj!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a576e61-d134-4c9d-b4ee-e8bab32b4918_580x306.png 1272w, https://substackcdn.com/image/fetch/$s_!uvxj!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a576e61-d134-4c9d-b4ee-e8bab32b4918_580x306.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!uvxj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a576e61-d134-4c9d-b4ee-e8bab32b4918_580x306.png" width="580" height="306" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3a576e61-d134-4c9d-b4ee-e8bab32b4918_580x306.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:306,&quot;width&quot;:580,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:37275,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://sourenakhanzadeh.substack.com/i/201079235?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a576e61-d134-4c9d-b4ee-e8bab32b4918_580x306.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!uvxj!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a576e61-d134-4c9d-b4ee-e8bab32b4918_580x306.png 424w, https://substackcdn.com/image/fetch/$s_!uvxj!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a576e61-d134-4c9d-b4ee-e8bab32b4918_580x306.png 848w, https://substackcdn.com/image/fetch/$s_!uvxj!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a576e61-d134-4c9d-b4ee-e8bab32b4918_580x306.png 1272w, https://substackcdn.com/image/fetch/$s_!uvxj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a576e61-d134-4c9d-b4ee-e8bab32b4918_580x306.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><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://sourenakhanzadeh.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading Suren's Substack! Subscribe for free to receive new posts and support my work.</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[Linear Algebra for AI Researcher]]></title><description><![CDATA[Part II: Matrices and Tensors and Dot Product]]></description><link>https://sourenakhanzadeh.substack.com/p/linear-algebra-for-ai-researcher</link><guid isPermaLink="false">https://sourenakhanzadeh.substack.com/p/linear-algebra-for-ai-researcher</guid><dc:creator><![CDATA[Sourena Khanzadeh]]></dc:creator><pubDate>Sun, 07 Jun 2026 16:08:08 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/8472e10c-bc74-4310-a301-63f726d2a957_1672x941.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;11b4a485-b3fc-40ed-a154-0730fd1f5c12&quot;,&quot;caption&quot;:&quot;As discussed in the previous article on the AI Researcher Roadmap, we now move on to learning about linear algebra. This article is a condensed guide to the fundamentals of linear algebra. It is Part I of the series, and I will publish more articles on this topic.&quot;,&quot;cta&quot;:null,&quot;showBylines&quot;:true,&quot;showDescription&quot;:true,&quot;showImage&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;Linear Algebra for AI Research&quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:506095019,&quot;name&quot;:&quot;Sourena Khanzadeh&quot;,&quot;bio&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/cb91a3a8-9a69-46c6-9441-04be52a4b1f2_144x144.png&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2026-06-07T15:30:21.947Z&quot;,&quot;cover_image&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/fe57070d-e35d-4db0-a3be-17739e46e4dd_1672x941.png&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://sourenakhanzadeh.substack.com/p/linear-algebra-for-ai-research&quot;,&quot;section_name&quot;:null,&quot;video_upload_id&quot;:null,&quot;id&quot;:201015562,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:0,&quot;comment_count&quot;:0,&quot;publication_id&quot;:9281725,&quot;publication_name&quot;:&quot;Suren's Substack&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!jEMo!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb91a3a8-9a69-46c6-9441-04be52a4b1f2_144x144.png&quot;,&quot;belowTheFold&quot;:false,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><p>As we discussed on the previous post, when creating  a matrix we can use the combination of row vectors or column. however how does a matrix look like in the euclidean 2d space. Here we can see a diagram of what a matrix looks like:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Lxtt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5276f34b-c513-4189-a3d6-c5e1fc8bd4cb_606x309.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Lxtt!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5276f34b-c513-4189-a3d6-c5e1fc8bd4cb_606x309.png 424w, https://substackcdn.com/image/fetch/$s_!Lxtt!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5276f34b-c513-4189-a3d6-c5e1fc8bd4cb_606x309.png 848w, https://substackcdn.com/image/fetch/$s_!Lxtt!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5276f34b-c513-4189-a3d6-c5e1fc8bd4cb_606x309.png 1272w, https://substackcdn.com/image/fetch/$s_!Lxtt!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5276f34b-c513-4189-a3d6-c5e1fc8bd4cb_606x309.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Lxtt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5276f34b-c513-4189-a3d6-c5e1fc8bd4cb_606x309.png" width="606" height="309" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5276f34b-c513-4189-a3d6-c5e1fc8bd4cb_606x309.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:309,&quot;width&quot;:606,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:43452,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://sourenakhanzadeh.substack.com/i/201021592?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5276f34b-c513-4189-a3d6-c5e1fc8bd4cb_606x309.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Lxtt!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5276f34b-c513-4189-a3d6-c5e1fc8bd4cb_606x309.png 424w, https://substackcdn.com/image/fetch/$s_!Lxtt!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5276f34b-c513-4189-a3d6-c5e1fc8bd4cb_606x309.png 848w, https://substackcdn.com/image/fetch/$s_!Lxtt!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5276f34b-c513-4189-a3d6-c5e1fc8bd4cb_606x309.png 1272w, https://substackcdn.com/image/fetch/$s_!Lxtt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5276f34b-c513-4189-a3d6-c5e1fc8bd4cb_606x309.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><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!B0n3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b2412ac-efd5-487a-86fa-5e87496d9aac_596x224.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!B0n3!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b2412ac-efd5-487a-86fa-5e87496d9aac_596x224.png 424w, https://substackcdn.com/image/fetch/$s_!B0n3!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b2412ac-efd5-487a-86fa-5e87496d9aac_596x224.png 848w, https://substackcdn.com/image/fetch/$s_!B0n3!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b2412ac-efd5-487a-86fa-5e87496d9aac_596x224.png 1272w, https://substackcdn.com/image/fetch/$s_!B0n3!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b2412ac-efd5-487a-86fa-5e87496d9aac_596x224.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!B0n3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b2412ac-efd5-487a-86fa-5e87496d9aac_596x224.png" width="596" height="224" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8b2412ac-efd5-487a-86fa-5e87496d9aac_596x224.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:224,&quot;width&quot;:596,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:30482,&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;:&quot;https://sourenakhanzadeh.substack.com/i/201021592?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b2412ac-efd5-487a-86fa-5e87496d9aac_596x224.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!B0n3!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b2412ac-efd5-487a-86fa-5e87496d9aac_596x224.png 424w, https://substackcdn.com/image/fetch/$s_!B0n3!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b2412ac-efd5-487a-86fa-5e87496d9aac_596x224.png 848w, https://substackcdn.com/image/fetch/$s_!B0n3!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b2412ac-efd5-487a-86fa-5e87496d9aac_596x224.png 1272w, https://substackcdn.com/image/fetch/$s_!B0n3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b2412ac-efd5-487a-86fa-5e87496d9aac_596x224.png 1456w" sizes="100vw"></picture><div></div></div></a></figure></div><p>Pairwise multiplication, also called the <em>Hadamard </em>product, multiplies corresponding entries:</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://sourenakhanzadeh.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading Suren's Substack! Subscribe for free to receive new posts and support my work.</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><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;C \\odot D\n= \\begin{pmatrix}\n1 &amp; 2 \\\\\n3 &amp; 4\n\\end{pmatrix}\n\\odot\n\\begin{pmatrix}\n5 &amp; 6 \\\\\n7 &amp; 8\n\\end{pmatrix}\n= \\begin{pmatrix}\n1\\cdot 5 &amp; 2\\cdot 6 \\\\\n3\\cdot 7 &amp; 4\\cdot 8\n\\end{pmatrix}\n= \\begin{pmatrix}\n5 &amp; 12 \\\\\n21 &amp; 32\n\\end{pmatrix}.&quot;,&quot;id&quot;:&quot;NGCDFVTZRK&quot;}" data-component-name="LatexBlockToDOM"></div><p>We can also get the dot product of a vector, such as:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\\vec{x} \\cdot \\vec{y}\n= \\sum_{i=1}^{n} x_i y_i\n= x_1y_1 + x_2y_2 + \\cdots + x_ny_n.&quot;,&quot;id&quot;:&quot;VDTWBDYIYJ&quot;}" data-component-name="LatexBlockToDOM"></div><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!m_jR!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9893afdf-750b-46c3-8cdb-7e2efb6a6fc8_438x374.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!m_jR!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9893afdf-750b-46c3-8cdb-7e2efb6a6fc8_438x374.png 424w, https://substackcdn.com/image/fetch/$s_!m_jR!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9893afdf-750b-46c3-8cdb-7e2efb6a6fc8_438x374.png 848w, https://substackcdn.com/image/fetch/$s_!m_jR!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9893afdf-750b-46c3-8cdb-7e2efb6a6fc8_438x374.png 1272w, https://substackcdn.com/image/fetch/$s_!m_jR!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9893afdf-750b-46c3-8cdb-7e2efb6a6fc8_438x374.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!m_jR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9893afdf-750b-46c3-8cdb-7e2efb6a6fc8_438x374.png" width="438" height="374" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9893afdf-750b-46c3-8cdb-7e2efb6a6fc8_438x374.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:374,&quot;width&quot;:438,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:29254,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://sourenakhanzadeh.substack.com/i/201021592?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9893afdf-750b-46c3-8cdb-7e2efb6a6fc8_438x374.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!m_jR!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9893afdf-750b-46c3-8cdb-7e2efb6a6fc8_438x374.png 424w, https://substackcdn.com/image/fetch/$s_!m_jR!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9893afdf-750b-46c3-8cdb-7e2efb6a6fc8_438x374.png 848w, https://substackcdn.com/image/fetch/$s_!m_jR!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9893afdf-750b-46c3-8cdb-7e2efb6a6fc8_438x374.png 1272w, https://substackcdn.com/image/fetch/$s_!m_jR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9893afdf-750b-46c3-8cdb-7e2efb6a6fc8_438x374.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>A tensor is  a mathematical object that generalizes a scalar, vector and matrices in higher dimension. Think of matrices in higher dimensions.</p><p>This concludes the article. As we progress further into the course, we will define and explore more linear algebra concepts needed for AI research.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://sourenakhanzadeh.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading Suren's Substack! Subscribe for free to receive new posts and support my work.</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[Linear Algebra for AI Research]]></title><description><![CDATA[Part I: scalars, vectors and matrices]]></description><link>https://sourenakhanzadeh.substack.com/p/linear-algebra-for-ai-research</link><guid isPermaLink="false">https://sourenakhanzadeh.substack.com/p/linear-algebra-for-ai-research</guid><dc:creator><![CDATA[Sourena Khanzadeh]]></dc:creator><pubDate>Sun, 07 Jun 2026 15:30:21 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/fe57070d-e35d-4db0-a3be-17739e46e4dd_1672x941.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>As discussed in the previous article on the AI Researcher Roadmap, we now move on to learning about <strong>linear algebra</strong>. This article is a condensed guide to the fundamentals of linear algebra. It is Part I of the series, and I will publish more articles on this topic.</p><p>In this guide, I will cover some of the mathematics and code behind algebraic operations, which form the backbone of modern Machine Learning (ML).</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://sourenakhanzadeh.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading Suren's Substack! Subscribe for free to receive new posts and support my work.</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>The table of contents for this guide is as follows:</p><ul><li><p>Scalars, Vectors, Matrices, and Tensors</p></li><li><p>Matrix Operations</p></li><li><p>Dot Product</p></li><li><p>Norms and Distances</p></li><li><p>Linear Transformations</p></li><li><p>Eigenvalues and Eigenvectors</p></li><li><p>Matrix Factorization</p></li><li><p>Singular Value Decomposition, SVD</p></li><li><p>Orthogonality</p></li><li><p>Projections</p></li><li><p>Rank</p></li><li><p>Positive Definite Matrices</p></li></ul><h2>Scalars, Vectors, and Matrices</h2><p>In linear algebra, we encounter different algebraic notations. For example, vectors consist of both magnitude and direction. They can be added together and multiplied, or scaled, by a number called a <strong>scalar</strong>.</p><p>Here are some examples of a vector.</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\n\\vec{u} = \\begin{pmatrix} 2 \\\\ -1 \\\\ 3 \\end{pmatrix}\n\\quad \\text{and} \\quad\n\\vec{v} = \\begin{pmatrix} 1 \\\\ 4 \\\\ 0 \\end{pmatrix}.&quot;,&quot;id&quot;:&quot;SXJYXRZPBJ&quot;}" data-component-name="LatexBlockToDOM"></div><p>Here is what happens when vector <strong>u</strong> is scaled by scalar <strong>c</strong>:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;c\\vec{u} = c\\begin{pmatrix} 2 \\\\ -1 \\\\ 3 \\end{pmatrix}\n= \\begin{pmatrix} 2c \\\\ -c \\\\ 3c \\end{pmatrix}.&quot;,&quot;id&quot;:&quot;ZHKFASNXYJ&quot;}" data-component-name="LatexBlockToDOM"></div><p>Here is what happens when vector <strong>u</strong> is added to vector <strong>v</strong>:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\\vec{u} + \\vec{v}\n= \\begin{pmatrix} 2+1 \\\\ -1+4 \\\\ 3+0 \\end{pmatrix}\n= \\begin{pmatrix} 3 \\\\ 3 \\\\ 3 \\end{pmatrix}.\n&quot;,&quot;id&quot;:&quot;EYZHXUKGTL&quot;}" data-component-name="LatexBlockToDOM"></div><p>Vectors can be represented as column vectors, such as <strong>u</strong> and <strong>v</strong>, or as row vectors, like this:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\\vec{d} = \\begin{pmatrix} 3 &amp; 2 \\end{pmatrix}.&quot;,&quot;id&quot;:&quot;QLKUFEASYI&quot;}" data-component-name="LatexBlockToDOM"></div><p>Vector <strong>d</strong> is a vector in two-dimensional Euclidean space, and it looks something like this:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!kVds!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feff12806-28d5-473e-8cf3-0da8254c30e0_175x143.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!kVds!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feff12806-28d5-473e-8cf3-0da8254c30e0_175x143.png 424w, https://substackcdn.com/image/fetch/$s_!kVds!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feff12806-28d5-473e-8cf3-0da8254c30e0_175x143.png 848w, https://substackcdn.com/image/fetch/$s_!kVds!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feff12806-28d5-473e-8cf3-0da8254c30e0_175x143.png 1272w, https://substackcdn.com/image/fetch/$s_!kVds!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feff12806-28d5-473e-8cf3-0da8254c30e0_175x143.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!kVds!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feff12806-28d5-473e-8cf3-0da8254c30e0_175x143.png" width="175" height="143" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/eff12806-28d5-473e-8cf3-0da8254c30e0_175x143.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:143,&quot;width&quot;:175,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:3534,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://sourenakhanzadeh.substack.com/i/201015562?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feff12806-28d5-473e-8cf3-0da8254c30e0_175x143.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!kVds!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feff12806-28d5-473e-8cf3-0da8254c30e0_175x143.png 424w, https://substackcdn.com/image/fetch/$s_!kVds!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feff12806-28d5-473e-8cf3-0da8254c30e0_175x143.png 848w, https://substackcdn.com/image/fetch/$s_!kVds!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feff12806-28d5-473e-8cf3-0da8254c30e0_175x143.png 1272w, https://substackcdn.com/image/fetch/$s_!kVds!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feff12806-28d5-473e-8cf3-0da8254c30e0_175x143.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Vector <strong>d</strong> can be compressed using the scalar <strong>0.5</strong>, and visually, it looks something like this:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!pP9-!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7a06ad6-3fc1-4c7e-98a4-048988ca0410_167x137.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!pP9-!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7a06ad6-3fc1-4c7e-98a4-048988ca0410_167x137.png 424w, https://substackcdn.com/image/fetch/$s_!pP9-!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7a06ad6-3fc1-4c7e-98a4-048988ca0410_167x137.png 848w, https://substackcdn.com/image/fetch/$s_!pP9-!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7a06ad6-3fc1-4c7e-98a4-048988ca0410_167x137.png 1272w, https://substackcdn.com/image/fetch/$s_!pP9-!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7a06ad6-3fc1-4c7e-98a4-048988ca0410_167x137.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!pP9-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7a06ad6-3fc1-4c7e-98a4-048988ca0410_167x137.png" width="167" height="137" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e7a06ad6-3fc1-4c7e-98a4-048988ca0410_167x137.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:137,&quot;width&quot;:167,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:5046,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://sourenakhanzadeh.substack.com/i/201015562?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7a06ad6-3fc1-4c7e-98a4-048988ca0410_167x137.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!pP9-!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7a06ad6-3fc1-4c7e-98a4-048988ca0410_167x137.png 424w, https://substackcdn.com/image/fetch/$s_!pP9-!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7a06ad6-3fc1-4c7e-98a4-048988ca0410_167x137.png 848w, https://substackcdn.com/image/fetch/$s_!pP9-!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7a06ad6-3fc1-4c7e-98a4-048988ca0410_167x137.png 1272w, https://substackcdn.com/image/fetch/$s_!pP9-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7a06ad6-3fc1-4c7e-98a4-048988ca0410_167x137.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>The addition of vector <strong>d</strong> and <strong>(2, 3)</strong> results in the vector <strong>(5, 5)</strong>, which looks something like this:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!uquH!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2a1d9084-cdb7-4237-b13a-efcf5c2873a7_229x214.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!uquH!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2a1d9084-cdb7-4237-b13a-efcf5c2873a7_229x214.png 424w, https://substackcdn.com/image/fetch/$s_!uquH!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2a1d9084-cdb7-4237-b13a-efcf5c2873a7_229x214.png 848w, https://substackcdn.com/image/fetch/$s_!uquH!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2a1d9084-cdb7-4237-b13a-efcf5c2873a7_229x214.png 1272w, https://substackcdn.com/image/fetch/$s_!uquH!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2a1d9084-cdb7-4237-b13a-efcf5c2873a7_229x214.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!uquH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2a1d9084-cdb7-4237-b13a-efcf5c2873a7_229x214.png" width="229" height="214" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2a1d9084-cdb7-4237-b13a-efcf5c2873a7_229x214.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:214,&quot;width&quot;:229,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:10832,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://sourenakhanzadeh.substack.com/i/201015562?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2a1d9084-cdb7-4237-b13a-efcf5c2873a7_229x214.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!uquH!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2a1d9084-cdb7-4237-b13a-efcf5c2873a7_229x214.png 424w, https://substackcdn.com/image/fetch/$s_!uquH!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2a1d9084-cdb7-4237-b13a-efcf5c2873a7_229x214.png 848w, https://substackcdn.com/image/fetch/$s_!uquH!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2a1d9084-cdb7-4237-b13a-efcf5c2873a7_229x214.png 1272w, https://substackcdn.com/image/fetch/$s_!uquH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2a1d9084-cdb7-4237-b13a-efcf5c2873a7_229x214.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>We can think of a matrix as a collection of row vectors:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;A = \\begin{pmatrix}\n\\vec{r}_1 \\\\\n\\vec{r}_2 \\\\\n\\vec{r}_3\n\\end{pmatrix},\n\\quad\n\\vec{r}_1 = \\begin{pmatrix} 1 &amp; 2 &amp; 3 \\end{pmatrix},\n\\quad\n\\vec{r}_2 = \\begin{pmatrix} 4 &amp; 5 &amp; 6 \\end{pmatrix},\n\\quad\n\\vec{r}_3 = \\begin{pmatrix} 7 &amp; 8 &amp; 9 \\end{pmatrix}.&quot;,&quot;id&quot;:&quot;IDDKBVQEPA&quot;}" data-component-name="LatexBlockToDOM"></div><p>It can also be viewed as a collection of column vectors:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;A = \\begin{pmatrix} \\vec{c}_1 &amp; \\vec{c}_2 &amp; \\vec{c}_3 \\end{pmatrix},\n\\quad\n\\vec{c}_1 = \\begin{pmatrix} 1 \\\\ 4 \\\\ 7 \\end{pmatrix},\n\\quad\n\\vec{c}_2 = \\begin{pmatrix} 2 \\\\ 5 \\\\ 8 \\end{pmatrix},\n\\quad\n\\vec{c}_3 = \\begin{pmatrix} 3 \\\\ 6 \\\\ 9 \\end{pmatrix}.&quot;,&quot;id&quot;:&quot;ZCIXBTALJG&quot;}" data-component-name="LatexBlockToDOM"></div><p>This concludes our tutorial on vectors, scalars, and matrices. More details about matrices will be discussed in future articles. Stay tuned.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://sourenakhanzadeh.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading Suren's Substack! Subscribe for free to receive new posts and support my work.</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[AI Research RoadMap]]></title><description><![CDATA[Introduction to AI Research]]></description><link>https://sourenakhanzadeh.substack.com/p/ai-research-roadmap</link><guid isPermaLink="false">https://sourenakhanzadeh.substack.com/p/ai-research-roadmap</guid><dc:creator><![CDATA[Sourena Khanzadeh]]></dc:creator><pubDate>Sun, 07 Jun 2026 04:12:19 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/50b95daf-ced7-41d4-aeef-f9e69a3c720c_1672x941.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Welcome to my Substack. I am trying to write a series about the AI research roadmap. I will explain all the necessary fundamentals you need to know before becoming an AI researcher. My name is Sourena Khanzadeh, and I recently defended my PhD in computer science. Here are my two cents of advice for those who want to become AI researchers.</p><p>In this series, I will provide a deep dive into mathematics, research basics, and, finally, insights into state-of-the-art and classic research papers. Here is a list of things you need to know in order to become a fully fledged AI researcher, some of which you may already know.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://sourenakhanzadeh.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading Suren's Substack! Subscribe for free to receive new posts and support my work.</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>One caveat: AI is a huge domain, and you must be specific about the topic you want to explore in order to become world-class in it. I am certainly not world-class in anything yet, but I am trying my best to get there. :-)</p><h2>My Personal Roadmap</h2><h3>Mathematics</h3><ul><li><p>Linear algebra</p></li><li><p>Probability and statistics</p></li><li><p>Information theory</p></li><li><p>Optimization</p></li><li><p>Calculus</p></li></ul><h3>Coding</h3><h4>Python</h4><ul><li><p>Syntax</p></li><li><p>Basic keywords</p></li><li><p>Basic built-in functions</p></li><li><p>Conditionals</p></li><li><p>Object-oriented programming</p></li></ul><h4>ML Frameworks</h4><ul><li><p>PyTorch</p></li><li><p>TensorFlow</p></li><li><p>scikit-learn</p></li></ul><h4>Other Libraries</h4><ul><li><p>NumPy</p></li><li><p>Matplotlib</p></li><li><p>SciPy</p></li><li><p>Seaborn</p></li></ul><h3><strong>Machine Learning Fundamental's</strong></h3><ul><li><p>Supervised learning</p></li><li><p>Unsupervised learning</p></li><li><p>Semi-supervised learning</p></li><li><p>Reinforcement learning</p></li><li><p>Loss functions</p></li><li><p>Regularization</p></li><li><p>Overfitting and underfitting</p></li><li><p>Cross-validation</p></li><li><p>Bias&#8211;variance tradeoff</p></li><li><p>Feature engineering</p></li><li><p>Evaluation metrics</p></li></ul><h3>Deep Learning</h3><ul><li><p>Neural networks</p></li><li><p>Backpropagation</p></li><li><p>Activation functions</p></li><li><p>Initialization</p></li><li><p>Normalization</p></li><li><p>CNNs</p></li><li><p>RNNs / LSTMs</p></li><li><p>Transformers</p></li><li><p>Attention mechanisms</p></li><li><p>Autoencoders</p></li><li><p>Diffusion models</p></li><li><p>Generative models</p></li></ul><h2>Research Practice</h2><ul><li><p>Read papers consistently</p></li><li><p>Reproduce important papers</p></li><li><p>Build small projects</p></li><li><p>Run controlled experiments</p></li><li><p>Write technical notes</p></li><li><p>Share code publicly</p></li><li><p>Learn to communicate results clearly</p></li><li><p>Develop taste for good research questions</p></li></ul><h3>Tools</h3><ul><li><p>Git and GitHub</p></li><li><p>Linux / command line</p></li><li><p>Jupyter notebooks</p></li><li><p>Docker</p></li><li><p>Conda / virtual environments</p></li><li><p>Weights &amp; Biases or TensorBoard</p></li><li><p>Slurm or cluster computing basics</p></li><li><p>Cloud platforms such as AWS, GCP, or Azure</p></li></ul><h3>Fluency in English</h3><ul><li><p>Reading</p></li><li><p>Writing</p></li></ul><p>Domains that you can specialize in after learning the basics are as follows:</p><ul><li><p>Computer vision</p></li><li><p>Natural language processing</p></li><li><p>Reinforcement learning</p></li><li><p>Robotics</p></li><li><p>Generative AI</p></li><li><p>Multimodal learning</p></li><li><p>AI safety</p></li><li><p>Interpretability</p></li><li><p>Causal inference</p></li><li><p>Graph machine learning</p></li><li><p>Recommendation systems</p></li><li><p>AI for science</p></li><li><p>Human-AI interaction</p></li><li><p>Bias and fairness</p></li><li><p>Privacy</p></li><li><p>Security</p></li><li><p>Model misuse</p></li><li><p>Interpretability</p></li><li><p>Alignment</p></li><li><p>Evaluation of harmful outputs</p></li><li><p>Responsible deployment</p></li></ul><p><strong>Next, we will explore the topic of linear algebra, as it is the backbone of machine learning. I will cover the necessary concepts and skills needed to understand vectors, matrices, and their operations, which form the foundation of modern AI systems.</strong></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://sourenakhanzadeh.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading Suren's Substack! Subscribe for free to receive new posts and support my work.</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></channel></rss>