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

Simplified and optimized logic for calculating per-metric subsampling rate for MapData #3106

Closed
wants to merge 1 commit into from

Conversation

ltiao
Copy link
Contributor

@ltiao ltiao commented Nov 22, 2024

Differential Revision: D66366076

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

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

ltiao added a commit to ltiao/Ax that referenced this pull request Nov 22, 2024
… rate for MapData (facebook#3106)

Summary:

This refines the logic for calculating per-metric subsampling rates in `MapData.subsample` and incorporates a (probably premature) performance optimization, achieved by utilizing binary search on a sorted list instead of linear search.

Differential Revision: D66366076
ltiao added a commit to ltiao/Ax that referenced this pull request Nov 22, 2024
… rate for MapData (facebook#3106)

Summary:

This refines the logic for calculating per-metric subsampling rates in `MapData.subsample` and incorporates a (probably premature) performance optimization, achieved by utilizing binary search on a sorted list instead of linear search.

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

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

1 similar comment
@facebook-github-bot
Copy link
Contributor

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

ltiao added a commit to ltiao/Ax that referenced this pull request Nov 22, 2024
… rate for MapData (facebook#3106)

Summary:

This refines the logic for calculating per-metric subsampling rates in `MapData.subsample` and incorporates a (probably premature) performance optimization, achieved by utilizing binary search on a sorted list instead of linear search.

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

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

ltiao added a commit to ltiao/Ax that referenced this pull request Nov 23, 2024
… rate for MapData (facebook#3106)

Summary:

This refines the logic for calculating per-metric subsampling rates in `MapData.subsample` and incorporates a (probably premature) performance optimization, achieved by utilizing binary search on a sorted list instead of linear search.

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

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

@codecov-commenter
Copy link

codecov-commenter commented Nov 23, 2024

Codecov Report

Attention: Patch coverage is 95.65217% with 1 line in your changes missing coverage. Please review.

Project coverage is 95.84%. Comparing base (fd79d65) to head (5584715).

Files with missing lines Patch % Lines
ax/core/map_data.py 95.65% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3106      +/-   ##
==========================================
- Coverage   95.85%   95.84%   -0.01%     
==========================================
  Files         509      509              
  Lines       51338    51347       +9     
==========================================
+ Hits        49208    49216       +8     
- Misses       2130     2131       +1     

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

ltiao added a commit to ltiao/Ax that referenced this pull request Nov 25, 2024
… rate for MapData (facebook#3106)

Summary:

This refines the logic for calculating per-metric subsampling rates in `MapData.subsample` and incorporates a (probably premature) performance optimization, achieved by utilizing binary search on a sorted list instead of linear search.

Reviewed By: Balandat

Differential Revision: D66366076
ltiao added a commit to ltiao/Ax that referenced this pull request Nov 26, 2024
… rate for MapData (facebook#3106)

Summary:

This refines the logic for calculating per-metric subsampling rates in `MapData.subsample` and incorporates a (probably premature) performance optimization, achieved by utilizing binary search on a sorted list instead of linear search.

Reviewed By: Balandat

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

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

ltiao added a commit to ltiao/Ax that referenced this pull request Nov 26, 2024
… rate for MapData (facebook#3106)

Summary:

This refines the logic for calculating per-metric subsampling rates in `MapData.subsample` and incorporates a (probably premature) performance optimization, achieved by utilizing binary search on a sorted list instead of linear search.

Reviewed By: Balandat

Differential Revision: D66366076
ltiao pushed a commit to ltiao/Ax that referenced this pull request Nov 26, 2024
… rate for MapData (facebook#3106)

Summary:
Pull Request resolved: facebook#3106

This refines the logic for calculating per-metric subsampling rates in `MapData.subsample` and incorporates a (probably premature) performance optimization, achieved by utilizing binary search on a sorted list instead of linear search.

Differential Revision: D66366076
ltiao pushed a commit to ltiao/Ax that referenced this pull request Nov 27, 2024
… rate for MapData (facebook#3106)

Summary:
Pull Request resolved: facebook#3106

This refines the logic for calculating per-metric subsampling rates in `MapData.subsample` and incorporates a (probably premature) performance optimization, achieved by utilizing binary search on a sorted list instead of linear search.

Differential Revision: D66366076
ltiao pushed a commit to ltiao/Ax that referenced this pull request Nov 27, 2024
… rate for MapData (facebook#3106)

Summary:
Pull Request resolved: facebook#3106

This refines the logic for calculating per-metric subsampling rates in `MapData.subsample` and incorporates a (probably premature) performance optimization, achieved by utilizing binary search on a sorted list instead of linear search.

Differential Revision: D66366076
ltiao added a commit to ltiao/Ax that referenced this pull request Nov 27, 2024
… rate for MapData (facebook#3106)

Summary:

This refines the logic for calculating per-metric subsampling rates in `MapData.subsample` and incorporates a (probably premature) performance optimization, achieved by utilizing binary search on a sorted list instead of linear search.

Reviewed By: Balandat

Differential Revision: D66366076
ltiao added a commit to ltiao/Ax that referenced this pull request Nov 28, 2024
… rate for MapData (facebook#3106)

Summary:

This refines the logic for calculating per-metric subsampling rates in `MapData.subsample` and incorporates a (probably premature) performance optimization, achieved by utilizing binary search on a sorted list instead of linear search.

Reviewed By: Balandat

Differential Revision: D66366076
ltiao added a commit to ltiao/Ax that referenced this pull request Nov 28, 2024
… rate for MapData (facebook#3106)

Summary:

This refines the logic for calculating per-metric subsampling rates in `MapData.subsample` and incorporates a (probably premature) performance optimization, achieved by utilizing binary search on a sorted list instead of linear search.

Reviewed By: Balandat

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

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

ltiao added a commit to ltiao/Ax that referenced this pull request Nov 28, 2024
… rate for MapData (facebook#3106)

Summary:

This refines the logic for calculating per-metric subsampling rates in `MapData.subsample` and incorporates a (probably premature) performance optimization, achieved by utilizing binary search on a sorted list instead of linear search.

Reviewed By: Balandat

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

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

ltiao added a commit to ltiao/Ax that referenced this pull request Dec 12, 2024
… rate for MapData (facebook#3106)

Summary:
Pull Request resolved: facebook#3106

This refines the logic for calculating per-metric subsampling rates in `MapData.subsample` and incorporates a (probably premature) performance optimization, achieved by utilizing binary search on a sorted list instead of linear search.

Reviewed By: Balandat

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

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

ltiao added a commit to ltiao/Ax that referenced this pull request Dec 12, 2024
… rate for MapData (facebook#3106)

Summary:
Pull Request resolved: facebook#3106

This refines the logic for calculating per-metric subsampling rates in `MapData.subsample` and incorporates a (probably premature) performance optimization, achieved by utilizing binary search on a sorted list instead of linear search.

Reviewed By: Balandat

Differential Revision: D66366076
ltiao pushed a commit to ltiao/Ax that referenced this pull request Dec 12, 2024
… rate for MapData (facebook#3106)

Summary:
Pull Request resolved: facebook#3106

This refines the logic for calculating per-metric subsampling rates in `MapData.subsample` and incorporates a (probably premature) performance optimization, achieved by utilizing binary search on a sorted list instead of linear search.

Differential Revision: D66366076

Reviewed By: Balandat
ltiao added a commit to ltiao/Ax that referenced this pull request Dec 12, 2024
… rate for MapData (facebook#3106)

Summary:
Pull Request resolved: facebook#3106

This refines the logic for calculating per-metric subsampling rates in `MapData.subsample` and incorporates a (probably premature) performance optimization, achieved by utilizing binary search on a sorted list instead of linear search.

Reviewed By: Balandat

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

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

1 similar comment
@facebook-github-bot
Copy link
Contributor

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

ltiao added a commit to ltiao/Ax that referenced this pull request Dec 12, 2024
… rate for MapData (facebook#3106)

Summary:
Pull Request resolved: facebook#3106

This refines the logic for calculating per-metric subsampling rates in `MapData.subsample` and incorporates a (probably premature) performance optimization, achieved by utilizing binary search on a sorted list instead of linear search.

Reviewed By: Balandat

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

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

ltiao added a commit to ltiao/Ax that referenced this pull request Dec 13, 2024
… rate for MapData (facebook#3106)

Summary:
Pull Request resolved: facebook#3106

This refines the logic for calculating per-metric subsampling rates in `MapData.subsample` and incorporates a (probably premature) performance optimization, achieved by utilizing binary search on a sorted list instead of linear search.

Reviewed By: Balandat

Differential Revision: D66366076
Copy link

vercel bot commented Dec 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ax-archive ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 13, 2024 1:03am

ltiao pushed a commit to ltiao/Ax that referenced this pull request Dec 17, 2024
… rate for MapData (facebook#3106)

Summary:
Pull Request resolved: facebook#3106

This refines the logic for calculating per-metric subsampling rates in `MapData.subsample` and incorporates a (probably premature) performance optimization, achieved by utilizing binary search on a sorted list instead of linear search.

Differential Revision: D66366076

Reviewed By: Balandat
ltiao added a commit to ltiao/Ax that referenced this pull request Dec 18, 2024
… rate for MapData (facebook#3106)

Summary:
Pull Request resolved: facebook#3106

This refines the logic for calculating per-metric subsampling rates in `MapData.subsample` and incorporates a (probably premature) performance optimization, achieved by utilizing binary search on a sorted list instead of linear search.

Reviewed By: Balandat

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

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

… rate for MapData (facebook#3106)

Summary:

This refines the logic for calculating per-metric subsampling rates in `MapData.subsample` and incorporates a (probably premature) performance optimization, achieved by utilizing binary search on a sorted list instead of linear search.

Reviewed By: Balandat

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

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in f316a7b.

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