Skip to content

Instantly share code, notes, and snippets.

View nimamoradi's full-sized avatar
🏠
Working from home

Nima Moradi nimamoradi

🏠
Working from home
View GitHub Profile
@shurain
shurain / autoencoder.py
Created October 6, 2012 16:31 — forked from anonymous/autoencoder.py
Python: Sparse Autoencoder
import numpy as np
#from matplotlib import pyplot as plt
from scipy.optimize import fmin_l_bfgs_b as bfgs,check_grad,fmin_bfgs,fmin_tnc
from scipy.io import loadmat
import cPickle
class params:
'''