In the cubist regr learner, there is a parameter whose default is sample.int(4096, size = 1) which should be displayed in the help page of the learner constructed by rd_info.
When doing the usual ps(a = p_int(default = sample.int(4096))) the default is set to the evaluation of sample.int(4096) which is undesireable:
In the cubist regr learner, there is a parameter whose default is
sample.int(4096, size = 1)
which should be displayed in the help page of the learner constructed byrd_info
.When doing the usual
ps(a = p_int(default = sample.int(4096)))
the default is set to the evaluation ofsample.int(4096)
which is undesireable:The only solution I found is also a little hacky because it sets the default to a random value and sets the
repr
to something elseThis does currently not work with
p_uty()
.