larsmans / seqlearn

Sequence learning toolkit for Python

Home Page:http://larsmans.github.io/seqlearn/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use word embedding as a feature ?

somnathasati opened this issue · comments

I want to know, if there exist any way to pass word vector extracted from word2vec as a feature ? or, i have to use/change something else in place of existing feature hashing ? Great Thanks !

There is no feature hashing, seqlearn estimators require feature matrix X which can contain arbitrary features, including word vectors.

There is no feature hashing, seqlearn estimators require feature matrix X which can contain arbitrary features, including word vectors.

@kmike
Hi, does it mean I can directly use feature matrix X, even if it is not sparse, without feature hashing? Thanks a lot!