<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="/feed.xml" rel="self" type="application/atom+xml" /><link href="/" rel="alternate" type="text/html" /><updated>2025-05-18T00:18:05+00:00</updated><id>/feed.xml</id><title type="html">Make Life Predictable. Handle Unpredictability.</title><subtitle>Time, money, family, friends and other resources are limited and precious. We do not want to waste them on handling preditable events and that when an unpredictable event happens, you are out of them. Have a predictable life by making very small changes to our way of living. Enjoy your resources and be prepared for unpredicatable situations.</subtitle><entry><title type="html">Linear Regression Explained</title><link href="/2025/05/12/Linear-Regression-Explained.html" rel="alternate" type="text/html" title="Linear Regression Explained" /><published>2025-05-12T00:00:00+00:00</published><updated>2025-05-12T00:00:00+00:00</updated><id>/2025/05/12/Linear-Regression-Explained</id><content type="html" xml:base="/2025/05/12/Linear-Regression-Explained.html"><![CDATA[<h3 id="building-an-intuitive-understanding-of-how-linear-regression-works-and-how-it-leads-to-gradient-descent">Building an intuitive understanding of how Linear Regression works and how it leads to Gradient Descent.</h3>
<p><strong>Source</strong>: How a straight line teaches machines to learn. <a href="https://briefer.cloud/blog/posts/least-squares/">https://briefer.cloud/blog/posts/least-squares/</a></p>

<p><strong>Slope</strong> Sets the tilt of the line. As the tilt increases, y-variable/x-variable increases. e.g. Price/Sq.Ft.<br />
<strong>Intercept</strong> Shifts the line up or down in the graph or where the line starts.  It sets the baseline value. e.g. starting value of home.<br />
<strong>Error</strong> Represents how far are we from the actual value.<br />
<strong>Absolute Error</strong> treats all the error magnitudes the same. Two medium errors is same as one big one.<br />
<strong>Non-Linear Scale</strong> Squaring errors cause big errors to be bigger and hence the error line will be non-linear.</p>

<p><strong>Plotting errors</strong> - Imagine a plot where each point represents a different line: the slope and intercept are the coordinates, and the vertical axis shows how bad the line is—its error. In this landscape of errors, high points mean worse lines; low points mean better ones. Our goal is simple: find the lowest point. We won’t actually draw this plot (there are too many possibilities), but picturing it helps make the task clear.<br />
<img src="https://github.com/user-attachments/assets/5b5e54fb-86a0-450b-b074-93c4bca07ea0" alt="image" /></p>

<p><strong>Derivative &amp; Gradient Descent</strong> - At every step, we need to decide which way to move: left or right. To do that, we measure how steep the curve is at our current point. This measurement (the steepness of the curve) is called the derivative. If the derivative is positive, it means the error increases if we move right, so we should go left. If the derivative is negative, it means the error increases if we move left, so we should go right. This process of iteratively minimizing a function using derivatives is called <strong>gradient descent</strong>.</p>]]></content><author><name></name></author><category term="ds/ai/ml" /><summary type="html"><![CDATA[Building an intuitive understanding of how Linear Regression works and how it leads to Gradient Descent. Source: How a straight line teaches machines to learn. https://briefer.cloud/blog/posts/least-squares/]]></summary></entry><entry><title type="html">Data Engineering Zoom Camp</title><link href="/2022/03/02/DataEngineeringZoomCamp.html" rel="alternate" type="text/html" title="Data Engineering Zoom Camp" /><published>2022-03-02T00:00:00+00:00</published><updated>2022-03-02T00:00:00+00:00</updated><id>/2022/03/02/DataEngineeringZoomCamp</id><content type="html" xml:base="/2022/03/02/DataEngineeringZoomCamp.html"><![CDATA[<p>One of the things that I learned over the last one year is <strong>Have a singular focus</strong>.</p>
<ul>
  <li>Focus on task at hand. Do not juggle.</li>
  <li>Focus and finish it before moving on to next.</li>
</ul>

<p>Over the last month or so, I started doing <a href="https://github.com/DataTalksClub/data-engineering-zoomcamp" target="_blank">Data Engineer Zoomcamp</a>. Amazing camp by <a href="https://www.youtube.com/c/DataTalksClub" target="_blank">DataTalks Club</a>. Thanks to amazing <a href="https://github.com/DataTalksClub/data-engineering-zoomcamp#instructors" target="_blank">instructions</a> for tutorials, quiz and Q&amp;A office hours.</p>

<ul>
  <li><a href="https://www.youtube.com/playlist?list=PL3MmuxUbc_hJed7dXYoJw8DoCuVHhGEQb" target="_blank">Course Youtube Channel</a></li>
</ul>

<p>In the coming weeks, I start posting blogs about the course, any tips that I came across and more.</p>]]></content><author><name></name></author><category term="dezoomcamp" /><category term="ds/ai/ml" /><category term="motivation" /><summary type="html"><![CDATA[One of the things that I learned over the last one year is Have a singular focus. Focus on task at hand. Do not juggle. Focus and finish it before moving on to next.]]></summary></entry></feed>