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

While teaching IT Student (MCA / BCA / BTech), I found most of the students are not having good programming skills but they are still running behind to learn .NET / PHP / PYTHON / ANDROID / JAVA. Why is it so? What we should do better to improve a sound programming skills among most of IT Students?
on college days they r learning c,c++ and following faculties are also giving a road map of "programming means" thease languages only , even these are the languages are familier , where you justify them...
Amit Kumar
Hi, I am pursuing MBA 1st Year. I want to learn Digital Marketing. Is it right for career growth, or should I choose to learn some other technologies? If yes, please give me your suggestions that help me to get a JOB in the IT Sector.
Hi Sai, To find right career path you need to try things ( Which is long way). I would suggest you to learn multiple things ( implementation is important part) and then find your intrest and dive in to...
Sai
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
How should I start learning Python?
Write your first program in Python. Explore packages to better manage projects. Learn Python basics, including the following elements: Boolean types. Strings. Mathematical operations. Lists and loops....
Shubham
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 - Solving Ordinary Differential Equations - Predator Prey Model aka Lotka Volterra Equations
This is an assignment in Python, I contributed to a numerical Python MOOC from George Washington University. The link to this assignment on github is here. The Lotka–Volterra equations, also...
S

Sri Vallabha Deevi

0 0
1

All About Python You Need To Know Before Starting
Python for Beginners------Anyone can learn Python Prerequisites to learn Python To learn Python we don’t require the knowledge of any other programming languages. To learn all other programming...

Python/Dejango Training
Python/Django Training Content Duration: 2.5 months 1. Introduction to Python Python - The Universal Language 2. Getting Started Installing Python Python - *Hello World* Using the Interpreter Python...

A python program using the datetime module
Task : To write a program in Python to find out, in any given year, Friday the 13th dates i.e 13th day of a month which was a Friday. ...

Python programming - Applications
If you’re thinking of learning Python? Or if you recently started learning it? You may be asking yourself: "What exactly can I use Python for?" There are so many applications for python, but there...

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