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

bookWhat is ML

Stryg for at vise menuen

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ælg det korrekte svar

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 1

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

Sektion 1. Kapitel 1
some-alt