batchFeaturizer vs adhoc

8 views
Skip to first unread message

vivace

unread,
Aug 12, 2014, 8:53:07 PM8/12/14
to scalanlp...@googlegroups.com
Hi

I am writing some code where it is convenient to do :

ListOfIds.take(100000).map(id => getExamples(id)).map(indexer).toIndexedSeq

I feel like this is not necessarily very efficient.... should I always use batchFeaturizer for this type of thing? Has it been optimized for memory efficiency whereas the above is not? 

cheers

Reply all
Reply to author
Forward
0 new messages