Code Monkey home page Code Monkey logo

fastonl's Introduction

FastONL

Code and datasets for FastONL (ICML, 2023).

To run FastONL on a specific dataset, one can use

python fastonc.py --kernel=k1 --dataset=citeseer --lambda=1000 --eps=1e-5 --seed=0

The output looks like:

run on citeseer dataset with 2110 nodes, using kernel k1
accuracy: 0.741 run time: 1.03 seconds

To demonstrate our FastONL, we run FastONL on citeseer dataset, use the following code

python demo_fastonc.py --dataset=citeseer

The output of the above code could look like:

--------------------kernel-1--------------------
lambda: 211.0 , acc: 0.73460, run-time: 11.46 seconds
lambda: 422.0 , acc: 0.73649, run-time: 3.80 seconds
lambda: 633.0 , acc: 0.73886, run-time: 1.96 seconds
lambda: 844.0 , acc: 0.73934, run-time: 1.31 seconds
lambda: 1055.0 , acc: 0.74076, run-time: 0.89 seconds
lambda: 1266.0 , acc: 0.74313, run-time: 0.67 seconds
lambda: 1477.0 , acc: 0.74028, run-time: 0.53 seconds
lambda: 1688.0 , acc: 0.74076, run-time: 0.44 seconds
lambda: 1899.0 , acc: 0.74218, run-time: 0.37 seconds
--------------------kernel-2--------------------
lambda: 211.0 , acc: 0.73649, run-time: 1.21 seconds
lambda: 422.0 , acc: 0.73981, run-time: 0.38 seconds
lambda: 633.0 , acc: 0.73886, run-time: 0.25 seconds
lambda: 844.0 , acc: 0.73555, run-time: 0.19 seconds
lambda: 1055.0 , acc: 0.73081, run-time: 0.16 seconds
lambda: 1266.0 , acc: 0.72464, run-time: 0.14 seconds
lambda: 1477.0 , acc: 0.72322, run-time: 0.12 seconds
lambda: 1688.0 , acc: 0.72038, run-time: 0.11 seconds
lambda: 1899.0 , acc: 0.71801, run-time: 0.11 seconds
--------------------kernel-3--------------------
lambda: 211.0 , acc: 0.67393, run-time: 0.07 seconds
lambda: 422.0 , acc: 0.68720, run-time: 0.08 seconds
lambda: 633.0 , acc: 0.69621, run-time: 0.08 seconds
lambda: 844.0 , acc: 0.70142, run-time: 0.08 seconds
lambda: 1055.0 , acc: 0.70284, run-time: 0.08 seconds
lambda: 1266.0 , acc: 0.70758, run-time: 0.09 seconds
lambda: 1477.0 , acc: 0.70900, run-time: 0.09 seconds
lambda: 1688.0 , acc: 0.71280, run-time: 0.10 seconds
lambda: 1899.0 , acc: 0.71374, run-time: 0.10 seconds
--------------------kernel-4--------------------
lambda: 211.0 , acc: 0.74171, run-time: 0.33 seconds
lambda: 422.0 , acc: 0.74171, run-time: 0.33 seconds
lambda: 633.0 , acc: 0.74171, run-time: 0.33 seconds
lambda: 844.0 , acc: 0.74171, run-time: 0.33 seconds
lambda: 1055.0 , acc: 0.74171, run-time: 0.33 seconds
lambda: 1266.0 , acc: 0.74171, run-time: 0.33 seconds
lambda: 1477.0 , acc: 0.74171, run-time: 0.33 seconds
lambda: 1688.0 , acc: 0.74171, run-time: 0.33 seconds
lambda: 1899.0 , acc: 0.74171, run-time: 0.33 seconds

Contact: Baojian Zhou, [email protected]

fastonl's People

Contributors

baojian avatar baojianzhou avatar

Stargazers

Yanyu Xu avatar  avatar  avatar

Watchers

 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.