Repository navigation
Conversation
…of nulls in the estimation chore(test/functions/rewrite/SparsityOptimizerTest.java): change test to use the MNC estimator
… for information about sparsity which should be a common type for synopsis in sparsity estimation refactor(main/hops/estim/**): adapt to sparsity information container
…ar sparsity estimates which is also used by basic worst estimator feat(main/hops/estim/**): modify the custom sparsity types to extend from the sparsity information wrapper and implement common base functionality (nrows, ncols, avgsparsity) update all estimators to use the sparsity information type instead of data characteristics and custom types chore(test/component/estim/**): adapt to above changes
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2641 +/- ##
=============================================
+ Coverage 72.18% 76.60% +4.41%
=============================================
Files 2105 458 -1647
Lines 230158 31204 -198954
Branches 38694 0 -38694
=============================================
- Hits 166139 23903 -142236
+ Misses 52813 7301 -45512
+ Partials 11206 0 -11206
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…ity information from the matrix block instead of just getting the cached sparsity information from the mm node
…ethod to obtain the average sparsity for a density map
…non zero to double type before dividing it by the number of cells to obtain the sparsity (to retain the precision)
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi,
this PR introduces a common class for sparsity information. For now, the term sparsity information refers to known sparsity and sparsity estimates, but can be extended to bounds, certainty, etc. in the future. Also compatibility among different types of sparsity estimates can be implemented based on the sparsity information type.
This common parent class is intended to unify the core usage of sparsity estimates and improve the differentiation between known sparsity and estimated sparsity.
All the best,
David