Skip to content

Commit

Permalink
Merge pull request #1 from probml/jsl-refactor
Browse files Browse the repository at this point in the history
Jsl refactor
  • Loading branch information
murphyk authored Dec 30, 2021
2 parents 31e12fd + 83c799c commit 31b088d
Show file tree
Hide file tree
Showing 11 changed files with 6 additions and 535 deletions.
2 changes: 1 addition & 1 deletion bandits/agents/diagonal_subspace.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import jax.numpy as jnp
from nlds_lib.diagonal_extended_kalman_filter import DiagonalExtendedKalmanFilter
from jsl.nlds.diagonal_extended_kalman_filter import DiagonalExtendedKalmanFilter
from .ekf_subspace import SubspaceNeuralBandit
from tensorflow_probability.substrates import jax as tfp

Expand Down
2 changes: 1 addition & 1 deletion bandits/agents/ekf_orig_diag.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from .agent_utils import train
from scripts.training_utils import MLP
from nlds_lib.diagonal_extended_kalman_filter import DiagonalExtendedKalmanFilter
from jsl.nlds.diagonal_extended_kalman_filter import DiagonalExtendedKalmanFilter

from tensorflow_probability.substrates import jax as tfp

Expand Down
2 changes: 1 addition & 1 deletion bandits/agents/ekf_orig_full.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from flax.training import train_state

from .agent_utils import train
from nlds_lib.extended_kalman_filter import ExtendedKalmanFilter
from jsl.nlds.extended_kalman_filter import ExtendedKalmanFilter
from scripts.training_utils import MLP
from tensorflow_probability.substrates import jax as tfp

Expand Down
2 changes: 1 addition & 1 deletion bandits/agents/ekf_subspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from sklearn.decomposition import PCA
from .agent_utils import train, generate_random_basis, convert_params_from_subspace_to_full
from scripts.training_utils import MLP
from nlds_lib.extended_kalman_filter import ExtendedKalmanFilter
from jsl.nlds.extended_kalman_filter import ExtendedKalmanFilter
from tensorflow_probability.substrates import jax as tfp

tfd = tfp.distributions
Expand Down
2 changes: 1 addition & 1 deletion bandits/agents/linear_kf_bandit.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from jax.ops import index_update
from jax.lax import scan
from jax.random import split
from nlds_lib.lds_lib_orig import KalmanFilterNoiseEstimation
from jsl.lds.kalman_filter import KalmanFilterNoiseEstimation
from tensorflow_probability.substrates import jax as tfp

tfd = tfp.distributions
Expand Down
79 changes: 0 additions & 79 deletions bandits/nlds_lib/base.py

This file was deleted.

74 changes: 0 additions & 74 deletions bandits/nlds_lib/diagonal_extended_kalman_filter.py

This file was deleted.

81 changes: 0 additions & 81 deletions bandits/nlds_lib/extended_kalman_filter.py

This file was deleted.

Loading

0 comments on commit 31b088d

Please sign in to comment.