Softwr

Machine Learning · head to head

Optuna vs Weka

Optuna logo

Optuna

Machine Learning

Open-source Python framework for automated hyperparameter optimisation

From
Free
Free plan
Yes
Weka logo

Weka

Machine Learning

Collection of machine learning algorithms

From
Free
Free plan
Yes

The short version

  • Optuna is an MIT-licensed hyperparameter optimisation framework.
  • Both are free.
  • Only Optuna lists define-by-run search spaces; only Weka lists association rules.
  • Where Optuna falls short: searches are only as good as the objective and search space defined.
  • Where Weka falls short: Weka requires a 64-bit Java VM; the bundled installers ship Bellsoft OpenJDK 25 per platform and architecture.

How do Optuna and Weka differ?

Optuna and Weka differ on platforms. Only the attributes on which Optuna and Weka actually diverge.

Attributes where Optuna and Weka differ
AttributeOptunaWeka
PlatformsWebLinux, macOS, Windows

Identical on both: starting price (Free), pricing model (Open-source), free tier (Yes).

Not yet recorded: category for Optuna, founded for Optuna.

Which features does each one have?

They share no listed features; 7 appear only for Optuna and 11 only for Weka. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Optuna

  • Define-by-run search spaces
  • Pruning of unpromising trials
  • Parallel and distributed search
  • Framework-agnostic integrations
  • Optuna Dashboard
  • OptunaHub feature sharing
  • Multiple search algorithms

Only in Weka

  • Classification
  • Regression
  • Clustering
  • Association rules
  • Feature selection
  • Java
  • R
  • Python

What is each one used for?

Optuna is most often brought in for tuning deep learning models; Weka for teaching and exploring classic machine learning algorithms through a GUI. The jobs each tool is most often brought in to do.

Optuna

  • Tuning deep learning modelsnot Weka
  • Tuning gradient-boosted treesnot Weka
  • Pruning slow experiments earlynot Weka
  • Parallel searches across machinesnot Weka

Weka

  • Teaching and exploring classic machine learning algorithms through a GUInot Optuna
  • Running data mining experiments and preprocessing without writing codenot Optuna

Where do Optuna and Weka fall short?

Optuna's most cited limit: searches are only as good as the objective and search space defined. Weka's: Weka requires a 64-bit Java VM; the bundled installers ship Bellsoft OpenJDK 25 per platform and architecture. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Optuna

  • Searches are only as good as the objective and search space defined
  • Distributed runs need a shared storage backend set up by the user
  • Works only with Python code, so non-Python teams cannot use it
  • Tuning only; no experiment tracking or deployment features

Weka

  • The package management system needs an internet connection to download and install packages, so an air-gapped install gets only the core distribution
  • Weka is split into a stable 3.8 branch that receives only bug fixes and compatibility-safe upgrades and a 3.9 development branch that may receive features that break compatibility
  • Weka requires a 64-bit Java VM; the bundled installers ship Bellsoft OpenJDK 25 per platform and architecture

How much do Optuna and Weka cost?

Optuna is free to use; Weka is free to use. Plan by plan below, from each vendor's own pricing page.

Optuna

Free

No published plan breakdown. See the Optuna review.

Weka

Free
  • Open SourceFree
    • All ML algorithms
    • GUI and CLI
    • Java API

Which should you pick?

Choose Optuna if

  • You need define-by-run search spaces.
  • You want to start without paying.
  • You also want pruning of unpromising trials.

Choose Weka if

  • You need classification.
  • You want to start without paying.
  • You work on Linux, macOS, Windows.
  • You also want regression.

Questions people ask

Is Optuna or Weka better?
It depends on the job. Optuna fits tuning deep learning models; Weka fits teaching and exploring classic machine learning algorithms through a GUI. Optuna starts at Free and Weka at Free.
Which is cheaper, Optuna or Weka?
Optuna starts at Free and Weka at Free.
Does Optuna or Weka run on more platforms?
Optuna runs on Web. Weka runs on Linux, macOS, Windows.
Can I use Optuna for free?
Both have a free tier, so you can try either at no cost before committing.
What is Optuna best used for?
Optuna is most often used for tuning deep learning models, tuning gradient-boosted trees, pruning slow experiments early, parallel searches across machines. Of those, tuning deep learning models and tuning gradient-boosted trees are not what Weka is typically brought in for.
What can Optuna do that Weka cannot?
Optuna covers Define-by-run search spaces, Pruning of unpromising trials, Parallel and distributed search, Framework-agnostic integrations. Weka covers Classification, Regression, Clustering, Association rules.

Answered from the vendors’ own pages

Optuna: What licence does Optuna use?

The MIT License.

Source
Weka: What is the cost of Weka software?

Weka is provided at no cost as open-source software released under the GNU General Public License, making it freely available for download and use.

Source
Optuna: Who develops Optuna?

Preferred Networks, which first introduced it in 2018.

Source
Weka: Are there commercial licensing options available?

Yes, the project offers information about commercial licenses for organizations requiring non-GPL terms, which can be found in their commercial applications documentation.

Source
Optuna: What Python version is needed?

Python 3.10 or newer.

Source
Weka: What support resources are available to users?

Multiple support avenues exist including comprehensive documentation, frequently asked questions, dedicated help resources, and access to courses for learning the platform.

Source
Weka: Is source code access provided?

Yes, developers have full access to source code through the Git repository, along with development documentation and code credits for contributors.

Source
Share

Related pages

Other head to heads