Giter Site home page Giter Site logo

multics's Introduction

MultiCS

Welcome to the Python package for multi-task compressive sensing (MultiCS)! This packages provides various algorithms to solve multiple compressive sensing tasks in parallel. This codebase accompanies the paper An Efficient Algorithm for Clustered Multi-Task Compressive Sensing by Alexander Lin and Demba Ba.

Basic Usage

The main entry point into the codebase is through the MultiTaskCompSens object. You can instantiate it as follows:

from multics.model import MultiTaskCompSens

model = MultiTaskCompSens(mode="clustered", alg="em", num_clusters=2)

There are two main parameters for this object (see our paper for more details):

  • mode: This determines the type of model to use. Options include separate (i.e. not sharing any information between CS tasks), joint (i.e. sharing information between all CS tasks), and clustered (i.e. automatically learning and sharing information between clusters of tasks). If the clustered option is used, you also need to specify an additional argument num_clusters.
  • alg: This determines the type of algorithm to use. Options are em (i.e. the original expectation-maximization algorithm) and cofem (i.e. the acceelerated, covariance-free version of EM proposed in our paper). If using cofem, there are also additional required parameters: num_probes and cg_tol.

After instantiating the object, the model.fit function can be used to run the inference algorithm and solve the CS tasks. For a full example of how to use this function, see the time.py script file. You can also use this script to reproduce the results in our paper.

multics's People

Contributors

al5250 avatar

Stargazers

Qb avatar

Watchers

 avatar

Forkers

mfkiwl

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.