Questions tagged [similarity]
The similarity tag has no usage guidance.
16
questions
0
votes
0
answers
25
views
How to make a RandomForestRegressor learn to differentiatie similar inputs with different outputs?
I'm working on a regression task with Sklearn RandomForestRegressor and I'm having some trouble distinguishing between two similar data with very different expected outputs. For example, each pair of ...
0
votes
0
answers
62
views
How to evaluate output of text generation models?
Evaluation of a wide variety of natural language generation (NLG) tasks is difficult. For instance, for a question answering model, it is hard for a human to quantify how well the model has answered a ...
0
votes
0
answers
61
views
How do you specify the dimension to search for similarity in CLIP image embeddings?
I have a question about CLIP semantic image search. When you have an image of a person e.g. a skinny person wearing red shirt, clip will search for you similarity in all dimensions including body ...
3
votes
3
answers
770
views
Why are Siamese Neural Networks used instead of a single neural network?
Siamese Neural Networks are a type of neural network used to compare two instances and infer if they belong to the same object. They are composed by two parallel identical neural networks, whose ...
2
votes
1
answer
241
views
Can CNNs detect image similarity?
I have been running some experiments to see whether a CNN can detect whether two images are the same. However, I can't seem to make it work. I am wondering whether CNNs are not able to do what I am ...
1
vote
1
answer
218
views
Is there any metric for calculating how natural a single image is given a dataset of the same class images?
Suppose there is a dataset $D$ of images. We have enough number $n$ of images in the dataset and all the images are of a single class.
Suppose I generated a new image $I$, which is not present in the ...
1
vote
0
answers
45
views
On learning to rank tasks. Could it be that the input of the Siamese network is a vector, or should it be exclusively raw text?
I'm developing a method to document and query representation as concept vectors (bag-of-concepts). I want to train a machine learning model on ranking (learning to rank a task). So I have document ...
2
votes
1
answer
1k
views
Similarity score between 2 words using Pre-trained BERT using Pytorch
I'm trying to compare Glove, Fasttext, Bert on the basis of similarity between 2 words using Pre-trained Models. Glove and Fasttext had pre-trained models that could easily be used with gensim ...
1
vote
0
answers
20
views
How to estimate the convolutional representation of a graph from its similarity to other graph convolutional representation?
Suppose we have two graphs A and B disconnected to each other (let's say 2-hops each), within a larger graph. If the convolutional representation of graph A is known, is it possible to estimate the ...
3
votes
2
answers
1k
views
Levenshtein Distance between each word in a given string
From Calculate Levenshtein distance between two strings in Python it is possible to calculate distance and similarity between two given strings(sentences).
And from Levenshtein Distance and Text ...
0
votes
2
answers
265
views
How could I compute in real-time the similarity between tickets?
I'm dealing with a "ticket similarity task".
Every time new tickets arrive at the help desk (customer service), I need to compare them and find out about similar ones.
In this way, once the ...
1
vote
0
answers
574
views
Threshold selection for Siamese network hyper-parameter tuning
I'm interested in modeling a Siamese network for facial verification. I've already written a simple working model that inputs feature vectors generated from two CNNs with shared weights then outputs a ...
1
vote
0
answers
63
views
String matching algorithm for product recognition
I'm building a web application that collects schema.org data from different webshops as Amazon, Shopify, etc. It collects data every 6h and shows the current and lowest price. It is used for ...
2
votes
2
answers
5k
views
How can we compare, in terms of similarity, two pieces of text?
How can we compare, in terms of similarity (and/or meaning), two pieces of text (or documents)?
For example, let's say that I want to determine whether a document is a plagiarized version of another ...
14
votes
3
answers
18k
views
How do I compute the structural similarity between sentences?
I am working on a problem where I need to determine whether two sentences are similar or not. I implemented a solution using BM25 algorithm and wordnet synsets for determining syntactic & ...
4
votes
1
answer
2k
views
Is music/sound similarity comparison feasible on neural networks?
I wonder on the following concept:
A given neural network gets two audio input (preferably music) and gives a real number between 0 and 1 which describes "similarity" between the second and the ...