Skip to content

Commit

Permalink
FIX precompute_gram->precompute as in #2224
Browse files Browse the repository at this point in the history
Signed-off-by: Saket Choudhary <saketkc@gmail.com>
  • Loading branch information
saketkc committed Feb 8, 2015
1 parent 4629366 commit 6f9ce0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmarks/bench_plot_omp_lars.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def compute_bench(samples_range, features_range):
print("benchmarking orthogonal_mp (with Gram):", end='')
sys.stdout.flush()
tstart = time()
orthogonal_mp(X, y, precompute_gram=True,
orthogonal_mp(X, y, precompute=True,
n_nonzero_coefs=n_informative)
delta = time() - tstart
print("%0.3fs" % delta)
Expand All @@ -88,7 +88,7 @@ def compute_bench(samples_range, features_range):
print("benchmarking orthogonal_mp (without Gram):", end='')
sys.stdout.flush()
tstart = time()
orthogonal_mp(X, y, precompute_gram=False,
orthogonal_mp(X, y, precompute=False,
n_nonzero_coefs=n_informative)
delta = time() - tstart
print("%0.3fs" % delta)
Expand Down

0 comments on commit 6f9ce0b

Please sign in to comment.