Ilmu Telekomunikasi    
   
Daftar Isi
(Sebelumnya) Weight-balanced treeWelchia (Berikutnya)

Weka (machine learning)

Weka
Weka-3.5.5.png
Weka 3.5.5 with Explorer window open with Iris UCI dataset
Developer(s)University of Waikato
Stable release3.6.9 (book 3rd ed.), 3.7.9 (development) / 2013/02/22
Operating systemCross-platform
TypeMachine Learning
LicenseGNU General Public License
Websitehttp://www.cs.waikato.ac.nz/~ml/weka/

Weka (Waikato Environment for Knowledge Analysis) is a popular suite of machine learning software written in Java, developed at the University of Waikato, New Zealand. Weka is free software available under the GNU General Public License.

Contents

Description

The Weka logo. The weka is a bird endemic to New Zealand.

The Weka workbench[1] contains a collection of visualization tools and algorithms for data analysis and predictive modeling, together with graphical user interfaces for easy access to this functionality. The original non-Java version of Weka was a TCL/TK front-end to (mostly third-party) modeling algorithms implemented in other programming languages, plus data preprocessing utilities in C, and a Makefile-based system for running machine learning experiments. This original version was primarily designed as a tool for analyzing data from agricultural domains,[2][3] but the more recent fully Java-based version (Weka 3), for which development started in 1997, is now used in many different application areas, in particular for educational purposes and research. Advantages of Weka include:

  • free availability under the GNU General Public License
  • portability, since it is fully implemented in the Java programming language and thus runs on almost any modern computing platform
  • a comprehensive collection of data preprocessing and modeling techniques
  • ease of use due to its graphical user interfaces

Weka supports several standard data mining tasks, more specifically, data preprocessing, clustering, classification, regression, visualization, and feature selection. All of Weka's techniques are predicated on the assumption that the data is available as a single flat file or relation, where each data point is described by a fixed number of attributes (normally, numeric or nominal attributes, but some other attribute types are also supported). Weka provides access to SQL databases using Java Database Connectivity and can process the result returned by a database query. It is not capable of multi-relational data mining, but there is separate software for converting a collection of linked database tables into a single table that is suitable for processing using Weka.[4] Another important area that is currently not covered by the algorithms included in the Weka distribution is sequence modeling.

Weka's main user interface is the Explorer, but essentially the same functionality can be accessed through the component-based Knowledge Flow interface and from the command line. There is also the Experimenter, which allows the systematic comparison of the predictive performance of Weka's machine learning algorithms on a collection of datasets.

The Explorer interface features several panels providing access to the main components of the workbench:

  • The Preprocess panel has facilities for importing data from a database, a CSV file, etc., and for preprocessing this data using a so-called filtering algorithm. These filters can be used to transform the data (e.g., turning numeric attributes into discrete ones) and make it possible to delete instances and attributes according to specific criteria.
  • The Classify panel enables the user to apply classification and regression algorithms (indiscriminately called classifiers in Weka) to the resulting dataset, to estimate the accuracy of the resulting predictive model, and to visualize erroneous predictions, ROC curves, etc., or the model itself (if the model is amenable to visualization like, e.g., a decision tree).
  • The Associate panel provides access to association rule learners that attempt to identify all important interrelationships between attributes in the data.
  • The Cluster panel gives access to the clustering techniques in Weka, e.g., the simple k-means algorithm. There is also an implementation of the expectation maximization algorithm for learning a mixture of normal distributions.
  • The Select attributes panel provides algorithms for identifying the most predictive attributes in a dataset.
  • The Visualize panel shows a scatter plot matrix, where individual scatter plots can be selected and enlarged, and analyzed further using various selection operators.

ARFF file

Attribute Relationship File Format (ARFF) is the text format file used by Weka to store data in a database. This kind of file is structured as follows ("weather" relational database):

  • @relation weather
  • @attribute outlook {sunny, overcast, rainy}
  • @attribute temperature real
  • @attribute humidity real
  • @attribute windy {TRUE, FALSE}
  • @attribute play {yes, no}

The ARFF file contains two sections: the header and the data section. The first line of the header tells us the relation name. Then there is the list of the attributes (@attribute...). Each attribute is associated with a unique name and a type. The latter describes the kind of data contained in the variable and what values it can have. The variables types are: numeric, nominal, string and date. The class attribute is by default the last one of the list. In the header section there can also be some comment lines, identified with a '%' at the beginning, which can describe the database content or give the reader information about the author. After that there is the data itself (@data), each line stores the attribute of a single entry separated by a comma.[5]

History

  • In 1993, the University of Waikato in New Zealand started development of the original version of Weka (which became a mixture of TCL/TK, C, and Makefiles).
  • In 1997, the decision was made to redevelop Weka from scratch in Java, including implementations of modeling algorithms.[6]
  • In 2005, Weka received the SIGKDD Data Mining and Knowledge Discovery Service Award[7][8]
  • In 2006, Pentaho Corporation acquired an exclusive licence to use Weka for business intelligence. It forms the data mining and predictive analytics component of the Pentaho business intelligence suite.
  • All-time ranking on Sourceforge.net as of 2011-08-26, 243 (with 2,487,213 downloads)

See also

References

  1. ^ Ian H. Witten; Eibe Frank, Mark A. Hall (2011). "Data Mining: Practical machine learning tools and techniques, 3rd Edition". Morgan Kaufmann, San Francisco. http://www.cs.waikato.ac.nz/~ml/weka/ book.html. Retrieved 2011-01-19.
  2. ^ G. Holmes; A. Donkin and I.H. Witten (1994). "Weka: A machine learning workbench". Proc Second Australia and New Zealand Conference on Intelligent Information Systems, Brisbane, Australia. http://www.cs.waikato.ac.nz/~ml/publi cations/1994/Holmes-ANZIIS-WEKA.pdf. Retrieved 2007-06-25.
  3. ^ S.R. Garner; S.J. Cunningham, G. Holmes, C.G. Nevill-Manning, and I.H. Witten (1995). "Applying a machine learning workbench: Experience with agricultural databases". Proc Machine Learning in Practice Workshop, Machine Learning Conference, Tahoe City, CA, USA. pp. 14–21. http://www.cs.waikato.ac.nz/~ml/publi cations/1995/Garner95-imlc95.pdf. Retrieved 2007-06-25.
  4. ^ P. Reutemann; B. Pfahringer and E. Frank (2004). "Proper: A Toolbox for Learning from Relational Data with Propositional and Multi-Instance Learners". 17th Australian Joint Conference on Artificial Intelligence (AI2004). Springer-Verlag. http://www.cs.waikato.ac.nz/~eibe/pub s/reutemann_et_al.ps.gz. Retrieved 2007-06-25.
  5. ^ http://www.cs.waikato.ac.nz/ml/weka/a rff.html
  6. ^ Ian H. Witten; Eibe Frank, Len Trigg, Mark Hall, Geoffrey Holmes, and Sally Jo Cunningham (1999). "Weka: Practical Machine Learning Tools and Techniques with Java Implementations". Proceedings of the ICONIP/ANZIIS/ANNES'99 Workshop on Emerging Knowledge Engineering and Connectionist-Based Information Systems. pp. 192–196. http://www.cs.waikato.ac.nz/~ml/publi cations/1999/99IHW-EF-LT-MH-GH-SJC-To ols-Java.pdf. Retrieved 2007-06-26.
  7. ^ Gregory Piatetsky-Shapiro (2005-06-28). "KDnuggets news on SIGKDD Service Award 2005". http://www.kdnuggets.com/news/2005/n1 3/2i.html. Retrieved 2007-06-25.
  8. ^ "Overview of SIGKDD Service Award winners". 2005. http://www.acm.org/sigs/sigkdd/awards _service.php. Retrieved 2007-06-25.

External links

General
Examples of applications
Extended versions
(Sebelumnya) Weight-balanced treeWelchia (Berikutnya)