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

If I get trained in python is there any chance to get a job as a fresher
While no one can guarantee getting a job after being trained as it depends on the trainer and the person being trained but yes, getting a job as a fresher in python is relatively easy compared to other...
Sai
0 0
6
What are the best online courses to learn Python in 2021?
The best online courses to learn python in 2021 are: 1. Complete Python Bootcamp 2022: Go from Zero to Hero in Python 2. Python 3 Tutorial from Codeacademy 3. Python Programming Masterclass 4. The...
Anupam
0 0
6
Can we code a website from python?
Yes, You can code or develop a website with Python but you need a framework like Django and Flask. These frameworks help you create a website with the help of Python.
Mridulika
0 0
5
What are the main weaknesses of Python as a programming language?
Python’s main weaknesses include slower performance compared to compiled languages, limited support for mobile development, higher memory consumption, and the Global Interpreter Lock (GIL), which can restrict multi-threading efficiency.
Raj
0 0
5
How do I learn Python?
Start with online tutorials, books, and practice coding. Join communities and work on projects to improve.
Kirti
0 0
6

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

Ask a Question

Related Lessons

Small ML Project on Simple Linear Regression
Here is a small Project on Simple Linear Regression

A Python Program to calculate Variance and Standard Deviation
Finding the variance and the standard deviation. Variance and Standard Deviation are related measures of dispersion that tell us more about a list of numbers,like are they...

Write a python program to display dictonary details from list of dictonary
Print the Following: Print all dictonary in a seperate line. Name of all the products. Total quantity of all the products. Details of any product name when provided. Convert all the product name to upper case and print.
A

Ankit P.

0 0
0

Keywords in Python Programming Language
Keywords in Python These are the reserved words that have a special meaning and are used to define the syntax and structure of the language. We cannot use these keywords for any other purpose. As...
P

Be A Python Dev
Currently, in the programming world, Python is one of the languages with a high rising demand profile. And this article will explain why that isn’t slowing down in the foreseeable future.Python...

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