Weka Java machine-learning workbench with data filters, classifiers and evaluation tools.
Overview Weka is the University of Waikato's Java machine-learning workbench. It provides preprocessing filters, classification, regression and other data-mining methods through graphical tools and programmable interfaces. Its datasets carry explicit attribute definitions, and reusing a trained model requires matching those definitions rather than merely providing similar-looking rows.[1] [2] [3]
Contents Typed datasets and filters Weka represents a dataset as instances with numeric, nominal, string, date or relational attributes. ARFF combines a header describing those fields with the observations. Filters transform rows or attributes for preprocessing, and the workbench supplies classification, regression and other analytical methods. This makes both the data values and their declared schema part of the experiment.[2]
Training and prediction must agree The compatibility FAQ requires the training and test datasets to have the same attribute count, types and ordering. Nominal attributes must also use the same labels in the same order. Weka represents those values internally as indexes rather than automatically reconciling arbitrary names across datasets. A changed category order can therefore change the interpretation of otherwise identical-looking numbers.[3]
Model persistence is not an experiment archive Explorer serializes a classifier with its training header, which helps check future input compatibility. The primer distinguishes the model trained on the training dataset from the multiple temporary models produced during cross-validation: saving the final model does not preserve all fold models. Reproduction still requires the input data, selected method, preprocessing and evaluation settings.[2] [4]
Packages and required components Weka's built-in package manager adds algorithms and integrations outside the base distribution, with package-specific documentation. An existing model or experiment may consequently rely on more than the main application. Recording the Weka release and installed packages helps distinguish a missing component from a data-schema incompatibility when work is moved between machines.[4] [7]
Java and platform requirements The requirements page states Java 8 or later, with a Windows high-density-display caveat for older runtimes. Current download packages instead bundle Java 25 and provide Intel and ARM variants for Windows, macOS and Linux. Weka 3.8 is the stable branch; 3.9 development releases may introduce compatibility-breaking changes. Minimum-runtime guidance and the runtime shipped in a particular package are different facts.[5] [9]
Licensing scope The publisher identifies GPLv3 for releases after 3.7.5 and GPLv2 for Weka 3.6. It separately describes obtaining rights from relevant copyright holders when incorporating code into a distributed program that cannot use GPL terms. The permissively licensed tiny-weka subset is not a blanket relicensing of the full workbench or every algorithm.[6]
Substitution considerations Weka is an alternative to Orange for supported predictive-data experiments and evaluation. The switch requires checking model implementations, preprocessing and attribute conventions. Similar algorithm names do not establish matching defaults, transferable serialized models or automatic conversion of a visual workflow.[2] [3] [8]
References Weka workbench Open-source Java machine learning
vendor · retrieved 2026-10-07 Weka primer Data types, filters, evaluation and saved final model
vendor · retrieved 2026-10-07 Weka train/test compatibility Attribute order/types and nominal-label ordering
vendor · retrieved 2026-10-07 Weka serialization Explorer saves classifier and training header
vendor · retrieved 2026-10-07 Weka requirements Java 8 minimum and Windows HiDPI caveat
vendor · retrieved 2026-10-07 Weka commercial applications GPL versions and separate copyright-holder licenses
vendor · retrieved 2026-10-07 Weka documentation Package manager and additional documentation
vendor · retrieved 2026-10-07 Orange Visual data mining and model workflows
vendor · retrieved 2026-10-07 Weka downloads and release branches Stable 3.8 versus development 3.9; platform/architecture packages with bundled Java 25
vendor · retrieved 2026-10-07 Also included: 3 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.