View Single Post
Old 10-03-2013, 11:56 AM
GB449 GB449 is offline
Join Date: Aug 2013
Posts: 20
Default HW8 Q2-6 Converting digit data to libsvm format

I am not clear how to convert digit data ("digit symmetry intensity") to the libsvm format ("+/1 a:b c:d ...").

For e.g. for zero versus all will

0.0000000e+00 2.8954102e-01 -4.6441250e+00 from features.train

translate to

1 2.8954102e-01:-4.6441250e+00

Does anyone have transformed files for Qs 2 and 3 that I can use instead of writing a program to do the transformations?

Reply With Quote