Questions tagged [doc2vec]

Doc2vec (aka paragraph2vec, aka sentence embeddings) modifies the word2vec algorithm to unsupervised learning of continuous representations for larger blocks of text, such as sentences, paragraphs or entire documents.

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

embeddings for representing sequences in which items also have numeric attributes/features

My data is a collection of sequences of items (or events or webpages), in which each item also has associated numeric features. An example could be the following scenario: An on-demand movie ...
user avatar
0 votes
0 answers
13 views

embedding sequences (eg. with doc2vec): do trajectories in the learned (N-dimensional embedding) vector space make any sense?

My data is a collection of temporal sequences of events (each event has a timestamp / or, alternatively, a duration). An example could be sequences of events generated by customers interacting with ...
user avatar
0 votes
1 answer
46 views

Normalizing Topic Vectors in Top2vec

I am trying to understand how Top2Vec works. I have some questions about the code that I could not find an answer for in the paper. A summary of what the algorithm does is that it: embeds words and ...
user avatar
1 vote
0 answers
23 views

Using doc2vec embeddings as model input our perhaps similarity comparison? [closed]

Doc2vec is an extension of word2vec, which creates vector representations of documents. One can use this representations as input to some classifier/regression(Logistic Regression, XGboost, LightGBM .....
user avatar
0 votes
0 answers
10 views

document subsimilarity matching

I'm looking to classify subsections of "full" documents based on their similarity to a set of subsections that have been manually curated and assigned labels (let's call these short ...
user avatar
  • 101
0 votes
1 answer
43 views

Doc2vec Corpus Size Recommendation

I'm trying to make a semantic search engine with Doc2Vec where you query the model a document and it returns N most similar documents from its training corpus. I'm having trouble pushing accuracy past ...
user avatar
  • 123
4 votes
1 answer
299 views

Word2Vec vs. Doc2Vec Word Vectors

I am doing some analysis on document similarity and was also interested in word similarity. I know that doc2vec inherits from word2vec and by default trains using word vectors which we can access. My ...
user avatar
  • 1,265
1 vote
0 answers
49 views

NLP for customer reviews and summaries

I'm trying to develop a model in R that will compare a customer review with a summary of that review that is completed by an employee. The purpose is to ensure that the employee is accurately tagging ...
user avatar
  • 11
2 votes
1 answer
787 views

Generating Sentence Vectors from Word2Vec

I know that I can use doc2Wec and other resources to get sentence vectors. But I am very curious to generate sentence vectors using Word2Vec. I read lot of materials and found that Averaging the ...
user avatar
6 votes
0 answers
558 views

Understanding Object2Vec

AWS released an interesting feature as part of the SageMaker service called Object2Vec that lets you make an embedding for search out of pretty much anything: documents, users, products, ...
user avatar
  • 5,997
0 votes
0 answers
71 views

What to make of high R-squared and non-significant p-value of a linear model?

I am using doc2vec to produce $\mathbb{R}^{50}$ vector representations of short bits of text. I am then using those vectors in a linear model to predict a continuous outcome variable. The R^2 is .25 ...
user avatar
  • 295
0 votes
1 answer
356 views

High Precision and low recall score for TF-IDF when using KNN algorithm

I have twitter data which is labelled with the sentiment(Postive, Negative, Neutral) and I have evaluated the performance of Tf-Idf and Doc2Vec feature extractor using the KNN algorithm and logistic ...
user avatar
2 votes
1 answer
1k views

Pre-processing: lemmatizing and stemming make a better doc2vec?

I have a project which I will turn documents of a corpus into doc2vec. I was reading that when people convert a document to bag of words they try to improve the bag of words by removing stopwords, ...
user avatar
  • 237
2 votes
1 answer
3k views

how to improve doc2vec model

I would like to do some sentence embedding on around 500 sentences. The purpose is to find for new sentences, the most similar ones within the 500 sentences. Unfortunately, for now its definitely not ...
user avatar
  • 222
0 votes
1 answer
209 views

Different accuracy scores for the vectors generated by Doc2Vec model trained on same hyper parameters

I am using doc2vec to generate vectors for sentences in training and testing datasets. The generated vectors are used to classify sentences using ensemble classifiers. The classifier is showing two ...
user avatar
1 vote
1 answer
388 views

How should I formalize Doc2Vec Matrix Dimension?

Below, I have a simple diagram explaining the matrix dimension of word2vec. My goal is to expand this graph to incorporate document vectors for doc2vec. However, I'm having trouble understanding the ...
user avatar
  • 163
4 votes
1 answer
4k views

How to train sentence/paragraph/document embeddings?

I'm well aware of word embeddings (word2vec or Glove) and I know of four papers treating the subject of more general embeddings : Distributed Representations of Sentences and Documents - Quoc V. Le,...
user avatar
  • 100
5 votes
1 answer
544 views

Why have a tanh layer, max pooling layer and then another tanh layer

I have been reading a Facebook paper, read here, and am confused about certain features of the architecture. I do not understand why they have a tanh layer, max-pooling layer, and then another tanh ...
user avatar
0 votes
0 answers
1k views

Clustering using doc2vec

is it okay to cluster documents by learned document vectors?. I think similar documents should have similar vectors. from this fact it is okay to cluster documents using for instance k-means. However, ...
user avatar
0 votes
1 answer
941 views

Can any one give explanation on LSA and what is different from NMF?

LSA is better way for extracted new concepts from large text documents collections .. in the following example : i have spend lot of time in Google to get explanation about the following My ...
user avatar
4 votes
2 answers
4k views

Doc2Vec for large documents

I have about 7000000 patents that I would like to do find the document similarity of. Obviously with a sample set that big it will take a long time to run. I am just taking a small sample of about ...
user avatar
  • 611