{"word": vocabulary[word], ...}

the trained data is lie [[0.0, 1.0, 'xxx', 'yyy', '13.0', ...], ]

so when i use DictVectorizer it will create an array when i run
fit_transform somethign like

array([[ 1.,  0.],
       [ 0.,  1.]])

with different shape and data. I am not sure how i will replace 'xxx' with
the encoded data here. Will i put 10 instead of 'xxx' ?
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to