Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära What is ML | Section
Machine Learning Foundations with Scikit-Learn

bookWhat is ML

Svep för att visa menyn

Machine learning (ML) is an approach to programming where computers learn from data to solve a task instead of being given explicit instructions.

Consider the example of a spam/ham (not spam) classifier.

Building such a system with a traditional programming approach (without ML) is difficult, as it requires writing explicit rules, even manually compiling a list of spam words.

With machine learning, the model is trained on many examples of spam and ham emails and learns the distinguishing patterns on its own.

The data provided for training is called the training set. In this case, it consists of emails already labeled as spam or ham, which enables the model to capture the characteristics of both categories.

After training, the model is evaluated using a test set - a separate collection of labeled emails. This step checks how well the model generalizes to new, unseen data.

question mark

What is the primary advantage of using a machine learning (ML) model for a spam/ham classifier compared to a traditional programming approach?

Vänligen välj det korrekta svaret

Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 1

Fråga AI

expand

Fråga AI

ChatGPT

Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal

Avsnitt 1. Kapitel 1
some-alt