Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace private jax modules with public API #45

Merged
merged 1 commit into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions evofr/models/mlr_hierarchical_gp.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
import numpy as np
import numpyro
import numpyro.distributions as dist
from jax import jit, vmap
from jax._src.interpreters.batching import Array
from jax import jit, vmap, Array
from jax.nn import softmax
from jax.scipy.special import gammaln
from numpyro.infer.reparam import TransformReparam
Expand Down
3 changes: 1 addition & 2 deletions evofr/models/mlr_hierarchical_time_varying.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
import numpy as np
import numpyro
import numpyro.distributions as dist
from jax import vmap
from jax._src.interpreters.batching import Array
from jax import vmap, Array
from jax.nn import softmax
from numpyro.infer.reparam import TransformReparam

Expand Down
2 changes: 1 addition & 1 deletion evofr/models/mlr_innovation.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import numpyro.distributions as dist
import pandas as pd
from jax import vmap
from jax._src.nn.functions import softmax
from jax.nn import softmax

from evofr.data.data_helpers import prep_dates, prep_sequence_counts
from evofr.data.data_spec import DataSpec
Expand Down
2 changes: 1 addition & 1 deletion evofr/models/renewal_model/renewal_regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import numpyro
import numpyro.distributions as dist
from jax import jit, lax
from jax._src.nn.functions import softmax
from jax.nn import softmax

from evofr.models.model_spec import ModelSpec
from evofr.models.renewal_model.basis_functions.basis_fns import BasisFunction
Expand Down
Loading