JuliaAI / JuliaAI/MLJTransforms.jl

Automatically convert `Date` in `ContinuousEncoder`

Open
#44 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Right now, inputting a date into a ContinuousEncoder just drops it, but it seems more reasonable to handle by converting dates into a number of days.

[ Info: Some features cannot be replaced with `Continuous` features and will be dropped: [:Year]. 

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.

Research direction

Start by locating the ContinuousEncoder implementation and any existing tests for date or continuous-feature handling. Reproduce the reported warning with a Date input, then determine the expected day-based numeric representation and add coverage showing that dates are converted rather than dropped.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
machine-learning
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.