Name | Modified | Size | Downloads / Week |
---|---|---|---|
README | 2010-12-11 | 1.9 kB | |
csv2arff-1.0.0.tar.bz2 | 2010-12-11 | 93.2 kB | |
Totals: 2 Items | 95.2 kB | 0 |
This is a CSV to ARFF converter. To run this script you must have python and antlr_python_runtime-3.0.1 installed on your system. Remember, when I say antlr_python_runtime-3.0.1 is required, this means that you must only install 3.0.1 version of this library. As this library is distributed under GNU GPL license, I included the version needed in 'Web Downloads' folder of this source tar ball. This package itself needs setuptools to be installed. You can search and install this package in your distribution repositories. e.g. for Ubuntu you can run: sudo apt-get install setuptools After installing setuptools, you can extract antlr_python_runtime-3.0.1.tar.gz file somewhere and install it by running: sudo python ./setup.py install in extraction directory. I used ARFF project code in my projects source. ARFF is under GNU GPL license as well. But you do not have to install this one. I included it's code in my project (Very thanks to ARFF developers for their good work). So, After installation of python and antlr_python_runtime-3.0.1, you can go ahead and run the script this way: ./csv2arff.py in the 'Source' folder where you extracted the csv2arff-x.x.x.tar.gz file (x.x.x is the version). The script will then search for a file named test.csv which is a camma separated value file (CSV), created using OpenOffice.org default settings for exporting a CSV file. And then it will convert all data to ARFF format and save it in test.arff . That's it. Availability: Here is where you most probably downloaded this file: HTTP://sourceforge.net/projects/csv2arff/ Here is the Python home page: HTTP://WWW.python.org/ Here is the antlr3 python package download page: HTTP://WWW.antlr.org/download/Python/ And Here is the ARFF project home page: HTTP://WWW.MIT.edu/~sav/arff/ Special thanks to developers of three open-source projects above and all developers of FOSS world. Best regards, Aario