Code Monkey home page Code Monkey logo

graph_classification_with_atol's Introduction

logo

Graph classification with Automatic Topologically-Oriented Learning

In this repository we expolore the ATOL method for automatic feature generation for persistence diagrams (ATOL: Automatic Topologically-Oriented Learning). It is based on Martin Royer's paper and makes use of the corresponding source code(copyright INRIA). Have a look at our blog post for more information.

We also adapt the Perslay codebase to match the API from giotto-tda.

Requirements

  • giotto-tda
  • scikit-learn
  • joblib
  • numpy
  • GUDHI

Notebook overview

The notebook contains an example of usage for the ATOL layer. We apply it to a graph classification problem and results are comparable to state-of-the-art algorithms.

Data

The dataset we use in the notebook comes from from moleculenet.ai and it is called ClinTox. It contains 1478 drugs molecules labelled in 2 classes: toxic and safe.

Getting Started

Since we are going to use packages from both pip and conda you should have anaconda installed.

Then, in order to run the notebook you should follow these steps:

  • Create a new environment with the needed packages

conda env create -f environment.yml

  • Activate the environment

conda activate atol-env

Now you should be able to run the notebook!

Enjoy :)

graph_classification_with_atol's People

Contributors

diegofiori avatar giotto-learn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.