GithubHelp home page GithubHelp logo

liu3xing3long / mklaren Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mstrazar/mklaren

0.0 1.0 0.0 388.25 MB

A Python Multiple kernel learning library.

License: Other

Python 37.31% Makefile 0.08% C 56.00% Awk 2.91% Shell 0.05% Ruby 0.17% R 0.17% M 0.01% MATLAB 3.30%

mklaren's Introduction

Mklaren

A Multiple kernel learning Python library.

Features

  • Support for standard kernel functions (RBF, linear, polynomial, sigmoid)
  • Efficient interface to the kernel matrix
  • Low-rank kernel approximation methods (Incomplete Cholesky Decomposition, Cholesky with Side-information, the Nystrom method)
  • Multiple kernel learning methods based on centered alignment
  • Simultaneous multiple kernel learning and low-rank approximation base on least-angle regression (the Mklaren algorithm)

Resources

Installation

The Mklaren package is heavily based on NumPy and SciPy packages. Make sure these are installed and visible in the Python environment.

pip install numpy
pip install scipy

Mklaren and its dependencies are installed from the PyPI package repository:

pip install mklaren

Alternatively, the package can be installed by cloning this repository and running:

python setup.py install

Unit tests are run with:

python setup.py test

Additional dependencies

Certain experiments in the article use additional functionalities, not required strictly by the library.

Some code in the examples uses Matplotlib. It shall be installed manually due to possible system dependencies.

pip install matplotlib

Running the method CSI (Cholesky with Side Information) assumes a local octave installation as well as Oct2Py python module.

Octave can be installed for your OS from the Octave website. The Python interface to octave is installed separately.

pip install oct2py

The FITC method is borrowed from the GPy package:

pip install GPy

mklaren's People

Contributors

mstrazar avatar

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.