Giter VIP home page Giter VIP logo

pyrpca's Introduction

PyRPCA

Robust PCA in Python. Methods are from the http://perception.csl.illinois.edu/matrix-rank/sample_code.html and papers therein.

Requirement

  • scipy
  • numpy
  • pypropack(optional)
  • scikit-learn
  • nosetest

Scripts

  • test_robustpca.py test whether the algorithms included can recovery the synthetic data successfully. Use nosetest test_robustpca.py
  • plot_benchmark.py plot the benchmarks with synthetic data generated with different parameters. Use python2 plot_benchmark.py
  • background_subtraction.py generate the result using the escalator dataset. Use python2 background_subtraction.py. This will generate the .mat files with respect to each algorithms and can be directly readable from matlab. Furthermore, background_subtraction_visualize.py could be used to generate a video. The temporary image files are located in /tmp/robust_pca_tmp/ which should be created first.
  • topic_extraction.py extracts the keywords from the 20newsgroup dataset. It will generate two files, one is origin.txt and another is keyword.txt. The keyword and the original text on the same line is one-one mapped.

Aknowledgement

Special thanks for the following two resources and their authors.

pyrpca's People

Contributors

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