Skip to content
/ MKLpy Public
forked from IvanoLauriola/MKLpy

A package for Multiple Kernel Learning in Python

License

Notifications You must be signed in to change notification settings

2018luyi/MKLpy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MKLpy

MKLpy is a framework for Multiple Kernel Learning (MKL) inspired by the scikit-learn project.

This package contains:

  • the implementation of some MKL algorithms, such as EasyMKL;
  • tools to operate on kernels, such as normalization, centering, summation, average...;
  • metrics, such as kernel_alignment, radius of Minimum Enclosing Ball, margin between classes, spectral ratio...;
  • kernel functions, including boolean kernels (disjunctive, conjunctive, DNF, CNF) and string kernels (spectrum, fixed length and all subsequences).

The 'examples' folder contains useful snippets of code.

Installation

MKLpy is also available on PyPI:

pip install MKLpy

To work properly, MKLpy requires:

resource website
numpy https://www.numpy.org/
scikit-learn https://scikit-learn.org/stable/
cvxopt https://cvxopt.org/

Examples

The folder examples contains several scripts and snippets of codes to show the potentialities of MKLpy. The examples show how to train a classifier, how to process data, and how to use kernel functions. Currently, we ware working for a complete documentation.

Work in progress

MKLpy is under development! We are working to integrate several features, including:

  • further MKL algorithms, such as GRAM, MEMO, and SimpleMKL;
  • more kernels for structured data;
  • incremental generators of kernels;
  • tensorflow as backend !

Citing MKLpy

If you use MKLpy for a scientific purpose, please cite this library.

About

A package for Multiple Kernel Learning in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%