Doc2Vec

Vectorize documents of arbitrary length

Algorithmia Platform License · Internet Access · Calls Other Algorithms

Run an Example

Install & Use

Use

curl -X POST -d '{
	"docs": [
    	"This algorithm creates a vector representation of an input text of arbitrary length (a document) by using LDA to detect topic keywords and Word2Vec to generate word vectors, and finally concatenating the word vectors together to form a document vector. The output document vector is within the same vector space as each Word2Vec word (300 dimensions, with a range of -1, +1).",
        "The JSON Formatter was created to help with debugging. As JSON data is often output without line breaks to save space, it is extremely difficult to actually read and make sense of it. This little tool hoped to solve the problem by formatting the JSON data so that it is easy to read and debug by human beings."
    ]
}' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/nlp/Doc2Vec/0.2.14