Giter Club home page Giter Club logo

jpetuum's Introduction

Java version of Petuum

Installation

The Java version of Petuum works without any problems on Linux/Windows/MacOSX as long as the newest Java Development Kit(JDK) is installed correctly.

Install JDK1.8

As there are many new language features and libraries used in our Java implementation of Petuum, the whole system must be compiled and executed only with JDK1.8 or higher, which can be downloaded from the Oracle website(http://www.oracle.com/technetwork/java/javase/downloads/index.html). For Windows and Mac, there is no problem about installing JDK1.8, but for Ubuntu 14.04 or lower, there is no JDK1.8 support in its software repository. So, you must configure the JAVA_HOME and PATH manually.

Install Gradle

We use Gradle as the automation tool for dependency managment and compiling toolkit in this system. So, in order to compile and run the system correctly, you must install Gradle manually. The minimum version of Gradle we support is 1.11. Thus, if you are an Ubuntuer, do not install Gradle as "sudo apt-get install gradle", because the version of Gradle in Ubuntu repository is older than that we required. Please go to the official website(http://www.gradle.org/) to download and install the newest version of Gradle.

Editing and Compiling

Once the code of whole system is downloaded, you can enter to the project directory and type the following command to compile and run the default demo application about matrix factorization.

gradle run

This command will download some extra packages which our system uses and then compile the Petuum system and the related demo applications. Thus, this command will take minutes when you first run this command.

If you want to write more applications, please create an exectuable Java class in com.petuum.app like the default demo MatrixFact. If you want to change the default demo application which will be executed with "gradle run", please modify the build.gradle file to change the "mainClassName" to yours.

jpetuum's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.