Returns the mean absolute error of the surrogate's predictions on test data.
Arguments
- archive
(bbotk::ArchiveBatch)
The archive (ignored for this metric).- surrogate
(mlr3mbo::Surrogate)
The fitted surrogate model.- test_data
(
data.table)
Test data with features and target column.- target
(
character(1))
Target column name in test_data.- ...
Ignored.