Skip to content

manmorjim/arff-to-csv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

arff-to-csv

Utility to transform an arff file into CSV file

Options

  • -n: Normalize numeric values. Default false.
  • -h: Add attributes names as first line into CSV file (head). Default false.
  • -d: File csv to create

Examples

Generates a myfile.csv in the current work directory:

node arff-to-csv/index.js /mypath/myfile.arff

Generates a myfile.csv in the current work directory with normalized attributes:

node arff-to-csv/index.js /mypath/myfile.arff -n

Generates a myfile.csv in the current work directory with attribute names in the first line of the csv file:

node arff-to-csv/index.js /mypath/myfile.arff -h

Generates a myfile.csv in the current work directory with normalized attributes and ttribute names in the first line of the csv file:

node arff-to-csv/index.js /mypath/myfile.arff -n -h

Generates a myNewFile.csv in ./ directory:

node arff-to-csv/index.js /mypath/myfile.arff -d ./myNewFile.csv

Generates a a myNewFile.csv in ./ directory with normalized attributes and ttribute names in the first line of the csv file:

node arff-to-csv/index.js /mypath/myfile.arff -n -h -d ./myHeadlessFile.csv

About

Utility to transform a arff file into CSV file

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published