-
Hi everyone,
The definition of similarity using cosine is which give us a number between [-1, 1].
But in the code the similarity is defined by which will give a number between [0, 2]. Should we…
-
Hi,
Below code is trowing error at
cdist(a1, a2, 'cosine')[0][0]
How can I measure cosine similarity between sentences. I can not provide all strings in single array and on shot.
from sente…
-
As discussed in #135, it would be interesting to add support for the adjusted cosine similarity.
Adjusted cosine is similar to pearson similarity, only the centering differs (for a user-user simila…
-
### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a sim…
-
Hello,
Thanks for putting together this package. Your cosine_dist function in fact calculates similarity rather than distance. This can be confusing, especially since the documentation also says it c…
-
### SDK
Python
### Description
I'd love to be able to specify a minimum cosine similarity threshold (or maximum cosine distance) when using `table.search()`. One way to do this would be to al…
-
Currently, we use Cosine Similarity for similarity metric. With complex architectures like BERT, it may not be effective as the objective functions used for pre-training or fine-tuning does not direct…
-
### Bug Description:
if create index without float vector then add in later with ALTER daemon failed to save disk chunk or create invalid index
```bash
create table test ( title text );
insert int…
-
TL;DR: current projection head doesn't do what it is supposed to do. It should have a batch norm and the size of the features and projections may be reduced further.
In the previous implementations o…
-
#### Description
I was trying to create my custom algo and before moving to something more complicated I wanted to make sure I understand how current code is working.
I couldn't understand why C…