How to Download and Install the Weka Machine Learning Workbench

The Weka machine learning workbench is a powerful and yet easy to use platform for predictive modeling.

In this post you will discover how you can install Weka on your workstation fast, and get started with machine learning.

After reading this post you will know:

  • How to install the all-in-one version of Weka for Windows or Mac.
  • How to install Java and Weka separately on Windows or Mac.
  • How to install Weka on Linux and other platforms.

Let’s get started.

How to Download and Install the Weka Machine Learning Workbench

How to Download and Install the Weka Machine Learning Workbench
Photo by Nicholas A. Tonelli, some rights reserved.

Download Weka

All versions of Weka can be downloaded from the Weka download webpage.

Select the version of Weka that you would like to install then visit the Weka download page to locate and download your preferred version of Weka.

Your options include:

  • Install the all-in-one version of Weka for Windows or Mac OS X.
  • Install Java and Weka separately for Windows or Mac OS X.
  • Install the standalone version of Weka for Linux and other platforms.

Start and Practice Machine Learning With Weka
...without writing a single line of code

Machine Learning Mastery With Weka Mini-CourseWeka is the best platform for beginners getting started in applied machine learning. 

The graphical user interface and state-of-the-art algorithms makes machine learning fun!

Take a FREE 14-Day Mini Course in
Applied Machine Learning With Weka

Download Your FREE Mini-Course

Download your PDF containing all 14 lessons.

Get your daily lesson via email with tips and tricks.

 

Install The All-In-One Version of Weka

Weka provides an all-in-one installation version for Windows and Mac OS X.

This installation includes both the Weka platform that you can use for predictive modeling, as well as the version of Java needed to run the Weka platform.

Windows

On windows the all-in-one version of Weka is provided as a self-extracting executable.

You must choose whether you would like the 32-bit version of the package or the 64-bit version of the package. If you have a modern version of Windows, you should select the 64-bit version.

On the Weka download webpage, these packages are called:

  • Self-extracting executable for 64-bit Windows that includes Oracle’s 64-bit Java.
  • Self-extracting executable for 32-bit Windows that includes Oracle’s 32-bit Java.

The download is about 100 megabytes. After you have downloaded the package, double click on the icon to start the installation process.

Follow the prompts for the installation and Weka will be added to your Program Menu.

Start Weka by clicking on the bird icon.

Mac OS X

On OS X the all-in-one version of Weka is provided as a disk image.

On the Weka download webpage, this package is called:

  • Disk image for OS X that contains a Mac application including Oracle’s Java.

The download is about 120 megabytes. The disk image includes two versions of Weka, one with the Java version bundled and one standalone. I recommend installing both.

Drag both the folder and the icon into your Applications folder.

Weka Disk image for OS X

Expanded Weka Disk image for OS X

Start Weka by clicking on the bird icon.

Install Java and Weka Separately

You may already have the Java Runtime Environment or Java Development Kit installed on your workstation or you may like to install Java separately from Weka so that you can use Java with other applications.

Weka provides a version that you can download that does not include the Java Runtime Environment.

I recommend this installation of Weka if you would like to access the data files and documentation provided with the Weka installation.

Weka requires at least Java 1.7 installed.

If you do not have Java installed and would like to install Java separately from Weka, you can download Java from the Java Download webpage. The webpage will automatically determine the version of Java you need for your workstation and download the latest version. The Java download is about 60 megabytes.

Windows

Weka provides a version for Windows that does not include Java.

You must choose whether you would like the 32-bit version of the package or the 64-bit version of the package. If you have a modern version of Windows, you should select the 64-bit version.

On the Weka downloads page, this version is named as follows:

  • Self-extracting executable for 64-bit Windows without a Java VM.
  • Self-extracting executable for 32-bit Windows without a Java VM.

The download is about 50 megabytes. After you have downloaded the package, double click to start the installation process. Follow the prompts for the installation and Weka will be added to your Program Menu.

Start Weka by clicking on the bird icon.

Mac OS X

There is only a single download version of Weka for OS X.

It is a disk image that includes both the version of Weka bundled with Java as well as the standalone version.

On the Weka download webpage, this package is called:

  • Disk image for OS X that contains a Mac application including Oracle’s Java.

The download is about 120 megabytes. Open the disk image and drag the standalone version of Weka (the folder) into your Applications folder.

Weka Installation Directory

Weka Installation Directory

Start Weka by double clicking on the weka.jar file.

You can also start Weka on the command line, assuming Java is in your path.

1. Change directory into your weka installation directory. For example

2. Start the Java virtual machine with the weka.jar file. For example:

Install Weka On Linux And Other Platforms

Weka also provides a standalone version that you can install on Linux and other platforms.

Weka runs on Java and can be used on all platforms that support Java.

It is a zip file and has the following name of the Weka download webpage:

  • Zip archive containing Weka.

Download the zip file and unzip it.

You can also start Weka on the command line, assuming Java is in your path.

Weka Installation Files

Weka Installation Files

1. Change directory into your Weka installation directory. For example

2. Start the Java virtual machine with the weka.jar file, For example:

Summary

In this post you discovered how you can download and install the Weka machine learning workbench.

Specifically, you learned:

  • How to install Weka using the all-in-one version on Windows and Mac OS X.
  • How to install Weka using the standalone version on Windows and Mac OS X.
  • How to install Weka using the standalone version on Linux and other platforms.

Do you have any questions about downloading and installing Weka or about this post? Ask your questions in the comments below and I will do my best to answer.

Want Machine Learning Without The Code?

Develop Your Own Models and Predictions in Minutes

...with just a few a few clicks

Discover how in my new Ebook: Machine Learning Mastery With Weka

It covers self-study tutorials and end-to-end projects on topics like:
Loading data, visualization, build models, algorithm tuning, and much more...

Finally Bring The Machine Learning To
Your Own Projects

Skip the Academics. Just Results.

Click to learn more.

4 Responses to How to Download and Install the Weka Machine Learning Workbench

  1. Anirban Konar June 16, 2016 at 6:00 pm #

    Can you give a similar post on how to apply machine learning using Weka for a simple problem. Thanks in advance.

  2. Marcos Guimaraes November 15, 2016 at 2:42 am #

    Hi Jason,
    I have followed all steps provided in your site but Weka is not launching. What I got was the big Weka Icon in the middle of my screen.
    I use Windows version 7.
    Is there any clue what is happening?

    • Jason Brownlee November 15, 2016 at 7:57 am #

      Sorry to hear that Marcos.

      I am not an expert in debugging workstations, but perhaps you could try the alternative of manually installing Java, then installing the standalone version of Weka.

      Best of luck, let me know how you go.

Leave a Reply