Closed sebffischer closed 1 year ago
I think in general the hash function of the pipeop should check whether the PipeOp has non-standard construction arguments and if it does it should throw an error so one does not inherit a wrong hash method
To the degree that the auto_tuner does not do its own hashing properly there is nothing mlr3pipelines can realistically do.
The two learners below have the same hash although they should not. The problem is that
PipeOpLearner
inherits the hash function fromPipeOp
which does not take the hash of thelearner
that is passed during construction into account.Created on 2023-05-21 with reprex v2.0.2