Skip to content
Tech News
← Back to articles

A Visual Introduction to Machine Learning (2015)

read original get Machine Learning for Beginners Book → more articles
Why This Matters

This article highlights the importance of machine learning in enabling computers to automatically identify patterns in data, which is crucial for making accurate predictions across various industries. It demonstrates how visualizing data features can help develop models that distinguish between different categories, such as homes in different cities, emphasizing the practical applications of statistical learning. Understanding these concepts is vital for advancing AI-driven solutions that benefit both businesses and consumers.

Key Takeaways

A Visual Introduction to Machine Learning : English Bahasa Indonesia Deutsch Español Français Italiano Português Türk ελληνικά русский لعربية 中文 简体 In machine learning, computers apply statistical learning techniques to automatically identify patterns in data. These techniques can be used to make highly accurate predictions. Keep scrolling. Using a data set about homes, we will create a machine learning model to distinguish homes in New York from homes in San Francisco.

scroll

First, some intuition Let's say you had to determine whether a home is in San Francisco or in New York. In machine learning terms, categorizing data points is a classification task. Since San Francisco is relatively hilly, the elevation of a home may be a good way to distinguish the two cities. Based on the home-elevation data to the right, you could argue that a home above 240 ft should be classified as one in San Francisco.

Adding nuance Adding another dimension allows for more nuance. For example, New York apartments can be extremely expensive per square foot. So visualizing elevation and price per square foot in a scatterplot helps us distinguish lower-elevation homes. The data suggests that, among homes at or below 240 ft, those that cost more than $1776 per square foot are in New York City. Dimensions in a data set are called features, predictors, or variables.

Drawing boundaries You can visualize your elevation (>242 ft) and price per square foot (>$1776) observations as the boundaries of regions in your scatterplot. Homes plotted in the green and blue regions would be in San Francisco and New York, respectively. Identifying boundaries in data using math is the essence of statistical learning. Of course, you'll need additional information to distinguish homes with lower elevations and lower per-square-foot prices.