rules/feature-engineering/target-encoder-before-outer-cv.md
target-encoder-before-outer-cv
A resolved sklearn.preprocessing.TargetEncoder fit and transform produces all-row features passed to an outer score or search in the same scope.
Run xpd feature-engineering to supply the feature and pipeline context.