adaptFrameToTrain can encode Frame based on conditions unknown to the method’s caller, making it impossible to decide when TE should be applied before.
This is a problem only when using non-AUTO categorical encoder (in this case, adaptFrameToTrain will never encode the frame), and AutoML is currently only supporting AUTO.
Inject the encoder to this method as as a functional param instead of being guessed internally. This would allow to inject an encoder that does both TE + categorical encoding.
Tried it, but doesn’t work with all algos, looks like the right approach though.
Is this a blocker for 126.96.36.199, or is it ok because AutoML currently supports AUTO?
it’s a follow-up ticket (cf. fix version set to 3.32.0.x), it doesn’t impact TE in AutoML as soon as AutoML keeps using AUTO as categorical encoding.