Given an input row of features, invokes the specific function for every non-zero output.
Given an input row of features, invokes the specific function for every non-zero output.
The row value to encode, either a Double or Vector.
The callback to invoke on each non-zero (index, value) output pair.
The size of the output vector.