<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Algorithm - Tag - Zhiverse</title><link>https://yao-chih.netlify.app/en/tags/algorithm/</link><description>Algorithm - Tag - Zhiverse</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>yaochihh@gmail.com (Josh)</managingEditor><webMaster>yaochihh@gmail.com (Josh)</webMaster><copyright>Zhiverse</copyright><atom:link href="https://yao-chih.netlify.app/en/tags/algorithm/" rel="self" type="application/rss+xml"/><item><title>Time Complexity</title><link>https://yao-chih.netlify.app/en/time-complexity/</link><pubDate>Thu, 01 Jan 2026 11:36:20 +0800</pubDate><author>Author</author><guid>https://yao-chih.netlify.app/en/time-complexity/</guid><description><![CDATA[<div class="featured-image">
                <img src="https://raw.githubusercontent.com/Josh-test-lab/website-assets-repository/refs/heads/main/posts/time%20complexity/cover%20image.webp" referrerpolicy="no-referrer">
            </div><p>Time complexity is used to describe how the computation time of an algorithm grows as the input size increases during its execution. Because the processing capabilities, hardware architecture, and system environment differ across computer devices, comparing algorithms solely based on actual execution time often fails to yield representative and portable conclusions. Therefore, time complexity is usually measured by the &ldquo;number of basic operations executed,&rdquo; and asymptotic complexity is employed to analyze the efficiency of algorithms, establishing a hardware-independent and universally applicable performance evaluation method.</p>]]></description></item><item><title>From Gradient Descent to Stochastic Gradient Descent</title><link>https://yao-chih.netlify.app/en/from-gradient-descent-to-stochastic-gradient-descent/</link><pubDate>Sat, 30 Aug 2025 10:54:32 +0800</pubDate><author>Author</author><guid>https://yao-chih.netlify.app/en/from-gradient-descent-to-stochastic-gradient-descent/</guid><description><![CDATA[<div class="featured-image">
                <img src="https://raw.githubusercontent.com/Josh-test-lab/website-assets-repository/refs/heads/main/posts/From%20Gradient%20Descent%20to%20Stochastic%20Gradient%20Descent/cover%20image.webp" referrerpolicy="no-referrer">
            </div><p>Cover image was generated by ChatGPT.</p>
<p>Gradient descent is an iterative method used in most modern models to help find optimal parameters. However, in today&rsquo;s era of big data, the massive amount of data results in significant time costs for gradient descent. One key goal is to compute parameters quickly without sacrificing accuracy.</p>]]></description></item><item><title>Bellman-Ford Algorithm</title><link>https://yao-chih.netlify.app/en/bellman-ford-algorithm/</link><pubDate>Thu, 17 Jul 2025 15:20:54 +0800</pubDate><author>Author</author><guid>https://yao-chih.netlify.app/en/bellman-ford-algorithm/</guid><description>&lt;div class="featured-image">
                &lt;img src="https://raw.githubusercontent.com/Josh-test-lab/website-assets-repository/refs/heads/main/posts/Bellman-Ford%20Algorithm/cover%20image.png" referrerpolicy="no-referrer">
            &lt;/div>To address the limitation in Dijkstra's Algorithm, which cannot handle paths with **negative** edge weights, the Bellman-Ford Algorithm was developed. The Bellman-Ford Algorithm performs $V - 1$ relaxation operations for $V$ nodes, repeatedly relaxing all edges to continuously improve and find the shortest paths.</description></item><item><title>K-Means Clustering</title><link>https://yao-chih.netlify.app/en/k-means-clustering/</link><pubDate>Fri, 11 Jul 2025 14:49:59 +0800</pubDate><author>Author</author><guid>https://yao-chih.netlify.app/en/k-means-clustering/</guid><description>&lt;div class="featured-image">
                &lt;img src="https://raw.githubusercontent.com/Josh-test-lab/website-assets-repository/refs/heads/main/posts/k-means%20clustering/cover%20image.png" referrerpolicy="no-referrer">
            &lt;/div>K-means clustering, often referred to in Chinese as the "k-means algorithm", is a method used to partition $n$ data points into $k$ clusters. Each point is assigned to the cluster whose center (centroid) is closest to it.</description></item><item><title>A* Algorithm</title><link>https://yao-chih.netlify.app/en/a-star-algorithm/</link><pubDate>Tue, 08 Jul 2025 14:06:30 +0800</pubDate><author>Author</author><guid>https://yao-chih.netlify.app/en/a-star-algorithm/</guid><description>&lt;div class="featured-image">
                &lt;img src="https://raw.githubusercontent.com/Josh-test-lab/website-assets-repository/refs/heads/main/posts/A-Star%20Algorithm/cover%20image.png" referrerpolicy="no-referrer">
            &lt;/div></description></item><item><title>About Greedy Algorithm</title><link>https://yao-chih.netlify.app/en/greedy-algorithm/</link><pubDate>Mon, 07 Jul 2025 15:38:46 +0800</pubDate><author>Author</author><guid>https://yao-chih.netlify.app/en/greedy-algorithm/</guid><description>&lt;div class="featured-image">
                &lt;img src="https://raw.githubusercontent.com/Josh-test-lab/website-assets-repository/refs/heads/main/posts/Greedy%20Algorithm/cover%20image.png" referrerpolicy="no-referrer">
            &lt;/div>The **Greedy Algorithm** is an approach that solves problems by **choosing the option that appears most favorable at each step**. It makes simple and intuitive decisions based on the **locally optimal choice** among all available options at the moment, with the expectation that these local choices will accumulate into a globally optimal solution, continuing this process until a termination condition is met.</description></item><item><title>Dijkstra's Algorithm</title><link>https://yao-chih.netlify.app/en/dijkstras-algorithm/</link><pubDate>Wed, 02 Jul 2025 17:12:30 +0800</pubDate><author>Author</author><guid>https://yao-chih.netlify.app/en/dijkstras-algorithm/</guid><description>&lt;div class="featured-image">
                &lt;img src="https://raw.githubusercontent.com/Josh-test-lab/website-assets-repository/refs/heads/main/posts/Dijkstra%27s%20Algorithm/cover%20image.png" referrerpolicy="no-referrer">
            &lt;/div>Dijkstra's Algorithm is a method for finding the shortest path between nodes in a graph. It was originally designed to find the shortest path between two points, but was later extended to find the shortest paths from a fixed point to all other points, forming what is called a "shortest path tree".</description></item><item><title>Introduction to Perceptron</title><link>https://yao-chih.netlify.app/en/introduction-to-perceptron/</link><pubDate>Tue, 20 May 2025 22:30:24 +0800</pubDate><author>Author</author><guid>https://yao-chih.netlify.app/en/introduction-to-perceptron/</guid><description>&lt;div class="featured-image">
                &lt;img src="https://raw.githubusercontent.com/Josh-test-lab/website-assets-repository/main/posts/Introduction%20to%20Perceptron/cover%20image.png" referrerpolicy="no-referrer">
            &lt;/div>The Perceptron is one of the earliest models of artificial neural networks and laid the foundation for modern machine learning, often regarded as the 'ancestor' of neural networks. It performs simple binary classification tasks and mathematically simulates the logic of how neurons operate. Even today, it is frequently used as a teaching example for beginners in machine learning.</description></item></channel></rss>