bash

  • Convert csv to arff file

Bash Script – Prepare .arff files for Weka from csv

Tags: , , , |

In this quick post we will prepare a few CSV files containing data for Training and Test sets in order load them in Weka and train a classifier. Prerequisites To install Weka, use this link Weka Weka is a collection of machine learning algorithms for data mining tasks. The algorithms can either be

Linux Utility And Commands 1.10

Tags: , , , |

Append a string to the last created file using shell scipts Let's suppose we would like to append ',yes' to the last csv file that has been created. The content of the folder is given by userk@dopamine ~$ ls -t b3.txt b2.txt b1.txt a3.txt a2.txt a1.txt userk@dopamine ~$ ls -lt total 24 -rw-rw-r-- 1