Skip to content

mlr3's automatic parameter renaming breaks R's naming conventions #792

@MattJEM

Description

@MattJEM

I have learners that have gone through a few transformations and have ended up with some pretty long parameter names, such as 'encode.classif.xgboost.classif.xgboost.min_child_weight'.

I think these names are interfering with my ability to tune my models. When I try to run benchmark on my learners I get the following error:

Error in .__ParamSet__initialize(self = self, private = private, super = super,  : 
  Assertion on 'ids' failed: Must have names according to R's variable naming conventions, but element 1 does not comply.

Would it be possible to either allow the user to change parameter names in mlr3 or to disable this check?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions