mlr-org / mlr3

mlr3: Machine Learning in R - next generation
https://mlr3.mlr-org.com
GNU Lesser General Public License v3.0
906 stars 84 forks source link

feat(Learner): support marshal property #993

Closed sebffischer closed 2 months ago

sebffischer commented 5 months ago

Suggestion:

TODOs:

Points for discussion:

This is useful for learners that e.g. rely on external pointers and that need processing of the model to be serializable. Addresses https://github.com/mlr-org/mlr3/issues/891

Input checks on the measure (check that model is not marshaleld when accessing the model) only work partially (https://github.com/mlr-org/mlr3/issues/1000)

TODOs:

sebffischer commented 5 months ago

Related PR in mlr3torch: https://github.com/mlr-org/mlr3torch/pull/179

sebffischer commented 5 months ago