deeplearning4j/deeplearning4j-examples

Convert string to vector in DataVec

オープン

#877 opened on 2019/08/20

 (2 件のコメント) (1 件のリアクション) (0 人の担当者)Java (1,841 件のフォーク)batch import
enhancementhelp wanted

Repository metrics

Stars
 (2,395 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

Please provide an example showing how to transform sentence (string) training data to vectors using a pre-populated word2vec object. Edourado mentioned we should be able to use an embedded layer to do this. Something about mapping word2vec to rows of vectors inside an embedded layer, then having the input layer contain indexes to those rows depending on what words the input data references.

Keep in mind the input contains sentences (multiple words). Thank you.

コントリビューターガイド