Key takeaways
- Weka is a machine learning software developed by the University of Waikato in New Zealand.
- The software is designed for data mining and includes tools for various analytical tasks.
- Originally based on Tool Command Language, Weka transitioned to Java to expand its capabilities.
- Weka's applications extend beyond agriculture to fields like education and research.

Weka And Data Mining
Java is the primary programming language used in the development of Weka. In fact, the first version was not based on Java, instead, it had Tool Command Language (TCL) in its environment (initially Weka was used to perform data analysis in agricultural domains). With the inclusion of Java, later on, Weka’s applications spread on to data mining tasks concerning different areas such as in education and research. Here is a short list of standard ML algorithms in Weka. The latter name is how it is addressed in Weka.- Linear Regression: function.LinearRegression
- Logistic Regression: function.Logistic
- Naive Bayes: bayes.NaiveBayes
- Decision Tree (specifically the C4.5 variety): trees.J48
- k-Nearest Neighbors (also called KNN: lazy.IBk
- Support Vector Machines (also called SVM): functions.SMO
- Neural Network: functions.MultilayerPerceptron
- Random Forest: trees.RandomForest
- Bootstrap Aggregation (also called Bagging): meta.Bagging
- Stacked Aggregation (also called Stacking or Blending): meta.Stacking
All In A Single Interface
An open source tool under the GNU General Public License, Weka has a variety of GUI to start with data mining (it also has a ‘workbench’ feature, sometimes not included at the GUI window of earlier versions). They are known as Explorer, Experimenter and KnowledgeFlow. Weka can be downloaded here.
- Explorer lets a user tinker around with the data and helps how it can be transformed for analysis. It also lets what algorithms go into the software.
- Experimenter runs the algorithms made by the user and provides a detailed analysis surrounding the data mining project.
- KnowledgeFlow helps design how the algorithms actually work in the project.
- Simple CLI means Command Line Interface for Weka. Users can use commands to work with the project instead of relying on the Explorer/GUI. The catch here is, it reduces memory constraint on Weka.
Other Avenues That Weka Can Explore
One of the reasons this software fell behind with ML users was its exclusivity with data mining. Had it advanced into other areas of data science such as data visualisation, Weka would be as popular as Python or R. Another aspect here is the Java environment in Weka. Not every user would be comfortable with Java, and moreover, they may dislike using Weka for this reason. Users also feel that the interface is old-fashioned and can be improved with more visual features. Despite the criticism, an interesting development Weka has come up with is a deep learning package called WekaDeeplearning4j. It was developed to incorporate deep learning into Weka. Here, the backend is provided by the Deeplearning4j Java library. If Weka sees various facets like this in its platform, it will definitely grow large to tackle ML problems in general.Spotted an error? Tell our editors. Read our editorial standards and corrections.





