Support vector machine apply on gene expression data
1
0
Entering edit mode
4.9 years ago

Hii, Currently I am working on Geo datasets of gene expression(cancer) and I made a matrix of sample vs genes and add class label(Normal vs tumor) for SVM. Samples are in the rows and genes in the coloumn and the last coluomn is Class label.

Is this correct matrix for Support vector machine.??

gene • 1.1k views
ADD COMMENT
0
Entering edit mode

SVM is just a ML method. There is no so called correct matrix.

ADD REPLY
0
Entering edit mode
4.9 years ago
Mensur Dlakic ★ 28k

It depends on SVM implementation you are using. Class label is typically in first column if you are using LibSVM format.

ADD COMMENT
0
Entering edit mode

Thanks for your information for class label. actually I have a gene expression data of cancer which consists of 6 observations with 20000 variables(genes). I got the data from geo datasets and normalize with affy. and got 20000 about genes. how i can minimize the size of matrix?

ADD REPLY
0
Entering edit mode

There is no need to reduce the size of your matrix unless you feel like throwing away the data. Any SVM implementation will handle a 20000 x 6 matrix without problems.

You should scale rather than normalize data. Those two operations may lead to similar numbers, but normalization typically gives numbers that are not bound in either positive or negative direction. SVMs work best with small numbers in [-1, +1] or [0, 1] ranges. If after normalization your largest number in each column is not much bigger than 1 and the smallest not much smaller than -1, you might be OK with normalization. Still, it is just as easy to scale the data as it is to normalize, and it will take care of potential numerical issues. This page and this file explain the concept in more detail.

ADD REPLY

Login before adding your answer.

Traffic: 2420 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6