Unlock AI power-ups ā upgrade and save 20%!
Use code STUBE20OFF during your first month after signup. Upgrade now ā

By ExamPro
Published Loading...
N/A views
N/A likes
Algorithm and Function Definitions
š An algorithm is defined as a set of mathematical or computer instructions designed to perform a specific task.
āļø An algorithm can be composed of several smaller, sequential algorithms, essentially describing *how* to accomplish something.
š§© A function is a method of grouping algorithms together so they can be called to compute a result, similar to how a machine learning model groups algorithms.
K-Nearest Neighbor (KNN) Algorithm
š The K-Nearest Neighbor (KNN) algorithm is used to create a supervised classification machine learning algorithm.
šÆ KNN operates by determining "who your closest neighbors are" to infer that an entity belongs to the same class.
š KNN utilizes various distance metrics for comparison, including Euclidean, Hamming, and Manhattan distances.
š” While KNN itself is not inherently machine learning, it becomes a machine learning algorithm when applied to solve a machine learning problem.
Key Points & Insights
ā”ļø An algorithm answers the question: "How do we do something?"
ā”ļø A function serves to group algorithms for repeated computation, like in a machine learning model structure.
ā”ļø KNN works purely based on proximity, identifying nearest neighbors using metrics like Manhattan distance.
ā”ļø KNN only becomes a Machine Learning Algorithm when it is applied to solve an ML problem.
šø Video summarized with SummaryTube.com on Feb 03, 2026, 02:40 UTC
Find relevant products on Amazon related to this video
As an Amazon Associate, we earn from qualifying purchases
Full video URL: youtube.com/watch?v=CdUtaFuhESI
Duration: 1:35
Algorithm and Function Definitions
š An algorithm is defined as a set of mathematical or computer instructions designed to perform a specific task.
āļø An algorithm can be composed of several smaller, sequential algorithms, essentially describing *how* to accomplish something.
š§© A function is a method of grouping algorithms together so they can be called to compute a result, similar to how a machine learning model groups algorithms.
K-Nearest Neighbor (KNN) Algorithm
š The K-Nearest Neighbor (KNN) algorithm is used to create a supervised classification machine learning algorithm.
šÆ KNN operates by determining "who your closest neighbors are" to infer that an entity belongs to the same class.
š KNN utilizes various distance metrics for comparison, including Euclidean, Hamming, and Manhattan distances.
š” While KNN itself is not inherently machine learning, it becomes a machine learning algorithm when applied to solve a machine learning problem.
Key Points & Insights
ā”ļø An algorithm answers the question: "How do we do something?"
ā”ļø A function serves to group algorithms for repeated computation, like in a machine learning model structure.
ā”ļø KNN works purely based on proximity, identifying nearest neighbors using metrics like Manhattan distance.
ā”ļø KNN only becomes a Machine Learning Algorithm when it is applied to solve an ML problem.
šø Video summarized with SummaryTube.com on Feb 03, 2026, 02:40 UTC
Find relevant products on Amazon related to this video
As an Amazon Associate, we earn from qualifying purchases

Summarize youtube video with AI directly from any YouTube video page. Save Time.
Install our free Chrome extension. Get expert level summaries with one click.