Skip to content

ZhexiongLiu/FormatData2LibSVM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FormatData2LibSVM

This python script could transform data to LibSVM format.

Before running this script, please make sure users have installed Python3 with the packages os, sys and pandas.

Users could run it using command like this: $ python FormatData2Libsvm.py para1 para2.

  • para1 is the name of the input file (non-binary file).
  • para2 is the column delimiter in the input file: 0 -- blank (' '), 1 -- tab ('\t'), 2 -- comma (',').

For example, users could run it using the data uploaded like this: $ python FormatData2Libsvm.py test_data 1.

About

Python script used to transform data to LibSVM format

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages