GithubHelp home page GithubHelp logo

alecnicol / pyramid-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cheng-li/pyramid

0.0 2.0 0.0 4.32 MB

Open source Machine Learning library written in Java

License: Apache License 2.0

Java 98.05% HTML 1.95%

pyramid-1's Introduction

Pyramid

A Java Machine Learning Library

Pyramid is a Java machine learning library which implements many state-of-the-art machine learning algorithms, including

  • Binary and Multi-class classification algorithms:
    • Logistic Regression with L1 regularization (Lasso), L2 regularization (Ridge) and L1+L2 regularization (Elastic-net)
    • Variational Bayesian Logistic Regression
    • Gradient Boosted Trees
    • Naive Bayes
    • Error-Correcting Output Codes (ECOC)
    • Support Vector Machines (SVM)
  • Multi-label classification algorithms:
  • Regression algorithms:
    • Linear Regression with L1 regularization (Lasso), L2 regularization (Ridge) and L1+L2 regularization (Elastic-net)
    • Variational Bayesian Linear Regression
    • Regression Tree
    • Gradient Boosted Trees
  • Learning to rank algorithms:
    • LambdaMART
  • Clustering:

At the moment, not all algorithms are released. We are actively working on tidying up the source files and adding documentations. We will release a few algorithms at a time when they are ready and hope to have all algorthms released soon!

Requirements

If you just want to use pyramid as a command line tool (which is very simple), all you need is Java 8.

If you are also a Java developer and wish to call Pyramid Java APIs, you will also need Maven.

Setup

Pyramid doesn't require any installation effort. All you need is downloading the latest pre-compiled package (with a name like pyramid-x.x.x.zip) and decompressing it. Now you can move into the created folder and type

./pyramid config/welcome.properties

You will see a welcome message and that means everything is working perfectly.

Windows users please see the notes.

Command Line Usage

All algorithms/functions implemented in Pyramid can be run though a simple command, with the following syntax:

./pyramid <properties_file>

Example:

./pyramid config/welcome.properties

or

./pyramid config/cbm.properties

pyramid is a launcher script and <properties_file> is a file specifying the name of the algorithm and all necessary parameters, such as the input data, output folder, and learning algorithm hyper parameters. The <properties_file> can be specified by either an absolute or a relative path.

To run different algorithms, you just need to invoke the program with different properties files. The list of available algorithms and their corresponding properties file templates can be found in the Wiki.

Building from Source

If you are a Java developer who prefer working with the source code or want to contribute to the Pyramid package:

Pyramid uses Maven for its build system.

To compile and package the project from the source code, simply run the mvn clean package -DskipTests command in the cloned directory. The compressed package will be created under the core/target/releases directory.

Feedback

We welcome your feedback on the package. To ask questions, request new features or report bugs, please contact Cheng Li via [email protected].

Answers to some commonly asked questions can be found in FAQ.

pyramid-1's People

Contributors

cheng-li avatar rainicy avatar zhenmingbi avatar jinlongfan avatar maoqiuzi avatar jiliny avatar deyb avatar yuyuxu avatar virgilpavlu avatar henry-yan avatar

Watchers

James Cloos avatar  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.