Last active
April 13, 2016 17:44
-
-
Save GiovanniBalestrieri/2d1fd7fb6c9424abcaf37bf4fb5b3ec2 to your computer and use it in GitHub Desktop.
Creates a new folder with the name provided before. Convert the CSV file to ARFF file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
testSetWeka="testSetWeka" | |
#Create Folde if does not exist | |
mkdir -p ${wekaPath}/${filename} | |
relativePath=${wekaPath}/${filename} | |
# Create Arff file | |
java -cp ${wekaPath}/weka.jar weka.core.converters.CSVLoader -S "2,3" -N "last" ${csvPath}/${testSet} > ${relativePath}/${testSetWeka}.arff |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment