Releases: mlr-org/mlr3
mlr3 1.2.0
- feat: Add
miraisupport for parallelization and encapsulation. - feat: Fallback can now be configured to only be used in case of certain errors via the
whenargument. - feat: Custom error and warning classes.
- fix:
$selected_featuresreturns error when model is not trained yet. - docs: Missing values during scoring.
- BREAKING CHANGE: Removed
data_formatargument of$data()method ofDataBackend. - BREAKING CHANGE: Remove
data_formatsfield fromLearner. - BREAKING CHANGE: Remove
DataBackendMatrixclass. - feat: Add
materialize_view()method toTaskto replace the internalDataBackendwith a new one after operations like$select()and$filter(). - docs: Information about quantile prediction.
- perf: Use
fgetinassert_predictable. - feat: Store oob error in state without requiring storing the model.
- fix:
$levels()ofTaskreturns in the correct order. - chore: Only print up to 10 classes in the
Taskprinter. - fix: Check if
quantilesandquantile_responseare set.
mlr3 1.1.0
- feat: Add new measure
MeasureRegrRQRfor quantile regression. - feat: Add
$predict_newdata_fast()method toLearnerto speed up prediction. - fix:
configure_learneris passed onrun_experiment()for autotest learners.
mlr3 1.0.1
- fix: The printer of
Learnerfailed when thevalidatefield was set. - fix: Avoid printing empty line for feature less tasks.
- perf: Use
data.table::setattr()for less copying.
mlr3 1.0.0
-
BREAKING CHANGE: The mlr3 ecosystem has a base logger now which is named
mlr3.
Themlr3/corelogger is a child of themlr3logger and is used for logging messages from themlr3package.
Some extension packages have their own loggers which are children of the mlr3 logger e.g. mlr3/mlr3pipelines and mlr3/bbotk for tuning. -
BREAKING CHANGE:
weightsproperty and functionality is split intoweights_learnerandweights_measure:weights_learner: Weights used during training by the Learner.weights_measure: Weights used during scoring predictions via measures.
Each of these can be disabled via the new field
use_weightsinLearnerandMeasureobjects. -
feat: Add
$confusion_weightedfield toPredictionClassif. -
feat: Add
$weightsfield toPrediction. It contains theweights_measureweights from theTaskthat was used for prediction. -
feat: Add
"macro_weighted"option toMeasure$averagefield. -
feat:
MeasureRegrRSQandMeasureClassifCostgain"weights"property. -
feat:
LearnerClassifFeatureless,LearnerRegrFeatureless,LearnerClassifDebug,LearnerRegrDebuggain"weights"property. -
feat:
Learnerprinter now prints information about encapsulation and weights use. -
feat: Add
score_roc_measures()to score a prediction on various roc measures. -
feat: A better error message is thrown, which often happens when incorrectly configuring the
validatefield
of aGraphLearner -
feat: Added method
$set_threshold()toBenchmarkResultandResamplingResult, which allows to set the threshold for the response prediction of classification learners, given they have output a probability prediction (#1270). -
feat: Added field
$uhash_tabletoBenchmarkResultand functionsuhash()anduhashes()
to easily compute uhashes for given learner, task, or resampling ids (#1270). -
feat: You can now change the default predict type of classification learners to
"prob"by setting
the optionmlr3.prob_as_defaulttoTRUE(#1273). -
feat:
benchmark_grid()will now throw a warning if you mix different predict types in the
design (#1273). -
feat: Converting a
BenchmarkResultto adata.tablenow includes thetask_id,learner_id, andresampling_idcolumns (#1275). -
fix: Add missing parameters for
"regr.pinball"and"sim.phi"measures.
mlr3 0.23.0
- feat: Add new
col_roleoffset inTaskand offsetLearnerproperty.
A warning is produced if a learner that doesn't support offsets is trained with a task that has an offset column. - fix: The
$predict_newdata()method ofLearnernow automatically conducts type conversions (#685). - BREAKING_CHANGE: Predicting on a
Taskwith the wrong column information is now an error and not a warning. - Column names with UTF-8 characters are now allowed by default.
The optionmlr3.allow_utf8_namesis removed. - BREAKING CHANGE:
Learner$predict_typesis read-only now. - docs: Clear up behavior of
Learner$predict_typeafter training. - feat: Add callbacks to
resample()andbenchmark(). - fix: Internal tuning and validation now works when the model requires marshaling (#1256).
mlr3 0.22.1
- fix: Extend
assert_measure()with checks for trained models inassert_scorable().
mlr3 0.22.0
- fix: Quantiles must not ascend with probabilities.
- refactor: Replace
tsk("boston_housing")withtsk("california_housing"). - feat: Require unique learner ids in
benchmark_grid(). - BREAKING CHANGE: Remove
$loglik()method from all learners. - fix: Ignore
future.globals.maxSizewhenfuture::plan("sequential")is used. - feat: Add
$characteristicsfield toTaskto store additional information.
mlr3 0.21.1
- feat: Throw warning when prediction and measure type do not match.
- fix: The
mlr_reflectionswere broken when an extension package was not loaded on the workers.
Extension packages must now register themselves in themlr_reflections$loaded_packagesfield.
mlr3 0.21.0
- BREAKING CHANGE: Deprecated
data_formatanddata_formatsforLearner,Task, andDataBackendclasses. - feat: The
partition()function creates training, test and validation sets now. - perf: Optimize the runtime of fixing factor levels.
- perf: Optimize the runtime of setting row roles.
- perf: Optimize the runtime of marshalling.
- perf: Optimize the runtime of
Task$col_info. - fix: column info is now checked for compatibility during
Learner$predict(#943). - BREAKING CHANGE: The predict time of the learner now stores the cumulative duration for all predict sets (#992).
- feat:
$internal_valid_taskcan now be set to anintegervector. - feat: Measures can now have an empty
$predict_sets(#1094).
This is relevant for measures that only extract information from the model of a learner (such as internal validation scores or AIC / BIC) - BREAKING CHANGE: Deprecated the
$divide()method - fix:
Task$cbind()now works with non-standard primary keys fordata.frames(#961). - fix: Triggering of fallback learner now has log-level
"info"instead of"debug"(#972). - feat: Added new measure
regr.pinballhere and in mlr3measures. - feat: Added new measure
mu_auchere and in mlr3measures. - feat: Add option to calculate the mean of the true values on the train set in
msr("regr.rsq"). - feat: Default fallback learner is set when encapsulation is activated.
- feat: Learners
classif.debugandregr.debughave new methods$importance()and$selected_features()for testing, also in downstream packages. - feat: Create default fallback learner with
default_fallback(). - feat: Check column roles when using
$set_col_roles()and$col_roles. - fix: Add predict set to learner hash.
- BREAKING CHANGE: Encapsulation and the fallback learner are now set with the
$encapsulate(method, fallback)method.
The$fallbackfield is read-only now and the encapsulate status can be retrieved from the$encapsulationfield.
mlr3 0.20.2
- refactor: move RhpcBLASctl to suggest.