Skip to content

Conversation

codeloop
Copy link
Member

@codeloop codeloop commented Sep 7, 2025

Add post-processing step for forecast clipping

This change introduces a new post-processing step for the forecast operator that allows users to clip the forecast output to a specified minimum and maximum value. This is useful for ensuring that the forecast values remain within a realistic or desirable range.

This change includes:

  • A new PostprocessingSteps configuration to define the min/max clipping values.
  • Updates to the operator schema to expose the new configuration.
  • Implementation of the clipping logic using numpy.clip.
  • A new test case to verify the clipping functionality.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Sep 7, 2025
@codeloop codeloop requested a review from prasankh September 8, 2025 02:42
@codeloop codeloop marked this pull request as ready for review September 8, 2025 02:42
@codeloop codeloop enabled auto-merge September 8, 2025 02:42
@codeloop codeloop changed the title Add post-processing step for forecast clipping [ODSC-75899] : Add post-processing step for forecast clipping Sep 8, 2025
prasankh

This comment was marked as resolved.

@codeloop codeloop requested a review from prasankh September 9, 2025 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants