Skip to content
This repository was archived by the owner on Nov 17, 2025. It is now read-only.
This repository was archived by the owner on Nov 17, 2025. It is now read-only.

Add remaining time formats #16

@fsaad

Description

@fsaad

In BayesianNeuralFieldEstimator, the timetype variable is assumed to be index. The more general version is

  • timetype='index': Converts entries in the time column (whose type is datetime.datetime) to a discrete time index, as specified by the freq parameter.

  • timetype='unix': Converts entries in the time column (whose type is datetime.datetime) to a float according to UNIX time.

  • timetype='float': Leaves entries in the time column (with any numeric type) as is.

The freq should be generalized from str to str | None, since it only makes sense for timetype=='index'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions