# Uczenie maszynowe

EN: **Machine learning** · id `ml`

Path: [AI Atlas](https://aiatlasgraph.com/llms.txt) › Uczenie maszynowe

## Description

- PL: Podstawowe zadania i metody uczenia z danych. Deep learning ma osobną gałąź dla czytelności.
- EN: Core learning tasks and methods. Deep learning sits in its own branch for readability.

## In one sentence

- PL: To uczenie programów rozpoznawania wzorców w danych, żeby mogły przewidywać, porządkować informacje lub proponować wybory.
- EN: This teaches software to recognise patterns in data so it can predict, organise information or suggest choices.

## Problem it solves

- PL: Trudno ręcznie zapisać wszystkie reguły dla sytuacji, które różnią się szczegółami i pojawiają się w dużej liczbie.
- EN: It is hard to write every rule by hand for situations that vary in detail and occur in large numbers.

## What it does

- PL: Wykorzystuje przykłady do odkrywania zależności, a ich przydatność sprawdza na danych, których model nie używał do nauki.
- EN: It uses examples to discover relationships and checks their usefulness on data the model did not use for learning.

## Everyday example

- PL: System sklepu przewiduje popyt, porządkuje podobne produkty i wybiera propozycje na podstawie wcześniejszych zakupów oraz danych o towarach.
- EN: A shop system predicts demand, groups similar products and selects suggestions using previous purchases and product information.

## This concerns you if you…

- PL: masz wiele przykładów i chcesz znaleźć wspólne wzorce
- PL: potrzebujesz przewidywań lub porządkowania nowych danych
- EN: have many examples and want to find shared patterns
- EN: need predictions or ways to organise new data

## Keywords

scikit-learn · empirical risk minimization · classification · regression · clustering · cross-validation · regularization · gradient boosting · feature engineering · recommendation systems · time-series forecasting · TabPFN

## How it works

- PL: Model dopasowuje parametry lub strukturę do przykładów według funkcji celu i założeń o danych. Nadzór, wyszukiwanie podobieństw oraz modele statystyczne tworzą predykcje, grupy lub rankingi, których uogólnianie sprawdza się na niezależnych próbach.
- EN: A model fits parameters or structure to examples under an objective and data assumptions. Supervision, similarity search and statistical models produce predictions, groups or rankings, whose generalisation is tested on independent samples.

## Limits

- PL: Jakość zależy od reprezentacji, pokrycia danych i zgodności zadania z celem uczenia. Dobre dopasowanie treningowe nie zapewnia generalizacji ani poprawności przy zmianie rozkładu.
- EN: Quality depends on representations, data coverage and alignment between tasks and learning objectives. Good training fit does not ensure generalisation or correctness under distribution shifts.

## Key terms

- PL: **generalizacja**: Zachowanie jakości na przykładach niewykorzystanych do dopasowania modelu.
- PL: **funkcja straty**: Miara błędu optymalizowana podczas uczenia.
- PL: **bias indukcyjny**: Założenia kierujące wyborem wzorców, które model może łatwo odtworzyć.
- EN: **generalisation**: Maintaining quality on examples not used to fit the model.
- EN: **loss function**: An error measure optimised during learning.
- EN: **inductive bias**: Assumptions guiding which patterns a model can readily learn.

## Know first

- [Statystyka i niepewność (Statistics and uncertainty)](https://aiatlasgraph.com/t/probability.md)
- [Spadek gradientu i optymalizacja ciągła (Gradient descent and continuous optimisation)](https://aiatlasgraph.com/t/mathoptimization.md)

## Subtopics (10 direct, 48 in total)

- [Drzewa i metody zespołowe (Tree ensembles)](https://aiatlasgraph.com/t/ensembles.md): Combining simpler models into a stronger predictor.
  - [Drzewa decyzyjne (Decision trees)](https://aiatlasgraph.com/t/decisiontrees.md): A model that asks a series of if–then questions about features until it reaches an answer. Easy to read but a single tree overfits easily; it is the building block of random forests and boosting.
  - [Gradient boosting (XGBoost, LightGBM) (Gradient-boosted trees)](https://aiatlasgraph.com/t/gradientboosting.md): Trees added one after another, each correcting the errors of the previous ones. For years the standard for tabular data and competitions.
  - [Las losowy i bagging (Random forests and bagging)](https://aiatlasgraph.com/t/randomforest.md): Many trees trained on random samples of rows and features, with their votes averaged. A robust out-of-the-box model that is not very sensitive to settings.
  - [Stacking i łączenie modeli (Stacking and model blending)](https://aiatlasgraph.com/t/stacking.md): Stacked generalisation: a meta-model trained on out-of-fold predictions of several base models.
- [Prognozy i anomalie (Forecasting and anomaly detection)](https://aiatlasgraph.com/t/timeseries.md): Predicting change and spotting unusual events.
  - [Klasyczne prognozowanie szeregów czasowych (Classical time-series forecasting)](https://aiatlasgraph.com/t/classicforecasting.md): Statistical models of trend, seasonality and dependence on past values; still a strong baseline for business forecasting.
  - [Modele bazowe dla szeregów czasowych (Time-series foundation models)](https://aiatlasgraph.com/t/tsfoundation.md): Transformers pretrained on a very large number of diverse series that forecast a new series without training on it (zero-shot).
  - [Wykrywanie anomalii i nowości (Outlier and novelty detection)](https://aiatlasgraph.com/t/anomalydetection.md): Finding examples that do not fit the rest of the data (outliers) or what the model has seen before (novelties), e.g. fraud, failures or unusual readings.
- [Przygotowanie cech (feature engineering) (Feature engineering and preprocessing)](https://aiatlasgraph.com/t/featureeng.md): Turning raw columns into features a model can learn from: scaling, encoding categories, imputing missing values, creating and selecting features. Steps are chained in a pipeline so no test-set information leaks in.
  - [Kodowanie zmiennych kategorycznych (Categorical feature encoding)](https://aiatlasgraph.com/t/categoricalencoding.md): Converting categorical features into numeric representations: one-hot, ordinal, target encoding or learned embeddings.
  - [Selekcja cech (Feature selection)](https://aiatlasgraph.com/t/featureselection.md): Choosing a feature subset with filter methods (tests, mutual information), wrapper methods (RFE, sequential selection) and embedded methods (L1, feature importance).
  - [Skalowanie i normalizacja cech (Feature scaling and normalisation)](https://aiatlasgraph.com/t/featurescaling.md): Transformations of numeric features: standardisation, min–max, robust scaling, and log, power and quantile transforms.
  - [Uzupełnianie brakujących danych (imputacja) (Missing data imputation)](https://aiatlasgraph.com/t/missingimputation.md): Replacing missing entries with estimates from simple statistics, neighbours or a model of other features, often with an added missingness indicator.
- [Systemy rekomendacyjne (Recommendation systems)](https://aiatlasgraph.com/t/recommenders.md): Matching content or products to a person and context.
  - [Filtrowanie kolaboracyjne i faktoryzacja macierzy (Collaborative filtering and matrix factorisation)](https://aiatlasgraph.com/t/collabfiltering.md): Recommending from the behaviour of similar people (“who bought X also bought Y”); matrix factorisation learns user and item embeddings.
  - [Generowanie kandydatów, scoring i re-ranking (Candidate generation, scoring and re-ranking)](https://aiatlasgraph.com/t/recpipeline.md): The typical architecture of large systems: quickly narrow a huge catalogue to hundreds of candidates, score them more precisely, then account for freshness, diversity and business rules.
  - [Rekomendacje oparte na treści (Content-based filtering)](https://aiatlasgraph.com/t/contentbased.md): Recommending items similar to what a person already likes, based on features of the items themselves.
- [Uczenie nadzorowane (Supervised learning)](https://aiatlasgraph.com/t/supervised.md): Learning from examples with the answer attached.
  - [Maszyny wektorów nośnych (SVM) (Support vector machines)](https://aiatlasgraph.com/t/svm.md): A classifier that looks for the boundary with the widest margin between classes; kernels (the kernel trick) let it draw non-linear boundaries.
  - [Metoda k najbliższych sąsiadów (k-NN) (k-nearest neighbours)](https://aiatlasgraph.com/t/knn.md): A model with no parameter training: the answer for a new example comes from the k most similar examples in the data. The same idea underlies vector search.
  - [Modele bazowe dla danych tabelarycznych (Tabular foundation models)](https://aiatlasgraph.com/t/tabularfm.md): Transformers pretrained on millions of (mostly synthetic) tables that predict on a new table without training, learning in context from the given rows. A new direction (since 2025) competing with gradient boosting on small and medium datasets.
  - [Naiwny klasyfikator Bayesa (Naive Bayes classifiers)](https://aiatlasgraph.com/t/naivebayes.md): A probabilistic classifier built on Bayes' theorem with the simplifying assumption that features are independent. A fast baseline, classically for text (e.g. spam filtering).
  - [Regresja kwantylowa i przedziały predykcji (Quantile regression and prediction intervals)](https://aiatlasgraph.com/t/quantileregression.md): Estimating conditional quantiles of the target by minimising the pinball loss; a pair of quantiles forms a prediction interval.
  - [Regresja liniowa i logistyczna (Linear and logistic regression)](https://aiatlasgraph.com/t/linearmodels.md): The simplest predictive models: a weighted sum of features gives a number (linear regression) or a class probability (logistic regression). They are the usual place to learn loss, gradient descent and decision thresholds.
  - [Uczenie rankingu (learning to rank) (Learning to rank)](https://aiatlasgraph.com/t/learningtorank.md): Learning a scoring function for documents given a query, with pointwise, pairwise or listwise objectives that optimise ranking-quality metrics.
- [Uczenie nienadzorowane (Unsupervised learning)](https://aiatlasgraph.com/t/unsupervised.md): Finding structure without ready labels.
  - [Klasteryzacja (Clustering)](https://aiatlasgraph.com/t/clustering.md): Grouping similar examples without labels, e.g. customer segmentation or organising documents.
    - [Klasteryzacja gęstościowa (DBSCAN, HDBSCAN) (Density-based clustering)](https://aiatlasgraph.com/t/densityclustering.md): Clusters are dense regions of data; points in sparse areas are marked as noise. No need to set the number of clusters, and it handles irregular shapes.
    - [Klasteryzacja hierarchiczna (Hierarchical clustering)](https://aiatlasgraph.com/t/hierclustering.md): Builds a tree of groups by gradually merging the closest ones (or splitting the largest); the cut level is chosen from a dendrogram.
    - [Metoda k-średnich (k-means) (k-means clustering)](https://aiatlasgraph.com/t/kmeans.md): Splits data into a preset number k of groups around centroids that are moved iteratively. Works well for compact groups of similar size.
  - [Modelowanie tematów (Topic modelling)](https://aiatlasgraph.com/t/topicmodeling.md): Unsupervised discovery of themes in a corpus: probabilistic word mixtures (LDA) or clustering of embeddings with topic descriptions (BERTopic).
  - [Redukcja wymiarowości (Dimensionality reduction)](https://aiatlasgraph.com/t/dimreduction.md): Turning many features into a few that keep the most important structure of the data — for visualisation, compression or as a step before another model.
    - [Analiza głównych składowych (PCA) (Principal component analysis)](https://aiatlasgraph.com/t/pca.md): A linear method that finds the directions of largest variance in the data and projects the data onto them.
    - [Mapy danych w 2D: t-SNE i UMAP (Nonlinear embedding for visualisation (t-SNE, UMAP))](https://aiatlasgraph.com/t/manifoldviz.md): Non-linear methods that lay points out in 2D so that neighbours stay close. Popular for inspecting embeddings and clusters; distances between groups on such maps are easy to over-interpret.
  - [Reguły asocjacyjne i częste zbiory (Association rules and frequent itemsets)](https://aiatlasgraph.com/t/associationrules.md): Mining frequent itemsets and X→Y rules in transactional data, scored by support, confidence and lift.
- [Uczenie przyrostowe (online) na strumieniach danych (Online and incremental learning on data streams)](https://aiatlasgraph.com/t/onlinelearning.md): Updating a model after single samples or small chunks of a stream, with predict-then-learn evaluation and reaction to concept drift.
- [Uczenie wielozadaniowe (Multi-task learning)](https://aiatlasgraph.com/t/multitask.md): Joint training on several tasks with a shared representation, acting as regularisation and knowledge transfer between tasks.
- [Uczenie z ograniczonym lub automatycznym nadzorem (Learning with limited or automatically derived supervision)](https://aiatlasgraph.com/t/learningparadigms.md): Learning paradigms where supervision is partial, generated automatically from data, or attached to groups rather than individual examples.
  - [Uczenie pół-nadzorowane (Semi-supervised learning)](https://aiatlasgraph.com/t/semisupervised.md): Combining a small labelled set with a large unlabelled one through pseudo-labels, consistency regularisation or label propagation over a similarity graph.
    - [Samouczenie i pseudoetykiety (Self-training and pseudo-labelling)](https://aiatlasgraph.com/t/pseudolabeling.md): Iteratively adding the model's above-threshold predictions to training as labels; modern variants combine it with augmentation and consistency.
  - [Uczenie samonadzorowane (Self-supervised learning)](https://aiatlasgraph.com/t/selfsupervised.md): Learning representations from a signal generated by the data itself (pretext tasks, contrast, masking), later transferred to downstream tasks.
  - [Uczenie wieloinstancyjne (MIL) (Multiple instance learning (MIL))](https://aiatlasgraph.com/t/multiinstance.md): Learning from labels attached to bags of instances; the model aggregates instance representations, e.g. with attention, into a bag-level prediction.
- [Walidacja i dobór modelu (Model selection and validation)](https://aiatlasgraph.com/t/modelselection.md): How to check reliably whether a model generalises to new data, and how to choose a model and its settings without fooling yourself.
  - [AutoML — automatyczny dobór modeli (Automated machine learning (AutoML))](https://aiatlasgraph.com/t/automl.md): Tools that prepare features, try many models and settings, and ensemble the best ones automatically.
  - [Przeuczenie, niedouczenie i regularyzacja (Overfitting, underfitting and regularisation)](https://aiatlasgraph.com/t/biasvariance.md): The trade-off between a model that is too simple (misses the pattern) and one fitted too closely to training data (learns noise), and techniques that counter it.
  - [Strojenie hiperparametrów (Hyperparameter tuning)](https://aiatlasgraph.com/t/hptuning.md): Searching for model settings that are not learned from data (tree depth, regularisation strength, learning rate) using validation results.
  - [Walidacja krzyżowa (Cross-validation)](https://aiatlasgraph.com/t/crossval.md): Repeatedly splitting data into training and validation parts (e.g. 5 folds) so the estimate does not depend on one lucky split.

## Courses

- [Machine Learning Specialization](<https://www.deeplearning.ai/specializations/machine-learning>)

## Sources

- [Stanford CS229 · Machine Learning (2018, archiwum)](<https://cs229.stanford.edu/syllabus-autumn2018.html>) `cs229` · reference: Klasyczne ML, statystyka i podstawy uczenia. Użyte jako stabilny szkielet, nie przegląd nowości.
- [Google · Recommendation Systems](<https://developers.google.com/machine-learning/recommendation/overview>) `rec` · reference: Rekomendacje, retrieval, scoring i reranking.
- [DeepLearning.AI — course catalogue](<https://www.deeplearning.ai/courses>) `dlai` · course catalogue: 42 topic labels with counts, about 130 courses.

---

AI Atlas revision 122 (2026-10-30) · HTML: https://aiatlasgraph.com/t/ml · index: https://aiatlasgraph.com/llms.txt · everything: https://aiatlasgraph.com/llms-full.txt · updated 2026-10-30
