This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .. Memory benchmarks for SciPy's Singular Value Decomposition .. | |
# .. Author: Fabian Pedregosa <[email protected]> | |
import numpy as np | |
from scipy.sparse import linalg as splinalg | |
from scipy import sparse, linalg | |
import pylab as pl | |
from memory_profiler import memory_usage | |
dims = np.arange(500, 1500, 20) |