Code Lab // R Programming

Image Segmentation with k-means Clustering

In our last post, we implemented our own k-means clustering algorithm in R! Today, we'll explore k-means clustering some more with a Code Lab to see how we can use the algorithm we coded up last time to cluster pixels in an image!

The Latest


Code Lab // R Programming

Image Segmentation with k-means Clustering

In our last post, we implemented our own k-means clustering algorithm in R! Today, we'll explore k-means clustering some more with a Code Lab to see how we can use the algorithm we coded up last time to cluster pixels in an image!
Tutorials // Foundations // R Programming

What is k-means Clustering?

In previous posts, we discussed vectors and vector norms in a basic introduction to linear algebra and got some practice working with them in our Code Lab on coding a simple recommendation system in R. Today, we'll follow up on those skills and take a first look at k-means clustering, a machine learning algorithm for clustering!
Career Chats

Career Chat: Susheela Singh, Senior Data Scientist at Google

A few months ago, I was a volunteer mentor for the Data Scientists in Training (DST) program...
Algorithms in the Wild

Algorithms in the Wild (Sep 9, 2022)

Hope you're having a good week! Here are a few links featuring real life algorithms from this week...
Algorithms in the Wild

Algorithms in the Wild (Sep 2, 2022)

Hope you had a great week and have wonderful long weekend! Here are a few fun links featuring real life algorithms from this week...
Tutorials

Simple Guide to Technical Writing with LaTeX in Overleaf

You probably have your favorite software and tools for writing reports and other text documents but what can we use when we want to write things that involve math equations and symbols? Today's post is a simple guide to getting started with technical writing with LaTeX. LaTeX is a software system that's designed for writing that involves a lot of mathematical equations and symbols.
Code Lab // R Programming

Coding a Simple Recommendation System in R

When we shop online, we often get recommendations for other products that are similar to ones we've been looking at. Systems that recommend related products and services are frequently referred to as recommendation systems. In today's Code Lab, we'll code a simple recommendation system using something called cosine similarity!
Algorithms in the Wild

How Machine Learning Algorithms are Helping the US Air Force Improve Pilot Training

Today's post is the first in a new series called Algorithms in the Wild, where we'll discuss case studies featuring machine learning algorithms in some very interesting applications! Our first case study comes from an article in Popular Science on 'How AI could help new Air Force pilots avoid costly mistakes from Popular Science.'

Spotlight


Code Lab // R Programming

Coding a Simple Recommendation System in R

When we shop online, we often get recommendations for other products that are similar to ones we've been looking at. Systems that recommend related products and services are frequently referred to as recommendation systems. In today's Code Lab, we'll code a simple recommendation system using something called cosine similarity!
Code Lab // R Programming

Exploring Trends in Urban Bike Share Data

In our last two posts, we went over how to start making data visualizations in R with ggplot2. Now that we've finished that series, let's work on a Code Lab featuring exploratory data analysis! Today, we’ll be exploring patterns in urban bike share usage...
Code Lab // R Programming

Estimate Pi with Dart Throwing in R!

Now that we’ve had several posts on getting started with coding in R (see Part 1, Part 2, and More Resources) we’re ready to get started with our first Code Lab!  In this post, we’ll see how we can estimate pi with dart throwing in R!