Package: grakel-dev
GraKeL: A library for graph kernelsGraKeLis a library compatible with the project ofscikit-learnInstallationThe GraKeL library requires:Python (>=2.7, >=3.5)NumPy (>=1.8.2)SciPy (>=0.13.3)Cython (>=0.27.3)cvxopt (>=1.2.0) [optional: lovasz]future (>=0.16.0) (for python 2.7)Installing DependenciesYou can install the dependencies as follows:$pipinstallextension>=extension_versionor$pipinstall-rrequirements.txtInstalling thedevelopment-versionTo install thedevelopment-versionusingpipexecute:$pipinstallgrakel-devGetting StartedTwo pointers to get you started:TestingYou first need to build the package's c++ extensions
locally by executing:$pythonsetup.pybuild_ext-iTo test the package, execute:$nosetestsFor executing unit_tests or use a testing-interface for testing thekernelmodule:$pythongrakel/tests/test_kernels.py--help
usage:test_kernels.py[-h][--verbose][--problematic][--slow][--ignore_warnings][--datasetDATASET][--normalize][--develop|--all|--main]Atestfileforallkernels

optionalarguments:-h,--helpshowthishelpmessageandexit--verboseprintkernelswiththeiroutputsonstdout--problematicallowexecutionofproblematictestcasesindevelopment--slowallowexecutionofslowtestcasesindevelopment--ignore_warningsignorewarningsproducedbykernelexecutions--datasetDATASETchosethedatsetyouwanttheteststobeexecuted--normalizenormalizethekerneloutput--developexecuteonlytestsconnectedwithcurrentdevelopment--allexecutealltests--mainexecutethemaintests[default]For testinggraph_kernels:$pythongrakel/tests/test_graph_kernel.py--help
usage:test_graph_kernels.py[-h][--verbose][--problematic][--slow][--normalize][--ignore_warnings][--datasetDATASET][--develop|--all|--main]Atestfileforallkernels

optionalarguments:-h,--helpshowthishelpmessageandexit--verboseprintkernelswiththeiroutputsonstdout--problematicallowexecutionofproblematictestcasesindevelopment--slowallowexecutionofslowtestcasesindevelopment--normalizenormalizethekerneloutput--ignore_warningsignorewarningsproducedbykernelexecutions--datasetDATASETchosethedatsetyouwanttheteststobeexecuted--developexecuteonlytestsconnectedwithcurrentdevelopment--allexecutealltests--mainexecutethemaintests[default]And for testing theGraphclass:$pythongrakel/tests/test_graph.py--help
usage:test_graph.py[-h][--verbose][--ignore_warnings]Atestfileforall`Graph`typeobjects

optionalarguments:-h,--helpshowthishelpmessageandexit--verboseverboseoutputsonstdout--ignore_warningsignorewarningsproducedbykernelexecutionsYou can also execute the kernel test locally through atest-main-functionas$python-mgrakel.testsContributingTo learn how to integrate your own kernel and how to contribute to the GraKeL project, please read the sectionsWrite your own kernelandContributingin theDocumentation, respectively.LicenseGraKeL comes with aBSD 3-clauselicense (as with scikit-learn).
It contains the C++ source code ofBLISS(a library for graph isomorphism) which isLGPLlicensed.
Futhermore its optional dependency in the package ofcvxopt(a tool for solving convex-optimization problems) comes with aGPLlicense.CitationIf you use GraKeL in a scientific publication, please cite our paper:@article{siglidis2018grakel,
  title={GraKeL: A Graph Kernel Library in Python},
  author={Siglidis, Giannis and Nikolentzos, Giannis and Limnios, Stratis and Giatsidis, Christos and Skianis, Konstantinos and Vazirgiannis, Michalis},
  journal={arXiv preprint arXiv:1806.02193},
  year={2018}
}