SVM is applicable only for numeric data or can also be for textual data?

Asked by Last Modified  

11 Answers

Learn Python

Follow 0
Answer

Please enter your answer

SVM can work with textual data also. However you have to train the SVM to classify the text data. It is a usual practice to create a document-term matrix from the text that you have, to make SVM work easily on the data.
Comments

Tutor

SVMs work with numerical data only - needs to be a vector input. But you can transform textual data into word vectors so that we can use SVM on textual data. Some of the methods are TFIDF, word2Vec, GloVe and FastText.
Comments

I think it is applicable for numeric data since it is based on categorized prediction.
Comments

Computer Trainer

SVM is an supervised learning algorithm or concept used for classification and regression analysis. The implementation can be done for any numeric data, text data, symbols or images. The logic is to find the implementation of hyper plane for separation and the support vectors.
Comments

Any learning algorithm for that matter does not work Directly on text. It needs to be converted to a structured matrix before applying algorithms.The methods involve - 1. Extensive cleaning of the data - simple regular expressions to building complex CFGs 2. Converting the unstructured data to structured...
read more
Any learning algorithm for that matter does not work Directly on text. It needs to be converted to a structured matrix before applying algorithms.The methods involve - 1. Extensive cleaning of the data - simple regular expressions to building complex CFGs 2. Converting the unstructured data to structured data using Vector Space models - Vectorizers, LSA, W2V etc. read less
Comments

Certified Professional Trainer @ Magnitia

It is especially used for Mathematical operations with geometry.
Comments

Tutor

First of all, not sure what you mean by textual data. Do you mean text classification or categorical variable. Anyway, SVM works well with both. I have used it for text classification also, and found it to consistently provide the very high rate of accurate classifiers. Using the Sequential Minimal Optimization...
read more
First of all, not sure what you mean by textual data. Do you mean text classification or categorical variable. Anyway, SVM works well with both. I have used it for text classification also, and found it to consistently provide the very high rate of accurate classifiers. Using the Sequential Minimal Optimization (SMO) methods, learning the SVM model is very fast. read less
Comments

Text classification also assists as a way of remembering and differentiating the types of data, making. Similarly SVM applicable to data points with nonlinear decision surfaces by engaging a system identified.
Comments

Tutor

Yes, you can use textual data in SVM, but you need to turn the text content into numerical feature vectors e.g. using bag of words or occurrence of frequencies. http://scikit-learn.org/stable/tutorial/text_analytics/working_with_text_data.html
Comments

Machine Learning Architect with 13 Yrs of Exp in IT industry, Computer Sci Engg, NIT, Allahabad

Python Rs. 8k it Indies project on Python as well.
Comments

View 9 more Answers

Related Questions

What is the best python institute
All institutes are best, but you should check with the instructor, how will teach and guide you
Dinesh
i recently completed my M.Tech EEE is it the right choice to learn Python now. And i completely have interest in programming only if available get me the tutor details.
Dear Adupa Python is competitively on demand now. But please note the purpose of Phython is highly on to Data Analytics. If you have Mathematics, Statistics as one of your core papers then Phython...
Adupa
Is it possible to learn C++ and Python at the same time?
No, Always learn and master one programming language and then Choose other. If you learn two different languages same time your written programme will fail due to the incomplete knowledge of programming. I suggest you to learn python first then c++.
Sona
0 0
5
Which Internet companies use Python?
Many internet companies use Python, including: 1. _Google_: YouTube, Google App Engine, and Google Cloud Datastore all use Python. 2. _Instagram_: The social media platform's backend is built using...
Ankur
0 0
5

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Python Programming Introduction.
Introduction To Python What is Software? What are its types? Software is a set of instructions, data, or programs used to operate computers and perform specific tasks. It tells the hardware what to...
P

Write your first Python program in 10 minutes
1. Download python from python official site search "python download" in google 2. Install in your machine 3. verify using : "python --version" command 4. Write first program using notepad create...

5 Reason to learn Python
Dynamically Typed You don’t have to declare a type when declaring a variable. It skips headaches of type casting JAVA:- int x = 1; x = (int)...

Writing Simple programs in Python(cont.)
To start writing simple programs in Python, we have to know firstly the SW development process and then we also have to know a bit about the language in which we wish to code,in this case,python, to get...

Why Python
Python can be used in any futuristics technology A= Analytics Data Science Artificial Intelligence(AI) Neural Network(NN) Natural Language Processing(NLP) Computer Vision(OpenCV) In Analytics...

Recommended Articles

Python is one of the most popular programming languages in the world. It is general-purpose, object oriented, high-level programming language used in a number of programming fields. Python is a great programming language to learn as it will introduce you to the world of programming. If you are from the technical background...

Read full article >

Hadoop is a framework which has been developed for organizing and analysing big chunks of data for a business. Suppose you have a file larger than your system’s storage capacity and you can’t store it. Hadoop helps in storing bigger files than what could be stored on one particular server. You can therefore store very,...

Read full article >

Software Development has been one of the most popular career trends since years. The reason behind this is the fact that software are being used almost everywhere today.  In all of our lives, from the morning’s alarm clock to the coffee maker, car, mobile phone, computer, ATM and in almost everything we use in our daily...

Read full article >

Information technology consultancy or Information technology consulting is a specialized field in which one can set their focus on providing advisory services to business firms on finding ways to use innovations in information technology to further their business and meet the objectives of the business. Not only does...

Read full article >

Looking for Python Training classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you