13.07.2015 Views

Data Mining: Practical Machine Learning Tools and ... - LIDeCC

Data Mining: Practical Machine Learning Tools and ... - LIDeCC

Data Mining: Practical Machine Learning Tools and ... - LIDeCC

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

chapter 13The Comm<strong>and</strong>-line InterfaceLurking behind Weka’s interactive interfaces—the Explorer, the KnowledgeFlow, <strong>and</strong> the Experimenter—lies its basic functionality. This can be accessed inraw form through a comm<strong>and</strong>-line interface. Select Simple CLI from the interfacechoices at the bottom of Figure 10.3(a) to bring up a plain textual panelwith a line at the bottom on which you enter comm<strong>and</strong>s. Alternatively, use theoperating system’s comm<strong>and</strong>-line interface to run the classes in weka.jardirectly, in which case you must first set the CLASSPATH environment variableas explained in Weka’s README file.13.1 Getting startedAt the beginning of Section 10.1 we used the Explorer to invoke the J4.8 learneron the weather data. To do the same thing in the comm<strong>and</strong>-line interface, typejava weka.classifiers.trees.J48 -t data/weather.arff449

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!