WEKA: The Command Line Interface

6,589 views
6,284 views

Published on

Introduction to The Command Line Interface in WEKA

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
6,589
On SlideShare
0
From Embeds
0
Number of Embeds
27
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

WEKA: The Command Line Interface

  1. 1. The Command-line Interface<br />
  2. 2. Introduction<br />One can use the command line interface of Weka either through a command prompt or through the SimpleCLI mode<br />For example to fire up Weka and run J48 on a ARFF file present in the current working directory, the command is:<br />java weka.classifiers.trees.J48 -t weather.arff<br />Weka consists of a hierarchical package system. For example here J48 program is part of the treespackage which further resides in the classifier package. Finally the wekapackage contains the classifiers package<br />
  3. 3. Introduction<br />
  4. 4. Structure of Weka<br />Each time the Java virtual machine executes J48, it creates an instance of this class by allocating memory for building and storing a decision tree classifier<br />The structure of Weka can also be studied from the online Javadoc of Weka<br />
  5. 5. Command line options<br />The -t option was used in the command line to communicate the name of the training file to the learning algorithm<br />If you invoke a scheme without any command-line options at all, it displays the applicable options: first the general options, then the scheme-specific ones<br />
  6. 6. Command line options<br />General options<br />
  7. 7. Command line options<br />Scheme-specific options<br />
  8. 8. Visit more self help tutorials<br />Pick a tutorial of your choice and browse through it at your own pace.<br />The tutorials section is free, self-guiding and will not involve any additional support.<br />Visit us at www.dataminingtools.net<br />

×