Skip to content
Browse files

removed thresholding from denoising example

  • Loading branch information...
1 parent aad2572 commit 67d38466ad25ef2a6fcda7eef248f6b0600614fa @vene committed Aug 22, 2011
Showing with 2 additions and 5 deletions.
  1. +2 −5 examples/decomposition/plot_denoise.py
View
7 examples/decomposition/plot_denoise.py
@@ -57,17 +57,14 @@
{'n_nonzero_coefs': 2, 'precompute_gram': True}),
('Least-angle regression', 'lars',
- {'max_iter': 2}),
-
- ('Threshold at 1', 'threshold',
- {'alpha': 1.0})]
+ {'max_iter': 2})]
######################
# Display the original
i = 1
vmin, vmax = 0, 1
pl.figure(figsize=(10, 4))
-pl.subplot(1, 5, i)
+pl.subplot(2, 2, i)
pl.title("Noisy image")
pl.imshow(lena, vmin=vmin, vmax=vmax, cmap=pl.cm.gray, interpolation='nearest')
pl.xticks(())

0 comments on commit 67d3846

Please sign in to comment.
Something went wrong with that request. Please try again.