---
title: "Comment by Zakaria El hjouji on \"My binary vector search is better than your FP32 vectors\" | Hashnode"
description: "Great documentation! I wonder if there's room to tune the threshold by which we decide whether a float is 0 or 1. Obviously, the threshold tuning should be done"
url: "https://hashnode.com/posts/my-binary-vector-search-is-better-than-your-fp32-vectors/65fd5c183e6b0a95b10ed2b3/comment/66074ea704ee1311332f9e5f"
---

[Discussion](https://hashnode.com/posts/my-binary-vector-search-is-better-than-your-fp32-vectors/65fd5c183e6b0a95b10ed2b3)

Comment [My binary vector search is better than your FP32 vectors](https://hashnode.com/posts/my-binary-vector-search-is-better-than-your-fp32-vectors/65fd5c183e6b0a95b10ed2b3)

[Zakaria El hjouji](https://hashnode.com/@zakariaelhjouji)

[Mar 29, 2024](https://hashnode.com/posts/my-binary-vector-search-is-better-than-your-fp32-vectors/65fd5c183e6b0a95b10ed2b3/comment/66074ea704ee1311332f9e5f)

Great documentation! I wonder if there's room to tune the threshold by which we decide whether a float is 0 or 1. Obviously, the threshold tuning should be done on a sample of the data. What do you think?

[Ce Gao](https://hashnode.com/@gaocegege)

[Apr 1, 2024](https://hashnode.com/posts/my-binary-vector-search-is-better-than-your-fp32-vectors/65fd5c183e6b0a95b10ed2b3/comment/66074ea704ee1311332f9e5f#reply-660a5b2b8840473fdf912528)

Thanks! It would be an improvement if we adjust the cutoff point to decide whether a number is considered 0 or 1. Currently, we just convert positive numbers to 1 and negative numbers to 0
