2 Answers

  1. Save your . xls file in . csv format.
  2. Open the Weka GUI Chooser and then click on the tools button in the top menu bar.
  3. Click on the Arffviwer.
  4. Choose file types to be loaded like, *.csv, *.data.
  5. Open *.csv file to view the data and values.
  6. Name the file with the .arff extension.
  7. Save the file.

How do you convert ARFF format?

You can also use the ArffViewer (Tools -> ArffViewer or Ctrl+A). Then open your CSV file. Next go to File -> Save as… and select Arff data files (should be selected by default). Note that your fields must be separated with a comma and not a semicolon.

How do I convert Arff to CSV?

ARFF to CSV converter

  1. Put all your .arff files in a directory.
  2. Place this script in the same directory as the files.
  3. Run the script.
  4. All the CSV files will be created in the same directory.

How do I open an ARFF File?

read. arff in package foreign reads data from Weka Attribute-Relation File Format (ARFF) files. In general the answer to questions like this can be found via the sos package, which accesses a full-text search of all the packages on CRAN.

How do I open an ARFF file in Excel?

Simply export your . arff file to CSV format. Once you have the . csv file, import that to MS Excel or similar spreadsheet program and save it either as .

How do you save a weka file?

You can easily save a trained model to file in the Weka Explorer interface.

  1. Right click on the result item for your model in the “Result list” on the “Classify” tab.
  2. Click “Save model” from the right click menu. Weka Save Model to File.
  3. Select a location and enter a filename such as “logistic”, click the “Save button.

How do I convert a TXT file to a csv file?

How to Change a TXT File to CSV

  1. Firstly, you’ll need to open a new blank Excel document, then open the txt file in that new document.
  2. Navigate to the txt file you are looking to convert.
  3. Next, you’ll see a Text Import Wizard pop-up.
  4. You’ll then see the Excel sheet fill up as a completed CSV.

What is ARFF file in Weka?

An ARFF (Attribute-Relation File Format) file is an ASCII text file that describes a list of instances sharing a set of attributes. ARFF files were developed by the Machine Learning Project at the Department of Computer Science of The University of Waikato for use with the Weka machine learning software.