Skip to content

Commit

Permalink
add FUSED_ADC construction back to Bench
Browse files Browse the repository at this point in the history
  • Loading branch information
jbellis committed Jan 9, 2025
1 parent 374be9d commit 34a0b6d
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public static void main(String[] args) throws IOException {
var efConstructionGrid = List.of(100); // List.of(60, 80, 100, 120, 160, 200, 400, 600, 800);
var efSearchGrid = List.of(1.0, 2.0);
List<Function<DataSet, CompressorParameters>> buildCompression = Arrays.asList(
// ds -> new PQParameters(ds.getDimension() / 8, 256, ds.similarityFunction == VectorSimilarityFunction.EUCLIDEAN, UNWEIGHTED),
ds -> new PQParameters(ds.getDimension() / 8, 256, ds.similarityFunction == VectorSimilarityFunction.EUCLIDEAN, UNWEIGHTED),
__ -> CompressorParameters.NONE
);
List<Function<DataSet, CompressorParameters>> searchCompression = Arrays.asList(
Expand All @@ -55,8 +55,9 @@ public static void main(String[] args) throws IOException {
ds -> new PQParameters(ds.getDimension() / 8, 256, ds.similarityFunction == VectorSimilarityFunction.EUCLIDEAN, UNWEIGHTED)
);
List<EnumSet<FeatureId>> featureSets = Arrays.asList(
// EnumSet.of(FeatureId.INLINE_VECTORS),
EnumSet.of(FeatureId.NVQ_VECTORS)
EnumSet.of(FeatureId.NVQ_VECTORS),
EnumSet.of(FeatureId.NVQ_VECTORS, FeatureId.FUSED_ADC),
EnumSet.of(FeatureId.INLINE_VECTORS)
);

// args is list of regexes, possibly needing to be split by whitespace.
Expand Down

0 comments on commit 34a0b6d

Please sign in to comment.