Penelope v0.5.0 Penelope.ML.Word2vec.MeanVectorizer View Source

This module vectorizes a list of tokens using word vectors. Token vectors are retrieved from the word2vec index (see index.ex). These are combined into a single document vector by taking their vector mean.

Link to this section Summary

Link to this section Functions

Link to this function transform(model, context, x) View Source