Makes a learner available by name to grain_ladder() and to learners(). The learners that
ship are registered the same way, so there is no list of names inside the fitting code.
Arguments
- name
Name the learner is asked for by.
- constructor
A function returning a
learner().- overwrite
Replace an existing registration.