# Weka

Java machine\-learning workbench with data filters, classifiers and evaluation tools\.

ID: Q124 · Revision: 108

Type: software · License: GPLv3 for current releases; GPLv2 for Weka 3\.6\. Separate licenses may be available for proprietary integration\.[^license] · Status: active

Website: https://ml.cms.waikato.ac.nz/weka/



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\.[^home][^primer][^compat]

## 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\.[^primer]

## 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\.[^compat]

## 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\.[^serialization][^primer]

## 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\.[^docs][^serialization]

## 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\.[^requirements][^download]

## 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\.[^license]

## Substitution considerations

Weka is an alternative to [Orange](/orangedatamining) 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\.[^primer][^compat][^orange]

## Capabilities and substitutions

### Predictive data analysis — supported

Provides classifiers, regression, filters and evaluation through a Java workbench and interfaces\.[^home][^primer]

Use case: Machine\-learning experiments and supported tabular predictive analysis · Platforms: Windows, macOS, Linux · Region: Version, build and integration requirements apply

### Automatic train/test schema reconciliation — unsupported

The documentation requires identical attribute structure and nominal\-label ordering; it does not remap arbitrary names or labels automatically\.[^compat]

Use case: Machine\-learning experiments and supported tabular predictive analysis · Platforms: Windows, macOS, Linux · Region: Version, build and integration requirements apply

### Model and training\-schema preservation — supported

Explorer serializes the trained classifier together with its training header for compatibility checking\.[^serialization]

Use case: Machine\-learning experiments and supported tabular predictive analysis · Platforms: Windows, macOS, Linux · Region: Version, build and integration requirements apply

### [Substitute for Orange](/orangedatamining) — limited

Can replace supported data\-mining experiments and predictive analyses when Weka's data model and algorithms fit\. Orange workflows, pickled models and preprocessing behavior are not established as natively interchangeable\.[^primer][^compat][^orange]

Use case: Machine\-learning experiments and supported tabular predictive analysis · Platforms: Windows, macOS, Linux · Region: Version, build and integration requirements apply

## References

[^home]: [Weka workbench](<https://ml.cms.waikato.ac.nz/weka/>) — Open\-source Java machine learning (vendor; retrieved 2026-10-07T16:44:40Z)

[^primer]: [Weka primer](<https://waikato.github.io/weka-wiki/primer/>) — Data types, filters, evaluation and saved final model (vendor; retrieved 2026-10-07T16:46:15Z)

[^compat]: [Weka train/test compatibility](<https://waikato.github.io/weka-wiki/faqs/why_do_i_get_the_error_message_training_and_test_set_are_not_compatible/>) — Attribute order/types and nominal\-label ordering (vendor; retrieved 2026-10-07T16:45:47Z)

[^serialization]: [Weka serialization](<https://waikato.github.io/weka-wiki/serialization/>) — Explorer saves classifier and training header (vendor; retrieved 2026-10-07T16:45:02Z)

[^requirements]: [Weka requirements](<https://waikato.github.io/weka-wiki/requirements/>) — Java 8 minimum and Windows HiDPI caveat (vendor; retrieved 2026-10-07T16:44:50Z)

[^license]: [Weka commercial applications](<https://waikato.github.io/weka-wiki/faqs/commercial_applications/>) — GPL versions and separate copyright\-holder licenses (vendor; retrieved 2026-10-07T16:44:50Z)

[^docs]: [Weka documentation](<https://waikato.github.io/weka-wiki/documentation/>) — Package manager and additional documentation (vendor; retrieved 2026-10-07T16:44:50Z)

[^orange]: [Orange](<https://orangedatamining.com/>) — Visual data mining and model workflows (vendor; retrieved 2026-10-07T16:44:40Z)

[^download]: [Weka downloads and release branches](<https://waikato.github.io/weka-wiki/downloading_weka/>) — Stable 3\.8 versus development 3\.9; platform/architecture packages with bundled Java 25 (vendor; retrieved 2026-10-07T16:48:14Z)

Source revision: https://substitutefor.net/entities/Q124?revision=108
