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

bookWhat is ML

Scorri per mostrare il menu

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?

Seleziona la risposta corretta

Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 1. Capitolo 1

Chieda ad AI

expand

Chieda ad AI

ChatGPT

Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione

Sezione 1. Capitolo 1
some-alt