X_train = np.array(descs_train)
y_train = tags_train
X_test = np.array(descs_train)
classifier = Pipeline([('vectorizer', CountVectorizer()), ('tfidf',
    TfidfTransformer()), ('clf', OneVsRestClassifier(LinearSVC(class_weight
    ='auto')))])
classifier = classifier.fit(X_train, y_train)
predicted = classifier.predict(X_test)
print(predicted)
Python: использование scikit-learn для прогнозирования дает пустые прогнозы