Skip to content

Review and refactor DateTime encoder  #471

Open
@breznak

Description

@breznak

Follow up to #462 ,

Date time encoder is only available in python:

  • make a c++ version + bindings?

Python datetime:

  • consider removing "weekend" field, replaced by cusomDays
    • same with holidays?
  • make more general purpose!
    • current DateTime is an old encoder, heavily specified for "hotgym" dataset, that has weekly period, and is tied to human behavior (such as weekend, ...)
    • specify encoding width for minutes, seconds, years? (currently seasons, days only)
  • extend "date string" format of inputs, such as for customDays ("Mon", "Tuesday") to use full datetime's format
    • so we can specify "Mon, 13:05" etc
  • test quality of encoding using RDSE as the internal encoder, instead of ScalarEncoder
  • allow "smoothing of upcoming events"
    • currently, say Wed is a special day, output looks like (day:special): Mon:0, Tue:0, Wed:1,Thr:0, ..
    • change to smoothing: Mon:0, Tue:0.5, Wed:1.0, Thr:0, ...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions