Skip to content

Commit

Permalink
tox fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pranmod01 committed Oct 26, 2024
1 parent b0fcfe4 commit d4af340
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nemos/glm.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ def score(
--------
>>> # example input
>>> import numpy as np
>>> X, y = np.random.normal(size=(10, 2)), np.random.poisson(size=10)
>>> X, y = np.random.normal(size=(10, 2)), np.random.poisson(size=10)
>>> import nemos as nmo
>>> model = nmo.glm.GLM()
Expand All @@ -454,7 +454,7 @@ def score(
>>> # get model score
>>> log_likelihood_score = model.score(X, y)
>>> # get a pseudo-R2 score
>>> # get a pseudo-R2 score
>>> pseudo_r2_score = model.score(X, y, score_type='pseudo-r2-McFadden')
Notes
Expand Down

0 comments on commit d4af340

Please sign in to comment.