Skip to content

Commit

Permalink
update py requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
burkh4rt committed Feb 20, 2022
1 parent ea89e73 commit f6bdb37
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 59 deletions.
3 changes: 1 addition & 2 deletions python/exampleUsage.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@

# learn state model parameters A & Gamma from Eq. (2.1b)
A0 = np.linalg.lstsq(z_train[1:,], z_train[:-1,])[0]
resids = z_train[:-1,].T - np.matmul(A0, z_train[1:,].T)
Gamma0 = np.matmul(resids, resids.T) / n_train
Gamma0 = np.mat(np.cov(z_train[1:,] - np.matmul(z_train[:-1,],A0), rowvar=False))

# split training set in order to train f() and Q() from Eq. (2.2) separately
x_train_mean, x_train_covariance, z_train_mean, z_train_covariance = skl_tt_split(
Expand Down
4 changes: 2 additions & 2 deletions python/readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Runs on Python 3.8.5 with requirements as outlined in `requirements.txt`.
Runs on Python 3.9.9 with requirements as outlined in `requirements.txt`.

Three separate runs produced normalized rmse of 0.6883, 0.6651, and 0.6720.
Three separate runs produced normalized rmse of 0.6659, 0.6922, and 0.7110.
58 changes: 3 additions & 55 deletions python/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,55 +1,3 @@
absl-py==0.10.0
appdirs==1.4.4
astunparse==1.6.3
black==20.8b1
cachetools==4.1.1
certifi==2020.6.20
chardet==3.0.4
click==7.1.2
colorama==0.4.3
future==0.18.2
gast==0.3.3
google-auth==1.22.1
google-auth-oauthlib==0.4.1
google-pasta==0.2.0
grpcio==1.32.0
h5py==2.10.0
idna==2.10
joblib==0.17.0
Keras-Preprocessing==1.1.2
keras-tuner==1.0.1
lightgbm==3.0.0
Markdown==3.3
mypy-extensions==0.4.3
numpy==1.18.5
oauthlib==3.1.0
opt-einsum==3.3.0
pandas==1.1.3
pathspec==0.8.0
protobuf==3.13.0
pyasn1==0.4.8
pyasn1-modules==0.2.8
python-dateutil==2.8.1
pytz==2020.1
regex==2020.9.27
requests==2.24.0
requests-oauthlib==1.3.0
rsa==4.6
scikit-learn==0.23.2
scipy==1.5.2
six==1.15.0
tabulate==0.8.7
tensorboard==2.3.0
tensorboard-plugin-wit==1.7.0
tensorflow==2.3.1
tensorflow-estimator==2.3.0
termcolor==1.1.0
terminaltables==3.1.0
threadpoolctl==2.1.0
toml==0.10.1
tqdm==4.50.1
typed-ast==1.4.1
typing-extensions==3.7.4.3
urllib3==1.25.10
Werkzeug==1.0.1
wrapt==1.12.1
numpy==1.21.4
scikit-learn==1.0.1
tensorflow==2.7.0

0 comments on commit f6bdb37

Please sign in to comment.