Skip to content

Commit

Permalink
fix warns
Browse files Browse the repository at this point in the history
  • Loading branch information
BalzaniEdoardo committed Dec 13, 2024
1 parent 59d8657 commit 4c5e3b7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/nemos/identifiability_constraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,8 @@ def apply_identifiability_constraints(
>>> from nemos.identifiability_constraints import apply_identifiability_constraints
>>> from nemos.basis import BSplineEval
>>> from nemos.glm import GLM
>>> import jax
>>> jax.config.update('jax_enable_x64', True)
>>> # define a feature matrix
>>> bas = BSplineEval(5) + BSplineEval(6)
>>> feature_matrix = bas.compute_features(np.random.randn(100), np.random.randn(100))
Expand Down Expand Up @@ -280,9 +282,11 @@ def apply_identifiability_constraints_by_basis_component(
Examples
--------
>>> import numpy as np
>>> import jax
>>> from nemos.identifiability_constraints import apply_identifiability_constraints_by_basis_component
>>> from nemos.basis import BSplineEval
>>> from nemos.glm import GLM
>>> jax.config.update('jax_enable_x64', True)
>>> # define a feature matrix
>>> bas = BSplineEval(5) + BSplineEval(6)
>>> feature_matrix = bas.compute_features(np.random.randn(100), np.random.randn(100))
Expand Down

0 comments on commit 4c5e3b7

Please sign in to comment.