Machine-learning classification is a supervised task: a model learns from examples that already have category labels, then predicts labels for new cases. For example, an email classifier might learn from messages marked “spam” or “not spam.” Regression is different: it predicts a numerical value rather than a category.
How classification works
A labeled training example contains inputs and a known answer. In the email illustration, the inputs could include words in the message and other message characteristics; the known answer is its spam label. A learning algorithm uses many such examples to fit a model. Once trained, the model can assign a category to an email it has not seen before.
Some classifiers can also provide a score or probability associated with a prediction. The meaning and availability of that output vary by method and implementation, so a score should not automatically be treated as a directly comparable probability across different models.
Classification is part of supervised learning because the examples used for training include target labels. Course descriptions from the İzmir University of Economics and IMT School for Advanced Studies Lucca include classification among supervised-learning topics.
Free tools Windows power users keep installed
One-click scans. No signup required.
#1 Best Overall
Classification versus regression
The distinction is the kind of answer the model is asked to predict. Classification predicts a category; regression predicts a numerical value. For example, deciding whether a message is spam is classification, while estimating a delivery time in minutes is a regression problem. Both are prediction tasks, but their outputs and evaluation questions differ.
Introductory course materials, including an archived Imperial College London module and the University of Catania course page, treat classification and regression as distinct tasks within machine learning.
Rank #2
- Use scikit-learn to track an example ML project end to end
- Explore several models, including support vector machines, decision trees, random forests, and ensemble methods
- Exploit unsupervised learning techniques such as dimensionality reduction, clustering, and anomaly detection
- Dive into neural net architectures, including convolutional nets, recurrent nets, generative adversarial networks, autoencoders, diffusion models, and transformers
- Use TensorFlow and Keras to build and train neural nets for computer vision, natural language processing, generative models, and deep reinforcement learning
Common classifier families
Introductory machine-learning materials cover a range of approaches. The examples below are representative, not a complete list, and their inclusion in other courses does not establish that they are part of a particular DM2 syllabus.
- Linear and logistic models: Use a linear relationship with input features to help separate categories. Logistic regression is commonly used for classification despite “regression” in its name.
- Bayesian methods, including Naive Bayes: Use probability-based reasoning to estimate how evidence relates to possible classes. Naive Bayes makes simplifying assumptions about the features.
- Nearest neighbors: Assign a label based on the labels of nearby examples in the feature space. The choice of distance and representation can affect what counts as nearby.
- Decision trees: Apply a sequence of feature-based decisions, which can make the prediction path relatively easy to inspect.
- Support vector classification: Seeks a boundary that separates classes, with variations that can accommodate more complex boundaries.
Classifier examples such as decision trees, Naive Bayes, nearest neighbors, and support vector methods appear in the SIES College syllabus and the IMT Lucca course materials.
Rank #3
Choosing and comparing classifiers
There is no universally best classifier. A sensible choice depends on the task, the available labeled data, the structure of the labels, how predictions will be used, and the consequences of mistakes. The course materials identify multiple methods but do not provide a shared experiment that ranks them, so they do not support a general performance ranking.
- Output structure: A task may have two possible classes, several mutually exclusive classes, or multiple labels that can apply to one case. Confirm that the method and its setup match the label structure.
- Assumptions and data: Methods differ in how they represent relationships between inputs and classes and in what they assume about the data. Consider whether those assumptions are plausible and whether the available examples are adequate.
- Interpretability: If people need to understand or audit why a prediction was made, the clarity of the model’s decision process may matter as much as predictive performance.
- Computational needs: Training and prediction costs vary by approach and by data. Those costs matter when fitting models or serving predictions at scale.
- Costs of errors: In spam filtering, a false positive hides a legitimate message as spam; a false negative lets spam reach the inbox. Which error matters more depends on the application, and can influence how a classifier is selected or how its decision threshold is set.
Why evaluation is part of the workflow
A model’s ability to label examples it has already seen does not, by itself, show how well it will perform on new cases. Classification therefore includes assessing performance as part of the supervised-learning workflow. The University of Catania course page identifies assessment among its objectives, while the archived Imperial module discusses evaluation within the pipeline.
Rank #4
Evaluation should reflect the intended use and the relative consequences of different errors. A result from one dataset or experiment is not a universal benchmark, and the cited course materials do not establish a single metric or winner. Compare methods under the same task conditions and use evidence relevant to the decisions the classifier will support.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.What “DM2” establishes—and what it does not
The title identifies an introduction to machine-learning classification, but the exact DM2 course page and its syllabus are not confirmed here. The university materials cited above provide introductory context only; they do not establish DM2’s institution, academic level, required textbook, or exact list of methods.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Best Value
For broader study, course materials list Ethem Alpaydin’s Introduction to Machine Learning; the IMT Lucca materials also list Christopher Bishop’s Pattern Recognition and Machine Learning. Their appearance in other course materials does not make either book a confirmed DM2 requirement.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

