Quantcast
Channel: Machine Learning
Viewing all articles
Browse latest Browse all 63440

sklearn vectorizing PoS & numeric data?

$
0
0

If I want to train on text, PoS, and numeric vectors how should this be done?

The only thing that made sense so far was to hstack coo_matrix objects. I use CountVectorizer on the PoS tagged text in dicts and simply normalize the numeric float vectors... convert to coo and stack.

is this correct?

thanks all

submitted by jonathan881
[link][comment]

Viewing all articles
Browse latest Browse all 63440

Trending Articles