GraphBasisFunctions

Python code for Graph Basis Functions approximation.

This code is a (partial) porting of the Matlab toolbox GBFlearn writtten by Wolfgang Erb.

The implementation structure and the code of the greedy algorithms is taken from the VKOGA package.

All the approximants are implemented as scikit-learn Estimator, and thus they can be combined with the parameter optimization tools of the package.

Quick start

You can start with one of the demos:

Code overview

The code is organized as follows:

  • approx.py: Definition of the GBF approximation models (GBFIntepolation, GBFGreedy).
  • kernels.py: Definition of the graph kernels and of the GBFs.
  • utils.py: Definition of various utility functions.
  • graph_loaders.py: Definition of various utility to load some example graphs.