Steps to Download and Install the Weka Machine Learning Workbench

. 4 min read

This post would help you understand as to how to go about the installation of Weka Machine learning workbench.

Further, this post will focus on the basic pointers as listed

  • Steps to install all in one version of Weka for Mac or windows.
  • Steps to install Weka and java separately on Mac or windows.
  • Installation of Weka on Linux and other operating systems.

To start with the procedure, it is necessary to first understand what is Weka machine learning workbench.

What is Weka machine learning?
WEKA is an acronym that stands for the Waikato Environment for Knowledge Analysis.
This is basically an open-source suite that offers tools that help in data pre-processing, implementation of algorithms of machine learning and visualizations that helps in solving real-world problems.
The Weka machine workbench is a platform that is easy to use and helps in creating machine learning models.

How to download Weka?
The versions of the Weka are available on the download page of Weka.
As per the version requirements, navigate through the download page of Weka and select one of the feasible options as highlighted: -

  • Installation of All-in-one version of Weka for Mac OS X or windows.
  • Installation of Weka and Java separately for Mac OS X or windows.
  • Installation of Weka on Linux and other operating systems.

The Weka download page itself provides step by step instructions to help the user download Weka.

How to Install All-in-one version of Weka?
The all-in-one version of Weka provides the platform along with the Java required to run the Weka.

Windows
The Weka is available as a self-extracting executable software for Windows OS.
Select either 32-bit version or 64-bit version of the Weka package. These packages would be named as follows: -

  • Self-extracting executable with Oracle’s 64-bit Java for 64-bit windows operating system.
  • Self-extracting executable with Oracle’s 32-bit Java for 32-bit windows operating system.

If the user has a modern version of the window operating system, it is recommended that the user select a 64-bit version.
The size of the executable file is 100 MB. Download the package, click the package to start the installation process once the download is completed.
Once the installation is complete, the Weka would appear on the program menu. The icon of Weka is bird shape.         Click on the icon to start Weka.

Mac OS X
On the Mac OS, the Weka all-in-one version is available in the Image of a disk.

The Weka download page would provide the description as stated

  • Disk Image for OS X platform that consists of Mac along with Oracle’s Java.

The size of the package file is 120 MB. The image of the disk consists of two Weka versions.
The first one comes with a bundled Java version and second would be a standalone version. It is recommended that the user of Mac OS installs both. Select folder and icon and drag them to the application folder.
The icon of Weka is bird shape.           Click on the icon to start Weka.

How to Install Weka and Java Separately?
Weka works only when the version of Java is at or above 1.7. This is a prerequisite.

If the workstation doesn’t have java installed then the user should download java from the java download page.
The file size of the java download is 60 MB.

Windows

The Weka is available as a self-extracting executable software for Windows OS that does not consist of Java.
Select either 32-bit version or 64-bit version of the Weka package. These packages would be named as follows: -

  • Self-extracting executable without Oracle’s 64-bit Java for 64-bit windows operating system.
  • Self-extracting executable without Oracle’s 32-bit Java for 32-bit windows operating system.

If the user has a modern version of the window operating system, it is recommended that the user select a 64-bit version.

The size of the executable file is 50 MB. Download the package, click the package to start the installation process once the download is completed.
Once the installation is complete, the Weka would appear on the program menu. The icon of Weka is bird shape.         Click on the icon to start Weka.

Mac OS X

On the Mac OS, the Weka all-in-one version is available in the Image of a disk.
The Weka download page would provide the description as stated

  • Disk Image for OS X platform that consists of Mac along with Oracle’s Java.

The size of the package file is 120 MB. The image of the disk consists of two Weka versions. The first one comes with a bundled Java version and second would be a standalone version.
Select and open disk folder and drag the standalone Weka folder into the application folder.
Access Weka.Jar file by double-clicking it to start Weka. The Weka can also be run through command line arguments.
Start the command line. Run the below command for changing the directory to Weka directory

Cd/Applications/Weka 3-8-0

Initiate the java virtual machine by invoking the Weka.Jar file

Java -jar Weka.Jar

The above command-line arguments would work only when java is aligned in the path.

How to Install Weka on Linux and other operating systems?

The Weka also gives the standalone version for Linux and other operating systems. Any platform or operating system that supports Java can run Weka easily.
Access the zip archive of Weka and download it. Unzip the zip archive.

The Weka can be run through command line arguments.
Start the command line. Run the below command for changing the directory to Weka directory

Cd/Applications/Weka 3-8-0

Initiate the java virtual machine by invoking the Weka.Jar file

Java -jar Weka.Jar

The above command-line arguments would work only when java is aligned in the path.



Get Started - Future proof your career

Join 150,000 aspirants. Learn Today - Apply Today. Try Free Programs

Learn Data Science Free with GLabs