mlr3
Machine learning framework for R
mlr3 is hardening the seams where its abstractions meet real learners
◆Recent moves
- 2mo ago
Fallback learner state and probability alignment fixes
A fix release with real correctness weight: predict_newdata_fast() now restores the fallback learner's state and predict type after resample() and benchmark(), and aligns probability columns by class name so imputed predictions are no longer silently misassigned.
View source ↗ - 2mo ago
Encapsulated learners gain a deadline; Task$divide() removed
Removes the deprecated Task$divide() as a breaking change and gives encapsulated learners a date-time deadline alongside the seconds-based timeout - a more usable control when training runs are scheduled rather than merely bounded.
View source ↗ - 4mo ago
Raw upstream predictions preserved; binary probability fix
Adds a predict_raw flag and a raw field so the upstream model's own prediction object survives alongside the standardised one. Also fixes inverted binary probabilities caused by target factor levels being reordered between training and prediction.
View source ↗ - 5mo ago
Log messages replaced with conditions
A single change replacing messages with conditions in logs. Small on its own, but part of the broader move to make diagnostics structured rather than printed.
View source ↗ - 5mo ago
native_model accessor and structured warning/error logs
Adds a native_model binding for reaching the upstream package's model directly, stores warning and error conditions on the learner log, and stops allowing supervised tasks with missing target values.
View source ↗ - 8mo ago
Mlr3Error and Mlr3Warning classes introduced
Introduces Mlr3Error and Mlr3Warning classes and an extra field for attaching additional data to prediction objects. The typed condition classes are the foundation the later logging changes build on.
View source ↗