JuliaAI / JuliaAI/MLJTransforms.jl

Make `InteractionTransformer` more useful

Open
#45 2 comments 0 reactions 1 assignee View on GitHub

@ablaom is already working on this.

Since Sep 15, 2026.

enhancement
Dominant language
Julia
Stars
1
Forks
2
PR merge metrics
No merged PRs in 30d

Description

If features are x, y, z, then this transformer only generates (with order=3) columns for x, y, z, xy, yz, xz, xyz, ie, no feature appears with degree higher than one, and there is no constant term. I suppose that is what "interaction" means?

But what about the common use case of polynomial regression on a single feature? You want 1, x, x^2, x^3, which this transformer won't give.

Perhaps we can add a parameter interaction=true which when false adds all the monomials up to specified order.

cc @olivierlabayle

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.