Examples#
Worked examples for skordinal. Every script runs during the documentation build, so the output and figures on each page come from the code above them. Start with the quickstart, then browse by topic.
Getting started#
The end-to-end workflow: load a dataset, tune an ordinal classifier inside a scikit-learn pipeline and evaluate it with ordinal metrics.
Quickstart: an ordinal classifier in a scikit-learn pipeline
Classifiers#
How the ordinal classifiers differ, what their decision regions and probabilities look like, and how to build one out of a scikit-learn estimator.
Building an ordinal classifier from a scikit-learn estimator
Metrics#
Why accuracy misses the point on ordered classes, and what MAE, weighted kappa and their per-class variants measure instead.
Experiments#
Running many models over many datasets and resamples, and reading the results back.