All Projects → IvanoLauriola → Mklpy

IvanoLauriola / Mklpy

Licence: gpl-3.0
A package for Multiple Kernel Learning in Python

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Mklpy

Unsupervised Classification
SCAN: Learning to Classify Images without Labels (ECCV 2020), incl. SimCLR.
Stars: ✭ 605 (+646.91%)
Mutual labels:  representation-learning
Word2vec Win32
A word2vec port for Windows.
Stars: ✭ 41 (-49.38%)
Mutual labels:  representation-learning
Dogtorch
Who Let The Dogs Out? Modeling Dog Behavior From Visual Data https://arxiv.org/pdf/1803.10827.pdf
Stars: ✭ 66 (-18.52%)
Mutual labels:  representation-learning
Bagofconcepts
Python implementation of bag-of-concepts
Stars: ✭ 18 (-77.78%)
Mutual labels:  representation-learning
Meta Emb
Multilingual Meta-Embeddings for Named Entity Recognition (RepL4NLP & EMNLP 2019)
Stars: ✭ 28 (-65.43%)
Mutual labels:  representation-learning
Gat2vec
representation learning on attributed graphs
Stars: ✭ 48 (-40.74%)
Mutual labels:  representation-learning
Lemniscate.pytorch
Unsupervised Feature Learning via Non-parametric Instance Discrimination
Stars: ✭ 532 (+556.79%)
Mutual labels:  representation-learning
Self Supervised Learning Overview
📜 Self-Supervised Learning from Images: Up-to-date reading list.
Stars: ✭ 73 (-9.88%)
Mutual labels:  representation-learning
Gradfeat20
Gradients as Features for Deep Representation Learning
Stars: ✭ 30 (-62.96%)
Mutual labels:  representation-learning
Dna Gan
DNA-GAN: Learning Disentangled Representations from Multi-Attribute Images
Stars: ✭ 65 (-19.75%)
Mutual labels:  representation-learning
Transferlearning
Transfer learning / domain adaptation / domain generalization / multi-task learning etc. Papers, codes, datasets, applications, tutorials.-迁移学习
Stars: ✭ 8,481 (+10370.37%)
Mutual labels:  representation-learning
Graphvite
GraphVite: A General and High-performance Graph Embedding System
Stars: ✭ 865 (+967.9%)
Mutual labels:  representation-learning
Usss iccv19
Code for Universal Semi-Supervised Semantic Segmentation models paper accepted in ICCV 2019
Stars: ✭ 57 (-29.63%)
Mutual labels:  representation-learning
Simclr
PyTorch implementation of SimCLR: A Simple Framework for Contrastive Learning of Visual Representations
Stars: ✭ 750 (+825.93%)
Mutual labels:  representation-learning
Evalne
Source code for EvalNE, a Python library for evaluating Network Embedding methods.
Stars: ✭ 67 (-17.28%)
Mutual labels:  representation-learning
Deberta
The implementation of DeBERTa
Stars: ✭ 541 (+567.9%)
Mutual labels:  representation-learning
Compress
Compressing Representations for Self-Supervised Learning
Stars: ✭ 43 (-46.91%)
Mutual labels:  representation-learning
Asne
A sparsity aware and memory efficient implementation of "Attributed Social Network Embedding" (TKDE 2018).
Stars: ✭ 73 (-9.88%)
Mutual labels:  representation-learning
Graph 2d cnn
Code and data for the paper 'Classifying Graphs as Images with Convolutional Neural Networks' (new title: 'Graph Classification with 2D Convolutional Neural Networks')
Stars: ✭ 67 (-17.28%)
Mutual labels:  representation-learning
Codeslam
Implementation of CodeSLAM — Learning a Compact, Optimisable Representation for Dense Visual SLAM paper (https://arxiv.org/pdf/1804.00874.pdf)
Stars: ✭ 64 (-20.99%)
Mutual labels:  representation-learning

MKLpy

Documentation Status Build Status Coverage Status PyPI version License: GPL v3

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

This package contains:

  • the implementation of some MKL algorithms;
  • 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 main MKL algorithms implemented in this library are

Name Short description Status Source
AverageMKL Computes the simple average of base kernels Available -
EasyMKL Fast and memory efficient margin-based combination Available [1]
GRAM Radius/margin ratio optimization Available [2]
R-MKL Radius/margin ratio optimization Available [3]
MEMO Margin maximization and complexity minimization Available [4]
PWMK Heuristic based on individual kernels performance Avaible [5]
FHeuristic Heuristic based on kernels alignment Available [6]
CKA Centered kernel alignment optimization in closed form Available [7]
SimpleMKL Alternate margin maximization Work in progress [5]

The documentation of MKLpy is available on readthedocs.io!

Installation

MKLpy is also available on PyPI:

pip install MKLpy

MKLpy leverages multiple scientific libraries, that are numpy, scikit-learn, PyTorch, and CVXOPT.

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.

Additionally, you may read our tutorials

Work in progress

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

  • additional MKL algorithms;
  • more kernels for structured data;
  • efficient optimization

Citing MKLpy

If you use MKLpy for a scientific purpose, please cite the following preprint.

@article{lauriola2020mklpy,
  title={MKLpy: a python-based framework for Multiple Kernel Learning},
  author={Lauriola, Ivano and Aiolli, Fabio},
  journal={arXiv preprint arXiv:2007.09982},
  year={2020}
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].