JuliaAI / JuliaAI/MLJTransforms.jl
Universal table transformer combining univariate transformations dispatched on schema
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 1
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
It has been proposed on Slack that it be possible to have a single table transformer that transforms individual columns according to user-specified univariate transformations. This sounds like a good idea, which would also force some uniformity that's a little bit lacking in the current collection of table transformers.
-
In the most general case I can imagine implementing, the univariate transformer that applies to a particular column is defined by a function that operates on both the
nameandscitypeof the the column (as encoded in the tableschema). This has the disadvantage that the user must specify a function with two arguments - or interact through some other complicated interface. -
The alternative would be a compositional approach. Each tabular transformer only carries out a single univariate transformer, applying to all specified
namesandscitypes(or "not"-names and "not"-scitypes, throughignoreBoolean parameter), which would cover all conceivable use-cases. (columns not referred to are left alone). However, as we are currently locked into Tables.jl (which are non-mutable in general) we get a lot more copying of data.
Thoughts anyone?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the current collection of table transformers and the Tables.jl schema and mutability constraints described in the issue. Compare the function-based and compositional approaches, then define the user-facing dispatch behavior and confirm that all specified columns are transformed while unspecified columns remain unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100