Skip to content

Add normalization support in pyhealth/processors/timeseries_processor.py #491

Closed

Description

@zzachw

In

class TimeseriesProcessor(FeatureProcessor):
, we should allow the user to normalize the timeseries based on statistics computed on the training set.

Activity

  1. solarsys commented on Oct 28, 2026

    @solarsys
    Collaborator

    TimeseriesProcessor now supports normalization="zscore" or "minmax", with the statistics learned in fit() (#1337). Pass a split to set_task(..., split=...) so it is fitted on the training patients only. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions