Skip to content

Commit d78924e

Browse files
committed
drop tfa dependence
1 parent 864587f commit d78924e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

fnn/models.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
TensorFlow functions to support the false nearest neighbor regularizer
33
"""
44
import tensorflow as tf
5-
import tensorflow_addons as tfa
5+
# import tensorflow_addons as tfa
66
import numpy as np
77
import warnings
88
from utils import standardize_ts, hankel_matrix, resample_dataset
@@ -448,8 +448,8 @@ def fit(
448448

449449
optimizers = {
450450
"adam": tf.keras.optimizers.Adam(lr=learning_rate),
451-
"nadam": tf.keras.optimizers.Nadam(lr=learning_rate),
452-
"radam": tfa.optimizers.RectifiedAdam(lr=learning_rate)
451+
"nadam": tf.keras.optimizers.Nadam(lr=learning_rate)
452+
# "radam": tfa.optimizers.RectifiedAdam(lr=learning_rate),
453453
}
454454

455455
tf.random.set_seed(self.random_state)

0 commit comments

Comments
 (0)