Skip to content

Commit

Permalink
fixed future warning
Browse files Browse the repository at this point in the history
  • Loading branch information
BalzaniEdoardo committed May 17, 2024
1 parent df1a7b0 commit 136d21a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/api_guide/plot_05_batch_glm.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def batcher():
#
# Let's do a few iterations of gradient descent calling the `batcher` function at every step.
# At each step, we store the log-likelihood of the model for each neuron evaluated on the batch
n_step = 500
n_step = 5000
logl = np.zeros(n_step)

for i in range(n_step):
Expand Down Expand Up @@ -163,7 +163,7 @@ def batcher():
# %%
# Let's compare scores for each neurons as well as the coefficients.

plt.figure(figsize=(10, 10))
plt.figure(figsize=(10, 8))
gs = plt.GridSpec(3,2)
plt.subplot(gs[0,:])
plt.bar(np.arange(0, n_neurons), full_scores, 0.4, label="Full model")
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ classifiers = [

# Define dependencies for the project
dependencies = [
"jax>=0.4", # Numerical computing library
"jax>=0.4.28", # Numerical computing library
"jaxopt>=0.6", # Optimization library built on JAX
"numpy>1.20", # Numerical computing library
"scipy>=1.10", # Scientific computing library
Expand Down

0 comments on commit 136d21a

Please sign in to comment.