Skip to content

Commit

Permalink
change the default compression options for 2D grid
Browse files Browse the repository at this point in the history
  • Loading branch information
jbellis committed Feb 8, 2024
1 parent 81eb0df commit 4e1f7ca
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,8 @@ public static void main(String[] args) throws IOException {

// 2D grid, built and calculated at runtime
if (pattern.matcher("2dgrid").find()) {
compressionGrid = Arrays.asList(null,
ds -> ProductQuantization.compute(ds.getBaseRavv(), ds.getDimension(), true));
var grid2d = DataSetCreator.create2DGrid(4_000_000, 10_000, 100);
gridSearch(grid2d, compressionGrid, mGrid, efConstructionGrid, efSearchGrid);
cachedCompressors.clear();
Expand Down

0 comments on commit 4e1f7ca

Please sign in to comment.