使用 fastText 句子向量作为输入特征
Using fastText Sentence Vector as an Input Feature
我想使用 fastText 句子向量作为输入特征。
vector = model.get_sentence_vector('Original Sentence')
我正在尝试使用 MLP 对句子进行二元分类,并将使用上述代码生成的固定大小的特征来训练算法。这样做合理吗?
我想使用 fastText 句子向量作为输入特征。
vector = model.get_sentence_vector('Original Sentence')
我正在尝试使用 MLP 对句子进行二元分类,并将使用上述代码生成的固定大小的特征来训练算法。这样做合理吗?