MENU

Lesson2:What is Machine Learning? (Learning AI from scratch)

TOC

Recap of Last Time and Today’s Topic

Hello again! In the last session, we covered the basics of AI, its history, and how it has evolved. Hopefully, you’ve started to gain a deeper understanding of how AI works and the many fields in which it’s applied. In this session, we’ll dive into Machine Learning, one of the most critical technologies within AI. Machine learning is at the core of modern AI and is a significant factor in AI’s advancement.

What is Machine Learning?

Technology That Mimics Human Learning

Machine learning refers to a technology that enables computers to learn patterns from vast amounts of data and use those experiences to perform new tasks. Simply put, it allows computers to develop “thinking” abilities. Machine learning is a key area of AI, and much of today’s AI relies on this technology.

For instance, the facial recognition feature on smartphones, movie recommendations on Netflix, and even the automatic filtering of spam emails all rely on machine learning technology.

Understanding Machine Learning Through an Analogy

Let’s use a sports analogy to explain machine learning. Imagine someone who has just started playing soccer. At first, they may have no idea how to kick the ball properly. However, after kicking it repeatedly, they gradually get the hang of it and learn how to kick better. Similarly, computers use data to “practice” repeatedly, learning how to perform specific tasks over time.

In this way, machine learning allows computers to learn from data and apply their experience to future tasks, enabling them to grow and improve without needing pre-programmed instructions from humans.

How Machine Learning Works

Data Collection and Learning

For machine learning to work, it first needs a large amount of data. This data serves as a “learning material” for machine learning. For example, to train an AI for image recognition, thousands of images must be collected, labeled with tags like “this is a cat” and “this is a dog.”

Next, an algorithm is used to learn from this data. An algorithm is a set of rules or processes that helps the AI discover patterns and rules within the data. Through this process, AI can develop the ability to distinguish between “cats” and “dogs.”

Creating and Applying Models

The outcome of this learning process is the creation of a model. A model is a collection of the patterns and rules the AI has learned, and it is used to make predictions or decisions about new data. For instance, after completing the training, the AI can look at a new image and determine whether it’s a cat or a dog by referring to this model.

  • Supervised Learning: In this method, data comes with correct answers (labels). For example, AI learns to differentiate spam emails from regular ones by analyzing labeled datasets that specify “this is spam” and “this is not.”
  • Unsupervised Learning: Here, the data lacks labels, and the AI must independently find patterns. For instance, AI might analyze customer data and automatically identify groups of customers with similar purchasing habits.
  • Reinforcement Learning: This method involves AI learning through trial and error to achieve the best outcome. It’s often used in gaming AI, where the AI learns which actions lead to victory by receiving “rewards” for successful behaviors.

Types of Machine Learning

Supervised Learning

Supervised learning is the most basic form of machine learning. In this approach, the AI is trained using labeled datasets where each input is paired with the correct output (label). For example, by training AI on a dataset where “dog images” are labeled “dog” and “cat images” are labeled “cat,” the AI can learn to correctly classify new images as either “dog” or “cat.”

Unsupervised Learning

In unsupervised learning, the AI must find patterns or structures in data without being given the correct answers. The AI looks for hidden relationships or groups within the data. One example is clustering customers into similar groups based on their purchasing habits, which can be used for targeted marketing.

Reinforcement Learning

Reinforcement learning allows AI to learn optimal behaviors through trial and error. The AI aims to maximize rewards by learning which actions yield the best results. This method is commonly used in game AI, where the AI learns the best strategies and actions to win by continuously playing and improving based on the outcomes.

Practical Applications of Machine Learning

Recommendation Systems

Have you ever noticed “recommended products” displayed on online shopping sites? This is a result of machine learning analyzing your purchase and browsing history to suggest items that may interest you. Machine learning allows businesses to personalize recommendations for each user, contributing to increased sales.

Image Recognition

You may have used the “portrait mode” on your smartphone’s camera. This feature relies on AI to recognize faces in the image and blur the background to emphasize the subject. Machine learning makes it possible for AI to accurately detect faces and distinguish them from the background.

Spam Email Filtering

Every day, countless emails are automatically classified as spam. This is another achievement of machine learning. By analyzing past spam email data, AI learns the characteristics of spam and automatically filters out new emails containing those features.

Coming Up Next

Now that we’ve covered the basics of machine learning, next time we’ll delve into deep learning, an advanced form of machine learning. We’ll explore how deep learning has significantly enhanced AI’s capabilities and examine its mechanisms and applications. Stay tuned for more!

Summary

In this session, we explored what machine learning is, its fundamental concepts, and how it works. Machine learning is at the core of AI technology and is widely used in many products and services around us. The knowledge of machine learning will form a solid foundation for your continued AI studies. Next time, we’ll take a deeper dive into deep learning, which brings even more powerful capabilities to AI. Stay excited for what’s to come!

Let's share this post !

Author of this article

株式会社PROMPTは生成AIに関する様々な情報を発信しています。
記事にしてほしいテーマや調べてほしいテーマがあればお問合せフォームからご連絡ください。
---
PROMPT Inc. provides a variety of information related to generative AI.
If there is a topic you would like us to write an article about or research, please contact us using the inquiry form.

Comments

To comment

TOC