Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fill missing values with NaN in observation_data_to_array #2430

Closed
wants to merge 1 commit into from

Conversation

saitcakmak
Copy link
Contributor

Summary: This would previously filter out the observations with missing metrics with a warning, which could lead to issues in downstream usage. Returning the observations with NaN lets the downstream users deal with NaNs while keeping the expected return shapes.

Differential Revision: D56949439

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label May 3, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D56949439

saitcakmak added a commit to saitcakmak/Ax that referenced this pull request May 3, 2024
)

Summary:

This would previously filter out the observations with missing metrics with a warning, which could lead to issues in downstream usage. Returning the observations with NaN lets the downstream users deal with NaNs while keeping the expected return shapes.

Differential Revision: D56949439
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.30%. Comparing base (3f8540e) to head (a7487aa).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2430      +/-   ##
==========================================
- Coverage   95.30%   95.30%   -0.01%     
==========================================
  Files         494      494              
  Lines       47920    47918       -2     
==========================================
- Hits        45670    45668       -2     
  Misses       2250     2250              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

)

Summary:

This would previously filter out the observations with missing metrics with a warning, which could lead to issues in downstream usage. Returning the observations with NaN lets the downstream users deal with NaNs while keeping the expected return shapes.

Reviewed By: mpolson64

Differential Revision: D56949439
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D56949439

saitcakmak added a commit to saitcakmak/Ax that referenced this pull request May 7, 2024
)

Summary:

This would previously filter out the observations with missing metrics with a warning, which could lead to issues in downstream usage. Returning the observations with NaN lets the downstream users deal with NaNs while keeping the expected return shapes.

Reviewed By: mpolson64

Differential Revision: D56949439
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 6c2fce9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants