Questions tagged [similarity]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
2 answers
93 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 ...
user avatar
2 votes
1 answer
79 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 ...
user avatar
  • 21
1 vote
1 answer
45 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 ...
user avatar
  • 3,099
1 vote
0 answers
26 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 ...
user avatar
2 votes
1 answer
520 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 ...
user avatar
  • 1,193
1 vote
0 answers
17 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 ...
user avatar
  • 129
3 votes
2 answers
699 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 ...
user avatar
  • 1,193
0 votes
1 answer
142 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 ...
user avatar
  • 65
1 vote
0 answers
391 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 ...
user avatar
  • 11
1 vote
0 answers
44 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 ...
user avatar
  • 111
1 vote
2 answers
3k 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 ...
user avatar
13 votes
3 answers
17k 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 & ...
user avatar
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 ...
user avatar