Git Product home page Git Product logo

subspaceclusteringjulia's Introduction

Subspace Clustering Algorithms

This repo includes implementations of various subspace clustering algorithms in Julia, tested on Julia 1.5. To run, they require several packages, which can be installed by julia requirements.jl.

This also provides an implementation for A-DSSC and J-DSSC, the two methods from our paper:

Doubly Stochastic Subspace Clustering. Derek Lim, René Vidal, and Benjamin Haeffele. arXiv:2011.14859.

The experimental setup is as described in the paper.


The main implementations for computing the self-representation matrices are in rep_solver.jl. We also call the Python implementations by Chong You for EnSC and SSC as located in selfrepresentation.py. The file main.jl gives a framework to run these methods with some grid searches over parameters. The usage is:

julia main.jl $DATASET $METHOD

where the DATASET options are: umist, scattered_coil scattered_umist, scattered_coil_40, and the METHOD options are: adssc, jdssc, jdssc_l1, tsc, lsr, lrsc, ssc_omp, ssc, ensc. For instance, to run LSR on UMIST, do:

julia main.jl umist lsr

Data loaders are in data_gen.jl. Other datasets can be experimented on by making another function in the format as in the file, i.e., a function that returns the data matrix norm_X with points normalized to unit l2 norm, the integer nspaces with the number of (subspace) clusters, and array label where label[i] is the subspace cluster of point i.

subspaceclusteringjulia's People

Contributors

cptq avatar

Watchers

James Cloos 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.