294 features = vectorizer.fit_transform(data)
295
296 logger.debug("done in %fs", (time() - t0))
297 logger.debug("n_samples: %d, n_features: %d", features.shape) 298
299 if return_lsa_svd:
300 doc_term_matrix = features.toarray()
Too few arguments are passed to the logging format string. Ensure that the number of arguments being passed to the logging call is the same as the number of arguments the format string can accept.
import logging
logging.info('LOG: %s (%s)', "E100") # Expected 2 arguments, got 1
import logging
logging.info('LOG: %s (%s)', "Missing data", "E100")