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

Sveip for å vise menyen

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?

Velg det helt riktige svaret

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 1. Kapittel 1

Spør AI

expand

Spør AI

ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

Seksjon 1. Kapittel 1
some-alt