Featurize a single row.
Featurize a single row.
input row.
output indices.
output values.
this interface isn't very Scala-esce, but it avoids lots of allocation. Also due to SparseVector limitations we don't support 64bit indices (e.g. indices are signed 32bit ints)
input field index.
input field index.
Initialize hasher that already pre-hashes the column prefix.
Initialize hasher that already pre-hashes the column prefix.
bit mask applied to final hash.
Featurize sparse and dense vector into native VW structure. (hash(s(0)):value, hash(s(1)):value, ...)