Releases: mlr-org/mlr3
mlr3 1.3.0
- feat:
Learner$predict()can now add additional data toPredictionClassifandPredictionRegrobjects via theextrafield. - feat:
Mlr3ErrorandMlr3Warningclasses for errors and warnings. - refactor:
$obs_lossmethods inMeasure,Prediction,ResampleResult, andBenchmarkResult. - perf: Use more
lengths()anddata.table::setattr()in tests. - perf: Use
attr()instead ofattributes()for extracting single attributes. - test: Use more specialised test functions.
- fix:
weights_measurenow work withstratum. - fix: Encapsulation loads loaded packages on the workers.
- fix: Learners can handle new factor levels.
- refactor: Use more implicit returns.
- feat: Learner can pass extra data to predictions.
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.