For a small project I need to extract the features obtained from Doc2Vec object in gensim.
I have used vector = model.infer_vector(words)
is it correct?
是的,如果words
是一个单词字符串列表,则以与训练期间将训练数据馈送到model
相同的方式进行预处理/标记化。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.