See the explanation here: Error from feature-classifier: indices and data should have the same size - #4 by Nicholas_Bokulich