LFD Book Forum  

Go Back   LFD Book Forum > Course Discussions > Online LFD course > Homework 8

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-03-2013, 11:56 AM
GB449 GB449 is offline
Member
 
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?

Thanks!
Reply With Quote
 

Tags
homework 8

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:28 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
The contents of this forum are to be used ONLY by readers of the Learning From Data book by Yaser S. Abu-Mostafa, Malik Magdon-Ismail, and Hsuan-Tien Lin, and participants in the Learning From Data MOOC by Yaser S. Abu-Mostafa. No part of these contents is to be communicated or made accessible to ANY other person or entity.