0
$\begingroup$

i have developed a application for text classification ,it is taking to much time to execute support vector machine due to normalization issue,so that i am asking ,can we normalize the text data using python , please suggest the examples for this issue.

below my sample code :pipe = Pipeline([("cleaner", predictors()), ('tfidf_vector', tfidf_vector), ('classifier', classifier)])

pipe.fit(X_train,y_train_)

$\endgroup$
  • $\begingroup$ how did you form up your numerical features to be fed into SVM? $\endgroup$ – gunes Mar 30 at 12:16
  • $\begingroup$ i am using tf-idf to convert text to numeric . $\endgroup$ – Nandu matam Mar 30 at 12:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.