# Weka

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

ID: Q124 · Revision: 1443

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]

## At a glance

- What does it offer? machine learning workbench[^primer]

- What does it help people do? classify data[^primer]

- What does it help people do? regression analysis[^primer]

- What does it help people do? cluster data[^primer]

- What does it help people do? preprocess data[^primer]

- What does it work with? java[^requirements]

- What does it work with? arff[^primer]

- What does it work with? csv[^primer]

- What else affects its suitability? open source[^home]

## 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]

Weka can substitute for [XGBoost](/xgboost) for a classification or regression project when a Weka learner meets the modeling requirements\. Its Java workbench brings multiple learning methods, typed datasets, preprocessing and evaluation into one environment, making it useful for comparing approaches\. This changes the training implementation rather than loading an XGBoost model unchanged\. Preserve feature definitions and validation splits, retrain the chosen learner and measure results; similar task support does not establish identical predictions, speed or accuracy\.[^primer][^xgb-estimator][^xgb-model]

Weka can substitute for [Wolfram Mathematica](/wolframmathematica) for selected classification and regression experiments on prepared datasets\. Its focused machine\-learning tools can suit work that needs model training and evaluation without the surrounding symbolic\-computation and notebook workflow\. This comparison does not replace Mathematica as a whole or translate Wolfram Language programs\. Recreate preprocessing and model settings explicitly, and validate the resulting predictions\.[^primer][^wolfram-ml]

## Capabilities and substitutions

### Predictive data analysis — supported

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

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\.[^compat][^orange][^source-13]

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

### [Substitute for XGBoost](/xgboost) — limited

Select a suitable learner, rebuild preprocessing and retrain with consistent validation\. Native model interchange, identical predictions and broader workbench features are not established\.[^xgb-estimator][^xgb-model][^source-15]

Use case: Supervised classification and regression on prepared datasets · Platforms: Unknown · Region: Unspecified

### [Substitute for Wolfram Mathematica](/wolframmathematica) — limited

Select a suitable learner, rebuild preprocessing and retrain with consistent validation\. Native model interchange, identical predictions and broader workbench features are not established\.[^wolfram-ml][^source-15]

Use case: Supervised classification and regression on prepared datasets · Platforms: Unknown · Region: Unspecified

## 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-10T05:58:32Z)

[^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)

[^xgb-estimator]: [XGBoost estimator interface](<https://xgboost.readthedocs.io/en/stable/python/sklearn_estimator.html>) — Python scikit\-learn\-compatible regression and classification; validation and early stopping (vendor; retrieved 2026-10-10T05:58:32Z)

[^xgb-model]: [XGBoost supervised learning](<https://xgboost.readthedocs.io/en/stable/tutorials/model.html>) — Training target predictions with classification and regression tree ensembles (vendor; retrieved 2026-10-10T05:58:32Z)

[^wolfram-ml]: [Wolfram Language machine learning](<https://reference.wolfram.com/language/guide/MachineLearning.html>) — Classify, Predict and supported machine\-learning tasks (vendor; retrieved 2026-10-10T05:58:32Z)

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

[^source-14]: [https://waikato\.github\.io/weka\-wiki/primer/](<https://waikato.github.io/weka-wiki/primer/>) — Classification, regression, preprocessing and model evaluation in the Weka workbench (assessment; retrieved 2026-10-10T06:02:59.610Z)

[^source-15]: [https://waikato\.github\.io/weka\-wiki/primer/](<https://waikato.github.io/weka-wiki/primer/>) — Classification, regression, typed datasets, preprocessing and evaluation (vendor; retrieved 2026-10-10T05:58:32Z)

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