mlr-org / mlr3pipelines

Dataflow Programming for Machine Learning in R
https://mlr3pipelines.mlr-org.com/
GNU Lesser General Public License v3.0
137 stars 25 forks source link

Better warning if po(<id>) does not work, but ppl(<id>) exists #717

Open sebffischer opened 1 year ago

sebffischer commented 1 year ago

Inspired by this SO post: https://stackoverflow.com/users/17945841/programming-noob

mb706 commented 1 year ago

Link is appears broken to me.

Since our dictionaries all inherit from the same base class, we could also think of having a central registry of all dictionaries in mlr3misc, where did_you_mean looks for similar names. So if someone wants a pipeop but uses lrn(), or wants a filter but uses po() etc., one would get a fitting hint.