Weka 3.7 For Windows 7 64 Bit

Posted on

The following sections should help you install the library on your machine.

  • WinRAR is a 32-bit/64-bit Windows version of RAR Archiver, the powerful archiver and archive manager. WinRARs main features are very strong general and multimedia compression, solid compression, archive protection from damage, processing.
  • For 3.7.0, we provide two binary installer options for download. The default variant is 64-bit-only and works on macOS 10.9 (Mavericks) and later systems. We also continue to provide a 64-bit/32-bit variant that works on all versions of macOS from 10.6 (Snow Leopard) on.

Weka x64 - X 64-bit Download - x64-bit download - freeware, shareware and software downloads.

Some of the instructions are based on the CellProfilerinstructions, the guysbehind the javabridge library.

However, if you should encounter problems or if you would like to submit improvementson the instructions below, please use the following mailing list:

Videos¶

You can find videos on YouTube that show the installation process:

Prerequisites for all plaforms¶

You need a Java Development Kit (JDK) 1.8/8 (e.g., OpenJDK) installed andthe JAVA_HOMEenvironment variablepointing to the installation directory in order to use python-weka-wrapper3library.

Note: In the past, it was not recommended to use OpenJDK, as Weka was developed with and tested against Oracle’sversion. However, Oracle’s JDK 8 is no longer available for public download and OpenJDK matured enough that it is now therecommended Java version to use.

Ubuntu¶

First, you need to be able to compile C/C++ code and Python modules:

Now, you can install the various packages that we require for installingpython-weka-wrapper3:

The following packages are optional, but necessary if you also want somegraphical output:

Install OpenJDK as well, in order to get all the header files that javabridgecompiles against (but don’t use it for starting up JVMs):

Finally, you can use pip3 to install the Python packages that are notavailable in the repositories:

For

Debian¶

First, become the superuser:

You need to be able to compile C/C++ code and Python modules:

Weka 3.7 For Windows 7 64 Bit Activator

Now, you can install the various packages that we require for installing`python-weka-wrapper3:

The following packages are optional, but necessary if you also want somegraphical output:

Download a JDK and un-tar it in /opt (e.g., /opt/jdk1.8.0_162/).Export the Java home directory as follows (required for the javabridgeinstallation):

For

Finally, you can use pip3 to install the Python packages that are notavailable in the repositories:

Please note, when using python-weka-wrapper3 as a normal user, don’t forgetto export the JAVA_HOME environment variable as described above (e.g., add itto your .profile).

Fedora/CentOS/Redhat¶

Here are some rough instructions (as superuser):

  • install openjdk (+ -devel) package
  • install python (+ -devel) package
  • download pip from https://bootstrap.pypa.io/get-pip.py
  • install pip using pythonget-pip.py
  • install dev tools using yumgroupinstall'Developmenttools'
  • install numpy package
  • install python-imaging package (shouldn’t be necessary)
  • install javabridge using pipjavabridge
  • install python-weka-wrapper3 using pippython-weka-wrapper3

Other Linux distributions¶

See thesegeneral instructions for installing Python on Linux. You need to be able tocompile C/C++ code and Python modules (i.e., Python header files are required).By installing OpenJDK, you should be able to compile javabridge against itsheader files (for JNI access).

Then you need to install the following Python packages, preferably through yourpackage manager (e.g., yum). Please note that on a headless machine, youcan omit the packages marked as optional, as they are only required forgraphical output and plots:

  • pip3
  • numpy
  • PIL (optional)
  • matplotlib (optional)
  • pygraphviz (optional)

Once these libraries are installed, you can use pip3 to install the remainingPython packages:

Mac OSX¶

Please follow thesegeneral instructions for installing Python.

In order to compile C/C++ code, you need to install Xcode through Apple’s AppStore. Once installed you can install the XCode command-line tools by issuingthe command xcode-select--install in a terminal.

Also, install graphviz using homebrew (brewinstallpkg-config andbrewinstallgraphviz) for visualizing trees and graphs.

You need to install the following Python packages:

  • numpy
  • pillow
  • matplotlib
  • pygraphviz

Once these libraries are installed, you can use pip to install the remainingPython packages:

Windows using Anaconda¶

Please note: You need to make sure that the bitness of your environmentis consistent. I.e., if you install a 32-bit version of Anaconda, you need toinstall a 32-bit JDK (or all of them are 64-bit).

  • download javabridgefor Python 3.4/3.5/3.6/3.7 (cp34/cp34/cp36/cp37) and your bitness (32 or 64 bit)

  • the following sets up an environment with Python 3.6

If you want plotting support, then install also graphviz and matplotlib:

  • download graphvizand add the path to its installed binaries to your PATH environment variable.
  • install matplotlib using pipinstallmatplotlib

Windows¶

Please note: You need to make sure that the bitness of your environmentis consistent. I.e., if you install a 32-bit version of Python, you need toinstall a 32-bit JDK and 32-bit numpy (or all of them are 64-bit).

Perform the following steps:

Weka 3.7 For Windows 7 64 Bit Iso

  • install Python, make sure you check Add python.exe to path during the installation
  • add the Python scripts directory to your PATH environment variable, e.g., C:Python35Scripts
  • install pip with these steps:
  • install numpy
  • download numpy 1.9.x MKL(or later) for Python 3.4/3.5/3.6/3.7 (cp34/cp35/cp36/cp37) and your bitness (32 or 64 bit)
  • install the .whl file using pip: pipinstallnumpy-X.Y.Z.whl
  • install javabridge
  • download javabridge(or later) for Python 3.4/3.5/3.6/3.7 (cp34/cp35/cp36/cp37) and your bitness (32 or 64 bit)
  • install the .whl file using pip: pipinstalljavabridge-X.Y.Z.whl

If you want to use the plotting functionality, you need to install graphviz and matplotlib as well:

  • download graphvizand add the path to its installed binaries to your PATH enrivornment variable.
  • download matplotlibfor Python 3.4/3.5/3.6/3.7 (cp34/cp34/cp36/cp37) and your bitness (32 or 64 bit)
  • install the .whl file using pip: pipinstallmatplotlib-X.Y.Z.whl

For being able to compile libraries on Windows, you need theMicrosoft Build Tools 2015installed.

From source¶

You have two options for installing the library from source, either through a releasearchive or using the bleeding edge source code that is available through theGithub repository.

Archive¶

Go to the releasespage on Github and download the Source code archive (zip or tar.gz) of therelease that you want to install. After the download finishes, decompress thearchive. Open a terminal/command prompt and execute the following commandfrom within the directory with the setup.py file:

Check out the section on virtualenv as well, if you would rather install itin a disposable location.

Gtihub¶

Clone the Github repository as follows:

Change into the newly created directory and install the library using thefollowing command:

Check out the section on virtualenv as well, if you would rather install itin a disposable location.

The following sections should help you install the library on your machine.

Some of the instructions are based on the CellProfilerinstructions, the guysbehind the javabridge library.

However, if you should encounter problems or if you would like to submit improvementson the instructions below, please use the following mailing list:

Videos¶

You can find videos on YouTube that show the installation process:

Weka 3.7 For Windows 7 64 Bit

Prerequisites for all plaforms¶

You need a Java Development Kit (JDK) 1.8/8 (e.g., OpenJDK) installed andthe JAVA_HOMEenvironment variablepointing to the installation directory in order to use python-weka-wrapper3library.

Note: In the past, it was not recommended to use OpenJDK, as Weka was developed with and tested against Oracle’sversion. However, Oracle’s JDK 8 is no longer available for public download and OpenJDK matured enough that it is now therecommended Java version to use.

Ubuntu¶

First, you need to be able to compile C/C++ code and Python modules:

Windows

Now, you can install the various packages that we require for installingpython-weka-wrapper:

The following packages are optional, but necessary if you also want somegraphical output:

Install OpenJDK as well, in order to get all the header files that javabridgecompiles against (but don’t use it for starting up JVMs):

Contactvshare pair. Finally, you can use pip to install the Python packages that are notavailable in the repositories:

Debian¶

First, become the superuser:

You need to be able to compile C/C++ code and Python modules:

Now, you can install the various packages that we require for installing`python-weka-wrapper:

The following packages are optional, but necessary if you also want somegraphical output:

Download an Oracle JDK and un-tar it in /opt (e.g., /opt/jdk1.8.0_162/).Export the Java home directory as follows (required for the javabridgeinstallation):

Finally, you can use pip to install the Python packages that are notavailable in the repositories:

Please note, when using python-weka-wrapper as a normal user, don’t forgetto export the JAVA_HOME environment variable as described above (e.g., add itto your .profile).

Fedora/CentOS/Redhat¶

Here are some rough instructions (as superuser):

  • install openjdk (+ -devel) package
  • install python (+ -devel) package
  • download pip from https://bootstrap.pypa.io/get-pip.py
  • install pip using pythonget-pip.py
  • install dev tools using yumgroupinstall'Developmenttools'
  • install numpy package
  • install python-imaging package (shouldn’t be necessary)
  • install javabridge using pipjavabridge
  • install python-weka-wrapper using pippython-weka-wrapper

Other Linux distributions¶

See thesegeneral instructions for installing Python on Linux. You need to be able tocompile C/C++ code and Python modules (i.e., Python header files are required).By installing OpenJDK, you should be able to compile javabridge against itsheader files (for JNI access).

Then you need to install the following Python packages, preferably through yourpackage manager (e.g., yum). Please note that on a headless machine, youcan omit the packages marked as optional, as they are only required forgraphical output and plots:

  • pip
  • numpy
  • PIL (optional)
  • matplotlib (optional)
  • pygraphviz (optional)

Once these libraries are installed, you can use pip to install the remainingPython packages:

Mac OSX¶

Please follow thesegeneral instructions for installing Python.

In order to compile C/C++ code, you need to install Xcode through Apple’s AppStore. Once installed you can install the XCode command-line tools by issuingthe command xcode-select--install in a terminal.

Also, install graphviz using homebrew (brewinstallpkg-config andbrewinstallgraphviz) for visualizing trees and graphs.

You need to install the following Python packages:

  • numpy
  • pillow
  • matplotlib
  • pygraphviz

Once these libraries are installed, you can use pip to install the remainingPython packages:

Windows using Anaconda¶

Please note: You need to make sure that the bitness of your environmentis consistent. I.e., if you install a 32-bit version of Anaconda, you need toinstall a 32-bit JDK (or all of them are 64-bit).

  • download javabridgefor Python 2.7 (cp27) and your bitness (32 or 64 bit)

  • the following sets up an environment with Python 2.7

If you want plotting support, then install also graphviz and matplotlib:

  • download graphvizand add the path to its installed binaries to your PATH environment variable.
  • install matplotlib using pipinstallmatplotlib

Windows¶

Please note: You need to make sure that the bitness of your environmentis consistent. I.e., if you install a 32-bit version of Python, you need toinstall a 32-bit JDK and 32-bit numpy (or all of them are 64-bit).

Perform the following steps:

For
  • install Python, make sure you check Add python.exe to path during the installation
  • add the Python scripts directory to your PATH environment variable, e.g., C:Python27Scripts
  • install pip with these steps:
  • install numpy
  • download numpy 1.9.x MKL(or later) for Python 2.7 (cp27) and your bitness (32 or 64 bit)
  • install the .whl file using pip: pipinstallnumpy-X.Y.Z.whl
  • install javabridge
  • download javabridge(or later) for Python 2.7 (cp27) and your bitness (32 or 64 bit)
  • install the .whl file using pip: pipinstalljavabridge-X.Y.Z.whl

If you want to use the plotting functionality, you need to install matplotlib as well:

  • download matplotlibfor Python 2.7 (cp27) and your bitness (32 or 64 bit)
  • install the .whl file using pip: pipinstallmatplotlib-X.Y.Z.whl

For being able to compile libraries on Windows, you need theMicrosoft Build Tools 2015installed.

From source¶

You have two options for installing the library from source, either through a releasearchive or using the bleeding edge source code that is available through theGithub repository.

Archive¶

Go to the releasespage on Github and download the Source code archive (zip or tar.gz) of therelease that you want to install. After the download finishes, decompress thearchive. Open a terminal/command prompt and execute the following commandfrom within the directory with the setup.py file:

Check out the section on virtualenv as well, if you would rather install itin a disposable location.

Gtihub¶

Clone the Github repository as follows:

Change into the newly created directory and install the library using thefollowing command:

Check out the section on virtualenv as well, if you would rather install itin a disposable location.