Machine Learning Articles

Sorted By: Most Recent
Kamil Krzyk Kamil Krzyk
Updated on May 22, 2025

Cost Function of Linear Regression: Deep Learning for Beginners

A cost function in machine learning quantifies the error between a model’s predicted values and actual values, letting us measure how well a model's parameters fit given data. I’ll introduce you to two often-used regression cost functions: MAE and MSE.

Image: Shutterstock / Built In
Francesco Bellelli Francesco Bellelli
Updated on May 22, 2025

The Fascinating World of Voronoi Diagrams

A Voronoi diagram (or Dirichlet tessellation or Thiessen polygons) is a type of tessellation pattern where points on a plane are divided into exactly n number of cells, which enclose a region of the plane that is closest to each point.

Image: Shutterstock / Built In
Sara A. Metwalli Sara A. Metwalli
Updated on May 22, 2025

What Is Data Validation?

Data validation refers to verifying the quality and accuracy of data before using it. These are the main types of data validation, the pros and cons of the process and tips for how to perform data validation.

Image: Shutterstock / Built In
Peter Grant Peter Grant
Updated on May 22, 2025

An Introduction to Bias-Variance Tradeoff

The bias-variance tradeoff describes the inverse relationship between bias and variance, where increasing one decreases the other. Here’s how to strike a balance between the two, so a model learns enough details about a data set without picking up noise.

Image: Shutterstock
Perez Ogayo Perez Ogayo
Updated on May 22, 2025

How to Fix a CUDA Error: Device-Side Assert Triggered in PyTorch

A CUDA Error: Device-Side Assert Triggered can either be caused by an inconsistency between the number of labels and output units in a model or an incorrect input for a loss function. Follow this guide to fix it. 

Image: Shutterstock / Built In
Alexandre Zajic Alexandre Zajic
Updated on May 22, 2025

What Is Akaike Information Criterion (AIC)?

Akaike Information Criterion (AIC) is a metric with a single number score that measures which machine learning model is best for a given data set, in comparison to other models for the same set. Here’s what you need to know.

Image: Shutterstock / Built In
Richmond Alake Richmond Alake
Updated on May 22, 2025

Understanding Cosine Similarity and Its Applications

Cosine similarity measures the similarity between two non-zero vectors by calculating the cosine of the angle between them. Here's the basics behind cosine similarity and how it is used across different areas of machine learning.

Image: Shutterstock / Built In
Vegard Flovik Vegard Flovik
Updated on May 22, 2025

An Introduction to Graph Theory

Graph theory is the study of graph data structures, which model object relationships using vertices connected by edges. It is a helpful tool to quantify and simplify complex systems.

Image: Shutterstock / Built In
Gokul S. Kumar Gokul S. Kumar
Updated on May 22, 2025

Understanding and Building Neural Network (NN) Models

A neural network is a series of algorithms that identifies patterns and relationships in data, similar to the way the brain operates. Here's how they work.

Image: Shutterstock / Built In
Parag Radke Parag Radke
Updated on May 22, 2025

Basic Probability Theory and Statistics Terms to Know

Probability statistics measures the likelihood of an event happening. Here are the theories and statistics you need to know for machine learning.

Image: Shutterstock / Built In