<?xml version="1.0" encoding="UTF-8"?>
<rss  xmlns:atom="http://www.w3.org/2005/Atom" 
      xmlns:media="http://search.yahoo.com/mrss/" 
      xmlns:content="http://purl.org/rss/1.0/modules/content/" 
      xmlns:dc="http://purl.org/dc/elements/1.1/" 
      version="2.0">
<channel>
<title>Kwstakhcc&#39;s Blog</title>
<link>https://github.com/kwstakhcc/cool_math_blog/</link>
<atom:link href="https://github.com/kwstakhcc/cool_math_blog/index.xml" rel="self" type="application/rss+xml"/>
<description>Posts regarding some relatively unknown and cool theorems in Stochastic Analysis</description>
<generator>quarto-1.9.37</generator>
<lastBuildDate>Tue, 19 May 2026 21:00:00 GMT</lastBuildDate>
<item>
  <title>First Post</title>
  <link>https://github.com/kwstakhcc/cool_math_blog/posts/welcome/</link>
  <description><![CDATA[ 





<p>This is a post to test what stuff can i actually write on a qmd file.</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb1" style="background: #f1f3f5;"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb1-1"><span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">def</span> f(x: <span class="bu" style="color: null;
background-color: null;
font-style: inherit;">int</span>):</span>
<span id="cb1-2">    <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">return</span> x<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">+</span><span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">1</span></span></code></pre></div></div>
<div class="callout callout-style-default callout-warning callout-titled">
<div class="callout-header d-flex align-content-center">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
<div class="callout-title-container flex-fill">
Warning
</div>
</div>
<div class="callout-body-container callout-body">
<p>Be careful of not writing functions like these in python, and using lambda expressions instead.</p>
</div>
</div>
<p>For example, we can initialize a function object that matches the aforementioned procedure, as follows,</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb2" style="background: #f1f3f5;"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb2-1">    <span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># Initializing function object.</span></span>
<span id="cb2-2">    f <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> <span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">lambda</span> x : x <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">+</span> <span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">1</span></span>
<span id="cb2-3"></span>
<span id="cb2-4">    <span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># Evaluating the function at a specific point.</span></span>
<span id="cb2-5">    x0 <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> <span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">5</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">;</span> eval_f_x0 <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> f(x0)<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">;</span></span>
<span id="cb2-6"></span>
<span id="cb2-7">    <span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># Printing the result.</span></span>
<span id="cb2-8">    <span class="bu" style="color: null;
background-color: null;
font-style: inherit;">print</span>(eval_f_x0)</span></code></pre></div></div>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><img src="https://github.com/kwstakhcc/cool_math_blog/posts/welcome/okso.jpg" height="500" class="figure-img"></p>
<figcaption>A dumby dumbo image</figcaption>
</figure>
</div>



 ]]></description>
  <category>news</category>
  <category>code</category>
  <guid>https://github.com/kwstakhcc/cool_math_blog/posts/welcome/</guid>
  <pubDate>Tue, 19 May 2026 21:00:00 GMT</pubDate>
  <media:content url="https://github.com/kwstakhcc/cool_math_blog/posts/welcome/thumbnail.jpg" medium="image" type="image/jpeg"/>
</item>
<item>
  <title>The Gradient Descent Algorithm</title>
  <link>https://github.com/kwstakhcc/cool_math_blog/posts/optimization-gd/</link>
  <description><![CDATA[ 





<section id="introduction" class="level3">
<h3 class="anchored" data-anchor-id="introduction">Introduction</h3>
<p>Let’s try and understand the gradient descent algorithm and it’s use cases in optimization.</p>
<hr>
</section>
<section id="the-problem-setup" class="level3">
<h3 class="anchored" data-anchor-id="the-problem-setup">The Problem Setup</h3>
<p>Firstly, we want to formulate some kind of optimization problem, which typically involves a sufficiently “regular” function <img src="https://latex.codecogs.com/png.latex?f:%20%5Cmathbb%20R%5E%7Bn%7D%20%5Crightarrow%20%5Cmathbb%20R%5E%7Bm%7D"> that we want to maximize/minimize on a “good” subset of <img src="https://latex.codecogs.com/png.latex?%5Cmathbb%20R%5E%7Bm%7D">. The exact notion of “regular” and “good” will be highlighted later on.</p>
<p><img src="https://latex.codecogs.com/png.latex?%0A%20%20%20%20%5Ctextrm%7BMaximize%7D%20%5C%20%5C%20f(%5Cboldsymbol%7Bx%7D)%20%5C%20%5C%20,%20%5C%20%5C%20x%5Cin%20S%20%5Csubseteq%20%5Cmathbb%20R%5E%7Bm%7D%0A"></p>
<hr>
</section>
<section id="how-do-we-approach-such-a-problem" class="level3">
<h3 class="anchored" data-anchor-id="how-do-we-approach-such-a-problem">How do we Approach such a Problem?</h3>
</section>
<section id="can-we-devise-a-systematic-way-that-yields-a-nice-result" class="level3">
<h3 class="anchored" data-anchor-id="can-we-devise-a-systematic-way-that-yields-a-nice-result">Can we Devise a Systematic Way that Yields a Nice Result?</h3>
<hr>
</section>
<section id="formulating-the-iterative-scheme" class="level3">
<h3 class="anchored" data-anchor-id="formulating-the-iterative-scheme">Formulating the Iterative Scheme</h3>
<hr>
</section>
<section id="but-when-is-it-guaranteed-to-work" class="level3">
<h3 class="anchored" data-anchor-id="but-when-is-it-guaranteed-to-work">But when is it Guaranteed to “Work”?</h3>
<hr>
</section>
<section id="example" class="level3">
<h3 class="anchored" data-anchor-id="example">Example</h3>
<hr>
</section>
<section id="conclusioncomments" class="level3">
<h3 class="anchored" data-anchor-id="conclusioncomments">Conclusion/Comments</h3>


</section>

 ]]></description>
  <category>Optimization</category>
  <guid>https://github.com/kwstakhcc/cool_math_blog/posts/optimization-gd/</guid>
  <pubDate>Tue, 19 May 2026 21:00:00 GMT</pubDate>
</item>
</channel>
</rss>
