What Is Machine Learning?

Learn about machine learning and some of its subdivisions.

Introduction

Machine learning (ML) is a subfield of artificial intelligence (AI) that focuses on developing algorithms that can learn from data and make predictions or infer patterns without explicit programming. Its goal is to create systems that can automatically improve their performance with experience.

The idea is to build models that can learn from data. We can do this in a supervised manner, where the model is trained on labeled data to make predictions, or in an unsupervised manner, where the model tries to find patterns or relationships in the data without any specific outputs to predict.

ML has become one of the most important and widely used tools in various fields, including computer science, biology, finance, and marketing. It’s useful in various applications, such as image classification, natural language processing, and fraud detection.

Supervised learning

Supervised learning is the most common type of ML. In supervised learning, the model is trained on labeled data to make predictions. The model takes both input data and the correct corresponding outputs, and the algorithm tries to emulate the relationship between the inputs and outputs. After training the model, we can use it to make predictions on new data.

Unsupervised learning

In unsupervised learning, the model is not given labeled data and instead tries to find patterns or relationships in the data independently. This type of ML is used for tasks such as clustering, where the model tries to group similar data points, or dimensionality reduction, where the model tries to reduce the number of features while retaining its essential characteristics.

Reinforcement learning

In reinforcement learning, the model interacts with an environment and learns to make decisions based on rewards or penalties. As a result, the model learns to maximize the reward signal over time by observing the consequences of its actions. Reinforcement learning is used in applications such as robotics and gaming.

At the moment, scikit-learn cannot accommodate reinforcement learning, because its goals and objectives are incompatible with reinforcement learning’s architecture requirements. Consequently, reinforcement learning is currently not a part of the scope of scikit-learn.

In this course, we’ll focus on the two first types of learning: supervised and unsupervised.

Press + to interact
Different classes of algorithms serve different purposes
Different classes of algorithms serve different purposes

ML techniques and algorithms

There are many techniques used in ML, including linear regression, logistic regression, decision trees, and support vector machines. These techniques can be combined in different ways to build more complex models that can solve numerous problems.

In addition to these traditional techniques, there are also newer ones, such as deep learning, which are based on artificial neural networks and have shown remarkable success in various applications. These techniques have revolutionized the field of ML and have led to major advances in areas such as image and speech recognition.

Press + to interact
A few examples of ML algorithms and their categorization
A few examples of ML algorithms and their categorization

Conclusion

Machine learning (ML) is a transformative field within artificial intelligence (AI) that empowers algorithms to learn from data, make predictions, and uncover patterns without explicit programming. ML offers supervised learning for making predictions using labeled data, unsupervised learning for discovering patterns in unlabeled data, and reinforcement learning for decision-making with rewards. ML’s wide-ranging applications span diverse domains, revolutionizing areas like image classification, natural language processing, and fraud detection. Traditional ML techniques include linear regression, logistic regression, decision trees, and support vector machines. Moreover, deep learning, based on artificial neural networks, has led to groundbreaking advancements, particularly in image and speech recognition. Understanding these ML fundamentals and techniques is essential for harnessing the potential of AI in various industries.