Skip to content

Instantly share code, notes, and snippets.

View josh-gree's full-sized avatar

Joshua Greenhalgh josh-gree

View GitHub Profile
@josh-gree
josh-gree / omp.py
Created March 14, 2016 22:07 — forked from vene/omp.py
naive, cholesky and batch Orthogonal Matching Pursuit
# -*- coding: utf-8 -*-
"""
http://www.cs.technion.ac.il/~ronrubin/Publications/KSVD-OMP-v2.pdf
parametrization by error is still in progress
"""
from time import time
import numpy as np
from scipy import linalg
import matplotlib.pyplot as pl