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

How do I learn Python in depth?
Learning Python in depth is not a big issue first start practising basic of coding daily don't copy and paste start writing the code , after these basic you can go for advanced level of python like OOPS...
Mahender
0 0
5
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

which is best in Rpa and python

Python is much preferrable, I would suggest you to go for Python. As it is now a days used in Automations too.
K
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

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 Demo
https://www.youtube.com/watch?v=8AEhpZ4lbOI

Code: Gantt Chart: Horizontal bar using matplotlib for tasks with Start Time and End Time
import pandas as pd from datetime import datetimeimport matplotlib.dates as datesimport matplotlib.pyplot as plt def gantt_chart(df_phase): # Now convert them to matplotlib's internal format... ...
R

Rishi B.

0 0
0

DBMS - SQL - Any/All
All - Operator SELECT empno, sal FROM emp WHERE sal > ALL (1999, 2999, 3999); Output of Above query is same as below query SELECT empno, sal FROM emp WHERE sal > 1999 AND sal > 2999...
R

Radhe Shyam

0 0
0

File Handling in Python - Basic Concept
File (Flat) Handling in Python Types of files in python: 1: Text file: Stores data in the form of characters. Customarily used to store text/string data. 2: Binary file: Stores data in the form of bytes....

Simulation of a die-roll:Usage of random module
Task:Simulation of a simple die-rolling game,where we keep rolling a six-sided die until we have rolled a total of 20. To simulate a six-sided die roll, we need a way to generate a random integer between...

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